Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
ab77ae70
Unverified
Commit
ab77ae70
authored
Nov 20, 2024
by
zhiqiangxu
Committed by
GitHub
Nov 20, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add challenger account to wallets.sh (#12998)
parent
ca101a9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
wallets.sh
...ages/contracts-bedrock/scripts/getting-started/wallets.sh
+7
-0
No files found.
packages/contracts-bedrock/scripts/getting-started/wallets.sh
View file @
ab77ae70
...
@@ -10,18 +10,21 @@ wallet1=$(cast wallet new)
...
@@ -10,18 +10,21 @@ wallet1=$(cast wallet new)
wallet2
=
$(
cast wallet new
)
wallet2
=
$(
cast wallet new
)
wallet3
=
$(
cast wallet new
)
wallet3
=
$(
cast wallet new
)
wallet4
=
$(
cast wallet new
)
wallet4
=
$(
cast wallet new
)
wallet5
=
$(
cast wallet new
)
# Grab wallet addresses
# Grab wallet addresses
address1
=
$(
echo
"
$wallet1
"
|
awk
'/Address/ { print $2 }'
)
address1
=
$(
echo
"
$wallet1
"
|
awk
'/Address/ { print $2 }'
)
address2
=
$(
echo
"
$wallet2
"
|
awk
'/Address/ { print $2 }'
)
address2
=
$(
echo
"
$wallet2
"
|
awk
'/Address/ { print $2 }'
)
address3
=
$(
echo
"
$wallet3
"
|
awk
'/Address/ { print $2 }'
)
address3
=
$(
echo
"
$wallet3
"
|
awk
'/Address/ { print $2 }'
)
address4
=
$(
echo
"
$wallet4
"
|
awk
'/Address/ { print $2 }'
)
address4
=
$(
echo
"
$wallet4
"
|
awk
'/Address/ { print $2 }'
)
address5
=
$(
echo
"
$wallet5
"
|
awk
'/Address/ { print $2 }'
)
# Grab wallet private keys
# Grab wallet private keys
key1
=
$(
echo
"
$wallet1
"
|
awk
'/Private key/ { print $3 }'
)
key1
=
$(
echo
"
$wallet1
"
|
awk
'/Private key/ { print $3 }'
)
key2
=
$(
echo
"
$wallet2
"
|
awk
'/Private key/ { print $3 }'
)
key2
=
$(
echo
"
$wallet2
"
|
awk
'/Private key/ { print $3 }'
)
key3
=
$(
echo
"
$wallet3
"
|
awk
'/Private key/ { print $3 }'
)
key3
=
$(
echo
"
$wallet3
"
|
awk
'/Private key/ { print $3 }'
)
key4
=
$(
echo
"
$wallet4
"
|
awk
'/Private key/ { print $3 }'
)
key4
=
$(
echo
"
$wallet4
"
|
awk
'/Private key/ { print $3 }'
)
key5
=
$(
echo
"
$wallet5
"
|
awk
'/Private key/ { print $3 }'
)
# Print out the environment variables to copy
# Print out the environment variables to copy
echo
"# Copy the following into your .envrc file:"
echo
"# Copy the following into your .envrc file:"
...
@@ -41,3 +44,7 @@ echo
...
@@ -41,3 +44,7 @@ echo
echo
"# Sequencer account"
echo
"# Sequencer account"
echo
"export GS_SEQUENCER_ADDRESS=
$address4
"
echo
"export GS_SEQUENCER_ADDRESS=
$address4
"
echo
"export GS_SEQUENCER_PRIVATE_KEY=
$key4
"
echo
"export GS_SEQUENCER_PRIVATE_KEY=
$key4
"
echo
echo
"# Challenger account"
echo
"export GS_CHALLENGER_ADDRESS=
$address5
"
echo
"export GS_CHALLENGER_PRIVATE_KEY=
$key5
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment