FAQ
Find answers here to general dev questions (CONSTANTLY UPDATING)
We have gathered commonly asked questions regarding Blocto SDK integration in this section. If you do not find answers here, you may post questions in our Blocto Discord #dev-discussion Channel or reach out for assistance in your project's dedicated assistance channel.
General
Q: How long does the Blocto SDK integration take in general?
Answer:
The time needed for integrating Blocto-SDK may vary, usually: a couple hours for experienced engineers and 2-3 days for inexperienced engineers.
Q: Does Blocto have an API that allows 3rd parties to integrate Blocto Wallet or transactions?
Answer:
No.\
Q: Can I integrate Blocto with the Angular framework?
Answer:
Yes.\
Q: Can I set my Blocto testnet account as non-custodial?
Answer:
Yes, you can download Android/iOS apps for dev environment. Android: https://docs.blocto.app/blocto-environment#android-app iOS: https://docs.blocto.app/blocto-environment#ios-app\
Q: I am testing on testnet, where and how do I get Blocto Points for payments?
Answer:
You will receive 1,000 Blocto Points upon registration. If additional points are required, you may follow the steps below:\
1/ Logs in on the Developer dashboard.
2/ Click the "Blocto points faucet" tab.
3/ Input a staging email (user AAA) and click the submit button.
4/ View the response and AAA gets Blocto points. __
Q: Is Blocto Wallet an Injected Wallet?
Answer:
Yes, for Blocto Android/iOS App, there is an in-app browser.\
Q: Length error regarding signing and verifying the message.\
Context: I followed the instructions at: https://docs.blocto.app/blocto-sdk/javascript-sdk/evm-sdk/sign-message
However, when verifying the message, there is an error about the length of the signature. Specifically:
The signature after signing with Blocto's provider is 262 characters long (including 0x).
The signature in the example (and accepted in the library) is 132 characters long (including 0x).
Answer:
1/ the library combines two verifications:
Step 1. EOA signature
Step 2. EIP1271 signature __
2/ The Blocto signature must fail in step 1. But it will work in step 2. The number of Blocto signature is 2, which is equal to 65*2 bytes = 260 chars (without 0x).
__
3/ the lib (https://github.com/dapperlabs/dappauth.js/blob/master/index.js#L36) which did Step 2, can verify the signature from the private key wallet and the smart contract wallet at the same time. So you can ignore it if you only use Blocto.
Reference:
https://docs.blocto.app/blocto-sdk/javascript-sdk/evm-sdk/login-register\
Q: Failed to recover the account that signs the data.
Answer:
Smart contract wallet doesn't have private key. Instead, please follow ERC1654 to verify the signature (github).\
Unity SDK
Q: (Android) Why is your Blocto app not returning back to my DemoApp?
Answer:
Kindly help to follow the below steps and you should be able to be redirected from Blocto to your app:
Please use the latest code from GitHub repo and download the latest version of Blocto dev app from Google Play. (screenshot as below)\
Then make sure the description of App - Android on Blocto dashboard matches with your unity project’s Identification on unity editor (check screenshot below).\
Chain-Related Specifics
FLOW
Q: Is there an official documentation for me to follow when using the Flow FCL to connect with Blocto? Answer: Please see here: https://docs.blocto.app/\
Last updated