KardiaChain Docs
Search…
KardiaChain Docs
Introduction
Technology
For Users
KardiaChain Proposer Validator Selection Process
Staking
Transaction Fee
Wallets
For Developers
Tutorials
SDK
KardiaChain Golang SDK
KardiaChain JS SDK
Web3
RPC
KardiaID Service
Archived Docs
Powered By
GitBook
Web3
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:
Web3JS:
https://web3js.readthedocs.io/
​
EthersJS:
https://docs.ethers.io/
​
Web3 py:
https://web3py.readthedocs.io/
​
Web3 dart:
https://pub.dev/packages/web3dart
​
To use web3 library with KardiaChain, simple init with our
public RPC
and use the instance. For example in web3js:
1
const
Web3
=
require
(
"web3"
);
2
const
web3
=
new
Web3
(
"https://rpc.kardiachain.io"
);
Copied!
For more information about the supported
eth_
method, please refer to
this document
.
Previous
KardiaChain JS SDK
Next - For Developers
RPC
Last modified
3mo ago
Copy link