Skip to content

Commit

Permalink
sonic: deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
sogipec committed Jan 23, 2025
1 parent 5195b90 commit 3adb307
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 2 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ etherlink = "${ETHERLINK_NODE_URI}"
arthera = "${ARTHERA_NODE_URI}"
swell = "${SWELL_NODE_URI}"
fork = "${ETH_NODE_URI_FORK}"
sonic = "${SONIC_NODE_URI}"

[etherscan]
localhost = { url = "http://localhost:4000", key = "none" }
Expand Down Expand Up @@ -108,3 +109,4 @@ lisk = { chainId = 1135, key = "${LISK_ETHERSCAN_API_KEY}", url = "https://block
etherlink = { chainId = 42793, key = "${ETHERLINK_ETHERSCAN_API_KEY}", url= "https://explorer.etherlink.com/api" }
arthera = { chainId = 10242, key = "${ARTHERA_ETHERSCAN_API_KEY}", url = "https://explorer.arthera.net/api/" }
swell = { chainId = 1923, key = "${SWELL_ETHERSCAN_API_KEY}", url = "https://explorer.swellnetwork.io:443/api/" }
sonic = { chainId = 146, key = "${SONIC_ETHERSCAN_API_KEY}", url = "https://api.sonicscan.org/api/" }
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"url": "https://github.com/AngleProtocol/merkl-contracts/issues"
},
"devDependencies": {
"@angleprotocol/sdk": "2.35.0",
"@angleprotocol/sdk": "2.38.4",
"@openzeppelin/contracts": "^4.9.0",
"@openzeppelin/contracts-upgradeable": "4.9.0",
"prettier": "^2.0.0",
Expand Down
1 change: 1 addition & 0 deletions scripts/deploySonicFragment.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { DistributionCreator } from "../contracts/DistributionCreator.sol";
import { IAccessControlManager } from "../contracts/interfaces/IAccessControlManager.sol";
import { MockToken } from "../contracts/mock/MockToken.sol";

// forge script scripts/deploySonicFragment.s.sol:DeploySonicFragment --rpc-url sonic --sender 0xA9DdD91249DFdd450E81E1c56Ab60E1A62651701 --verify -vvvv --broadcast -i 1
contract DeploySonicFragment is BaseScript {
function run() public broadcast {
console.log("DEPLOYER_ADDRESS:", broadcaster);
Expand Down

0 comments on commit 3adb307

Please sign in to comment.