This package facilitates seamless interaction with the Chainflip network, supporting both Chainflip Substrate and Ethereum contracts, including StateGateway, Vault, and ERC20 contracts. It offers an API for creating, signing, and sending transactions for swaps across Bitcoin, Ethereum, Solana, and Substrate, enabling cross-chain swaps without dependencies.
-
Chainflip substrate
- Create, sign, and send transactions to Substrate.
- Support for creating broker accounts, opening swaps, depositing channels, creating liquidity accounts, withdrawing funds and etc.
- Support for brokers, backend services, and Substrate RPC.
-
Chainflip ethereum
- Create, sign, and send transactions to the Ethereum network.
- Interact with ERC20, Chainflip Vault, and StateGateway contracts.
-
Related Chain API
- Bitcoin: Create, sign, and send transactions using P2PKH, P2SH, P2WPKH, and P2TR addresses, and interact with Bitcoin via the Electrum API.
- Ethereum: Create, sign, and send transactions, and interact with ERC20 tokens, Chainflip Vault, and StateGateway contracts.
- Solana: Create, sign, and send transactions using the Solana API, and manage token transfers and interactions.
- Substrate: Create, sign, and send transactions to the Substrate network, supporting various asset transfers and interactions with smart contracts
- Create Broker account example
- Create liquidity account example
- Request Swap Deposit Address example
- Open Liquidity Deposit Address channel example
- Set liquidity Refund address example
- Vault contract intraction example
- Create, sign and send bitcoin transactions example
- Create, sign and send solana transactions example
- Create, sign and send substrate transactions example
- Create, sign and send ethereum transactions example
Contributions are welcome! Please follow these guidelines:
- Fork the repository and create a new branch.
- Make your changes and ensure tests pass.
- Submit a pull request with a detailed description of your changes.
Please file feature requests and bugs in the issue tracker.