https://github.com/joehowarth/gr-workshop
Wormhole Generic Relayer Demo
https://github.com/joehowarth/gr-workshop
Last synced: 7 months ago
JSON representation
Wormhole Generic Relayer Demo
- Host: GitHub
- URL: https://github.com/joehowarth/gr-workshop
- Owner: JoeHowarth
- Created: 2023-04-15T14:31:51.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-17T14:41:18.000Z (about 3 years ago)
- Last Synced: 2024-12-29T06:41:50.578Z (over 1 year ago)
- Language: Solidity
- Homepage:
- Size: 238 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gr-workshop
Wormhole Generic Relayer Demo
## Quick Start
```bash
# If you haven't installed foundry:
# curl -L https://foundry.paradigm.xyz | bash
# confirm you have an wallet funded with Fuji Avax and Celo Alfajores
echo $EVM_PRIVATE_KEY
# if that key is not present, set it by doing:
# EVM_PRIVATE_KEY=0x123..123 # your key here
# Install nodejs dependencies
yarn
# deploy the contracts to the chains configured in ts-scripts/config.json
# also cross-registers contracts with each other
yarn deploy
# increment the counter on wormhole chainId 6 (Avax)
# and request a message to all other registered chains
yarn increment -c 6
# observe the counter propogates to all connected chains 🎉🎉
yarn read
```