Skip to content

Shivamycodee/c2t2

Repository files navigation

Tech Used.

  • Language -> Solidity
  • Framework -> Foundry
  • Cross-Chain Protocol -> Wormhole

How to proceed...

Clone the repo.

$ git clone https://github.com/Shivamycodee/c2t2

Add private key.

  • Create a .env file and add private key in it.
 PRIVATE_KEY= CREATOR_PRIVATE_KEY

Build

$ forge build

Deploy CrossChainSender & CrossChainReceiver Contracts to their respective Blockchain.

$  npx ts-node scripts/deploy.ts
  • It will ask you to choose the sender and receiver blockchain. you can add more chain options in deploy-config/config.json using wormhole-contract-addresses .

  • I have deployed this contracts on BSC Testnet & Avalanche Fuji. You can view them in deploy-config/contracts.json.

Transfer Tokens

$ npx ts-node scripts/transfer.ts

Contributions

  • Contributions are welcome! Please feel free to submit a Pull Request.

About

cross-chain application using wormhole

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published