Skip to content

Commit 5ef3f7d

Browse files
committed
add DeployAmoyReceiver script for deploying AmoyReceiver contract
1 parent 3abf77c commit 5ef3f7d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

script/DeployAmoyReceiver.s.sol

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// SPDX-License-Identifier: MIT
2+
pragma solidity 0.8.26;
3+
4+
import {Script} from "forge-std/Script.sol";
5+
import {AmoyReceiver} from "../src/AmoyReceiver.sol";
6+
7+
contract DeployAmoyReceiver is Script {
8+
address constant AMOY_ROUTER = 0x9C32fCB86BF0f4a1A8921a9Fe46de3198bb884B2;
9+
10+
function run() public {
11+
AmoyReceiver amoyReceiver;
12+
13+
vm.startBroadcast();
14+
amoyReceiver = new AmoyReceiver(AMOY_ROUTER);
15+
vm.stopBroadcast();
16+
}
17+
}

0 commit comments

Comments
 (0)