Introduction
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.
Getting Started
Unfamiliar with Conflux? → confluxnetwork
Unfamiliar with Solidity? → Solidity documentation
Ready to code? → QuickStart
Interested in a quick tour? → Overview
Like to give back? → Contribute
Want to get testnet CFX? → Conflux testnet faucet
Conflux sponsorship mechanism? → Sponsorship
Table of Contents
Guides
Providers How to connect to Conflux network in different ways.
CIP37 Address How to convert between different address formats.
Account How to create and manage accounts.
Sending Transaction How to send transactions and wait tx confirmed.
Interact with Contract How to interact with smart contracts.
Sign methods How to sign messages and transactions.
Error Handling How to handle errors.
Batch RPC How to batch RPC requests.
Examples
Check more community examples in js-sdk-example
API
Conflux The
Conflux
class provide methods to interact with RPC methods and send transaction.Wallet The
Wallet
class provide methods to manage accounts and sign transactions.PrivateKeyAccount The
PrivateKeyAccount
class can be used to sign transactions or messages. It can be created from a private key or be random generated.Transaction The
Transaction
class provide methods to construct and encode transactions.Drip Drip - CFX converter
format Type formaters
sign Crypto utilities
address utilities Address utilities
Other Docs
Last updated