How can I ensure the signature result is consistent each time?
How can I ensure the signature result is consistent each time?
Answer: Due to the unique characteristics of Multi-Party Computation (MPC), the signature result for the same message can vary each time, unlike traditional private key wallets such as MetaMask.To address scenarios requiring a consistent signature result, we provide the
uniq
parameter. This parameter ensures that the signature remains consistent every time you sign the same message.App.tsx
How can I silently log in and sign messages/transactions?
How can I silently log in and sign messages/transactions?
Answer: Currently, silent login and signing are not directly supported. However, this functionality can be achieved using session keys with Biconomy V2. We are exploring other options to support silent signing in the future.
How do I determine if an account is new?
How do I determine if an account is new?
Answer: When you retrieve
UserInfo
, either through the connect
method or via the userInfo
object from useAuthCore
, a field provide the relevant information:- Account Creation: The
created_at
field indicates the timestamp when the account was created.
Find more about Handling User Information in the Particle Auth SDK page.
How can I check the status of the main password and payment password settings?
How can I check the status of the main password and payment password settings?
Answer: The
userInfo
object contains a security_account
property, which includes two fields:has_set_master_password
: Indicates if the master password is set.has_set_payment_password
: Indicates if the payment password is set.
Find more about Handling User Information in the Particle Auth SDK page.
Why does Google login prompt me that I do not comply with the policy?
Why does Google login prompt me that I do not comply with the policy?
Answer: This issue typically occurs when using Google login within a WebView environment.
How to add support for a new EVM chain?
How to add support for a new EVM chain?
Answer: Our team needs to implement support for integrating a new EVM chain on our platform. Once we have added support for the chain, developers can use it within their applications.
Please contact us to discuss potential integration.
What are the options for chain_name returned by the backend API?
What are the options for chain_name returned by the backend API?
Answer: The
chain_name
values returned by the backend API include evm_chain
and solana
. Additionally, for Tron, the chain_name
is also represented as evm_chain
.These values indicate the blockchain network associated with the account.How do I fix webpack 5 polyfills error when creating a new React application?
How do I fix webpack 5 polyfills error when creating a new React application?
Answer: When using
create-react-app
version 5 or above, you might encounter issues due to the lack of NodeJS polyfills, which are no longer included by default. To fix this, you can use react-app-rewired
and install the necessary polyfill modules.-
Step 1: After creating a new application with
CRA
, installreact-app-rewired
and the required polyfill packages. If you’re using Yarn:If you’re using NPM: -
Step 2: Create a
config-overrides.js
file in the root of your project and add the necessary configuration to include the missing polyfills. This file will override the default Webpack configuration provided bycreate-react-app
.config-overrides.js -
Step 3: Modify the
scripts
section in yourpackage.json
to usereact-app-rewired
instead of the defaultreact-scripts
:
How do I fix the '__wbindgen_add_to_stack_pointer' error in a React app using Vite?
How do I fix the '__wbindgen_add_to_stack_pointer' error in a React app using Vite?
Answer: If you’re encountering the error This configuration helps ensure that the WebAssembly module is correctly copied and accessible during development, preventing the
"Cannot read properties of undefined (reading '__wbindgen_add_to_stack_pointer')"
in your React app using Vite, it likely relates to issues with loading a WebAssembly (Wasm) module.To resolve this, you can use the Particle Network WASM plugin with a customized Vite configuration. Here’s how to set it up:- Install the Vite Plugin: Ensure you have the necessary WASM files and the plugin configured.
Terminal
- Update your
vite.config.ts
: Add the following configuration to correctly handle the WebAssembly module in development mode:
vite.config.ts
__wbindgen_add_to_stack_pointer
error from occurring.Still need help?Open a ticket with Particle’s Developer Relations team through the dedicated Telegram support bot.