Front-end
Front-end of DApp usually connect to blockchain using web browser's extension. In this case, KardiaChain Wallet Chrome extension
Using Chrome extension
Install the extension at https://chrome.google.com/webstore/detail/kardiachain-wallet/pdadjkfkgcafgbceimcpbkalnfnepbnk
After enabled, the extension will inject a web3 provider at
window.kardiachain
. This provider will be used by DApp to interact with blockchainConnect to the provider:
For detail on using window.web3
, please follow web3 document
Using MetaMask
Note: this is available only after Galaxias hardfork
If you're not familiar with adding custom network to MetaMask, please read this article.
Network parameters:
Network name: KardiaChain Mainnet
RPC URL: https://rpc.kardiachain.io/
Chain ID: 24
Block explorer URL: https://explorer.kardiachain.io/
Symbol: KAI
For detail on connecting to MetaMask, please follow this document.
Last updated