Introduction
Last updated
Was this helpful?
Last updated
Was this helpful?
js-conflux-sdk
is a Javascript library for interacting with Conflux.
It’s commonly found in decentralized apps (dapps) to help with sending transactions, interacting with smart contracts, reading block data, and a variety of other use cases.
Unfamiliar with Conflux? →
Unfamiliar with Solidity? →
Ready to code? →
Interested in a quick tour? →
Like to give back? →
Want to get testnet CFX? →
Conflux sponsorship mechanism? →
How to connect to Conflux network in different ways.
How to convert between different address formats.
How to create and manage accounts.
How to send transactions and wait tx confirmed.
How to interact with smart contracts.
How to sign messages and transactions.
How to handle errors.
How to batch RPC requests.
Check more community examples in
The Conflux
class provide methods to interact with RPC methods and send transaction.
The Wallet
class provide methods to manage accounts and sign transactions.
The PrivateKeyAccount
class can be used to sign transactions or messages. It can be created from a private key or be random generated.
The Transaction
class provide methods to construct and encode transactions.
Drip - CFX converter
Type formaters
Crypto utilities
Address utilities