Instructions
Install dependencies:
npm install
To execute the script, run:
npm run deploy
No need for a build phase. Wait till completion.
What is this script doing
- Config is set in the
config/*directory. - Deploy the Warp Route contract on SN.
- Enroll Remote Routes from other chains.
Hoe to use
- Search for
TODOkeyword inside this code base (should be only insdieconfig/*andmain.ts). - Set all values accordingly.
- Run the script.
IMPORTANT
- Test first on Sepolia test network.
- Don't commit your real secrets / keys back to the repo.
- You'll need to enroll this just created router to the other chains.