Skip to content

Commit

Permalink
fix instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
lethaale committed Nov 5, 2024
1 parent 0009806 commit 0218365
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 9 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@

testnet--deploy-system:
@forge script script/System.s.sol:ContractScript \
forge script script/System.s.sol:ContractScript \
--private-key ${WALLET_DEV_PRIVATE_KEY} \
--rpc-url "${RPC_BASE_URL_BERA_TESTNET}${RPC_API_KEY}" \
--rpc-url "https://bartio.rpc.berachain.com" \
--broadcast -vvvvv

testnet--mint-name:
forge script script/MintScript.s.sol:MintScript \
--private-key ${WALLET_DEV_PRIVATE_KEY} \
--rpc-url "https://bartio.rpc.berachain.com" \
--broadcast -vvvvv

anvil--deploy-system:
Expand All @@ -15,4 +21,4 @@ anvil--mint-name:
forge script script/MintScript.s.sol:MintScript \
--private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 \
--rpc-url "http://127.0.0.1:8545" \
--broadcast -vvvvv --force
--broadcast -vvvvv
2 changes: 2 additions & 0 deletions script/MintScript.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ contract MintScript is Script {
/// 1. change NAME_TO_MINT to the name you want to mint
/// 2. run script with the following command:
/// forge script script/MintScript.s.sol:MintScript --rpc-url https://bartio.rpc.berachain.com/ --broadcast --private-key <your-private-key>
/// or
/// WALLET_DEV_PRIVATE_KEY=<your-private-key> make testnet--mint-name

/// if you want to mint a name with less than 5 characters, update the value of .register function call

Expand Down

0 comments on commit 0218365

Please sign in to comment.