Blocto is the easiest dapp browser ever created. With Blocto you can get access blockchain technology easily. We use meta-transaction to pay gas fee for users, so users can start trying your dapp even they don't have any cryptocurrency.
- App Store: https://apps.apple.com/app/blocto/id1481181682
- Google Pay: https://play.google.com/store/apps/details?id=com.portto.blocto
Blocto injects a global API into websites at window.bloctoProvider
and window.{network}
at the same time. Currently, Blocto suppports networks:
ethereum
tangerine
If user is on Ethereum network, the provider will be injected at window.bloctoProvider
and window.ethereum
.
The api to call signing message is not different with other private key based wallets. The only difference is that the return value contains multiple signatures because Blocto is a smart contract based wallet. Therefore, please follow EIP-1654 to verify the signature. There are some open-source implementations of EIP-1654 signature verification: go js.
You don't need to change anything. If it works with MetaMask, it will also work on Blocto.
Please take a look at web3 doc. For general web3 provider, BatchRequest send all transactions simultaneously. For Blocto provider, it will combine multiple transactions (in order) into ONE transaction. If one of transactions fails, all transactions will fail. This method can also save a lot of gas.
If you would like to know more technical details, please see the smart contract code: Etherscan
url
: dapp website urlblockchain
: optional parameter. Currently, Blocto suppports networks:
https://blocto.app/link?url=https://knightstory.io&blockchain=ethereum
We will automatically detect that user is on Android/iOS/Web and show different CTA button on the webpage.
Read more on PushNotification.
Read more on RewardSystem.
If you have any questions, please feel free to contact us: [email protected]