Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ribbinpo/chain-link-poc-contract
Proof of concept in every chain link methods
https://github.com/ribbinpo/chain-link-poc-contract
Last synced: about 14 hours ago
JSON representation
Proof of concept in every chain link methods
- Host: GitHub
- URL: https://github.com/ribbinpo/chain-link-poc-contract
- Owner: ribbinpo
- Created: 2023-11-02T02:41:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-12T09:23:12.000Z (10 months ago)
- Last Synced: 2024-04-09T14:37:54.532Z (7 months ago)
- Language: Solidity
- Homepage:
- Size: 111 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CHAINLINK GUIDELINE
## Message Passing (Send Arbitrary Data)
1. Deploy contract (Sender and Reciever)
recheck router and link address in address-lists folder ref: https://docs.chain.link/ccip/supported-networks)
run `npx hardhat run ./scripts/deploy/deployMessagePassing.ts --network [chain]`
2. call `allowlistSourceChain` function with chain selector for whitelist chain caller
3. call `allowlistSender` function with contract for whitelist address from source chain## ProgrammableTokenTransfer (Transfer Token with Data)
1. Deploy contract (Sender and Reciever)
recheck router and link address in address-lists folder ref: https://docs.chain.link/ccip/supported-networks)
run `npx hardhat run ./scripts/deploy/deployProgrammableToken.ts --network [chain]`
2. call `allowlistedDestinationChains` function chain select for whitelist destination chain
3. call `allowlistSourceChain` and `allowlistSender` function for whitelist source chain contract*** NOTE: if set `setSimRevert` to true for open failure case when processing for the simulations ***