Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Testnet Injector
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EcoMobiCoin
Testnet Injector
Merge requests
!9
Update testnets scripts & readme
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update testnets scripts & readme
update-tests-scripts
into
main
Overview
0
Commits
2
Pipelines
2
Changes
4
Merged
Anthony GRAIGNIC
requested to merge
update-tests-scripts
into
main
1 year ago
Overview
0
Commits
2
Pipelines
2
Changes
4
Expand
0
0
Merge request reports
Viewing commit
f0d34dcb
Prev
Next
Show latest version
4 files
+
62
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
f0d34dcb
Update testnets scripts & readme
· f0d34dcb
Anthony GRAIGNIC
authored
1 year ago
scripts/t0-1mine-2sync.sh
+
5
−
3
Options
@@ -2,11 +2,13 @@
export
MINER_SIGNING_KEY
=
4c0883a69102937d6231471b5dbb6204fe5129617082792ae468d01a3f362318
;
# MINER_SIGNING_KEY & MNEMONIC env vars are set on workstation.
export
CHAIN_ID
=
6363
;
# 12 sec
BLOCK_TIME
=
12
;
export
RPC_URL
=
http://ecomobicoin-1.cri.local.isima.fr:8545
;
# export RPC_URL=http://ecomobicoin-1.cri.local.isima.fr:8545;
# export CHAIN_ID=6363;
export
RPC_URL
=
http://127.0.0.1:8545
;
export
CHAIN_ID
=
636363
;
# Mine on eco1 with `--max-block 0`
#
@@ -16,7 +18,7 @@ export RPC_URL=http://ecomobicoin-1.cri.local.isima.fr:8545;
# ./truite --chain-spec-file clermont-bootnode.ron --no-dns-discovery --cidr 192.168.0.0/16 --rpc-listen-address 0.0.0.0:8545
#
# Mine
every 10 secs or number of blocks
# Mine
for
((
i
=
1
;
i<
=
100
;
i++
))
do
echo
"MINE
$i
/100"
;
Loading