Skip to content

Commit

Permalink
Merge pull request #371 from SocketDotTech/feat/auto-deploy
Browse files Browse the repository at this point in the history
Feat/auto deploy
  • Loading branch information
ameeshaagrawal authored Jun 6, 2024
2 parents 76e3946 + 7f5d610 commit ee95bb9
Show file tree
Hide file tree
Showing 76 changed files with 1,796 additions and 968 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ KINTO_DEVNET_API_KEY=xxx

# rpc
ARBITRUM_RPC='https://arb1.arbitrum.io/rpc'
ARB_GOERLI_RPC='https://goerli-rollup.arbitrum.io/rpc'
ARBITRUM_GOERLI_RPC='https://goerli-rollup.arbitrum.io/rpc'
ARBITRUM_SEPOLIA_RPC=''

OPTIMISM_RPC='https://mainnet.optimism.io'
Expand Down
22 changes: 17 additions & 5 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
npx hardhat run scripts/deploy/1-deploy.ts &&
npx ts-node scripts/deploy/2-check-roles.ts --no-compile &&
npx hardhat run scripts/deploy/3-configure.ts --no-compile &&
npx hardhat run scripts/deploy/4-connect.ts --no-compile &&
npx hardhat run scripts/deploy/5-verify.ts --no-compile
#!/bin/sh

# keep package.json version updated
# setup chain details
npx ts-node scripts/deploy/writeChainConfig.ts

# deploy contracts
# update overrides in config.ts if needed
npx hardhat run scripts/deploy/deploy.ts

# publish package
yarn build

npm publish

# upload s3 config
npx ts-node scripts/rpcConfig/uploadS3Config.ts
Loading

0 comments on commit ee95bb9

Please sign in to comment.