Skip to content

This package enables seamless interaction with the Chainflip network and supports Ethereum, Bitcoin, Solana and substrate, facilitating cross-chain swaps without dependencies.

License

Notifications You must be signed in to change notification settings

mrtnetwork/chainflip_dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chainflip Dart

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.

Futures

  • 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

ChainFlip Examples

  • 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

Related chain Examples

  • 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

Resources

Contributing

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.

Feature requests and bugs

Please file feature requests and bugs in the issue tracker.

About

This package enables seamless interaction with the Chainflip network and supports Ethereum, Bitcoin, Solana and substrate, facilitating cross-chain swaps without dependencies.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published