Skip to content

Commit 96ec3ad

Browse files
authored
Merge pull request #1164 from plamarque/main
fix variable name $PRIVATE_KEY
2 parents 84ec35a + f120d5c commit 96ec3ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pages/builders/app-developers/tutorials/standard-bridge-standard-token.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Use the `cast` command to trigger the deployment function on the factory contrac
8888
This example command creates a token with the name "My Standard Demo Token" and the symbol "L2TKN".
8989
The resulting L2 ERC-20 token address is printed to the console.
9090

91-
```bash file=<rootDir>/public/tutorials/standard-bridge-standard-token.sh#L6 hash=9380086a28ce906ab47d6c1b1e2c8688
91+
```bash file=<rootDir>/public/tutorials/standard-bridge-standard-token.sh#L6 hash=1ecfdc6106e0c5179b182d66b5171c2c
9292
```
9393

9494
</Steps>

public/tutorials/standard-bridge-standard-token.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ export TUTORIAL_RPC_URL=https://sepolia.optimism.io
33
# Replace this with your L1 ERC-20 token if not using the testing token!
44
export TUTORIAL_L1_ERC20_ADDRESS=0x5589BB8228C07c4e15558875fAf2B859f678d129
55

6-
cast send 0x4200000000000000000000000000000000000012 "createOptimismMintableERC20(address,string,string)" $TUTORIAL_L1_ERC20_ADDRESS "My Standard Demo Token" "L2TKN" --private-key $PRIVATE_KEY --rpc-url $TUTORIAL_RPC_URL --json | jq -r '.logs[0].topics[2]' | cast parse-bytes32-address
6+
cast send 0x4200000000000000000000000000000000000012 "createOptimismMintableERC20(address,string,string)" $TUTORIAL_L1_ERC20_ADDRESS "My Standard Demo Token" "L2TKN" --private-key $TUTORIAL_PRIVATE_KEY --rpc-url $TUTORIAL_RPC_URL --json | jq -r '.logs[0].topics[2]' | cast parse-bytes32-address

0 commit comments

Comments
 (0)