Beside KardiaChain RPC method prefixed with kai_, we also support every eth_ prefixed method so every Web3 library that works with Ethereum will also work with KardiaChain. Some popular library:
kai_
eth_
Web3JS: https://web3js.readthedocs.io/arrow-up-right
EthersJS: https://docs.ethers.io/arrow-up-right
Web3 py: https://web3py.readthedocs.io/arrow-up-right
Web3 dart: https://pub.dev/packages/web3dartarrow-up-right
To use web3 library with KardiaChain, simple init with our public RPC and use the instance. For example in web3js:
const Web3 = require("web3"); const web3 = new Web3("https://rpc.kardiachain.io");
For more information about the supported eth_ method, please refer to this documentarrow-up-right.
Last updated 1 year ago