Skip to content

Commit

Permalink
build: deploy script for iotex
Browse files Browse the repository at this point in the history
  • Loading branch information
jtakalai committed Oct 31, 2024
1 parent 14faed6 commit 8d5a64c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/network-contracts/scripts/2024-10-30-deploy-to-iotex.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euxo pipefail

if declare -p KEY >/dev/null 2>&1; then
echo "Using deployer private key from environment variable KEY"
else
read -p "Enter deployer private key: " KEY
export KEY="$KEY"
fi

export CHAIN=iotex
export SCRIPT_FILE=scripts/deployStreamrContracts.ts
npm run hardhatScript

read -p "Copy changed addresses to config, then press enter"

export SCRIPT_FILE=scripts/deployTokenomicsContracts.ts
npm run hardhatScript

0 comments on commit 8d5a64c

Please sign in to comment.