Add comment to script. #133

Merged
telackey merged 2 commits from telackey/58cmt into main 2024-01-11 23:26:45 +00:00
Member
##
## This script generates a new account keypair, transfers funds to it, and creates
## a bond with those funds.  The amount of can be optionally specified, else a
## default value estimated to be sufficient for about 5000 records.
##
## The `laconic` CLI and a valid config file for it are required.  The default location
## for the config file is `~/.laconic/config.yml`, but this can be controlled with
## the environment variable LACONIC_CONFIG.  A `userKey` for a source account with
## sufficient funds available must be present in this file for the funds transfer
## to succeed.
##
## Example:
##
## ❯ scripts/create-and-fund-account.sh 1000000000
## {
##   "name": "68334d7175fd4f86befa4902657e5270",
##   "type": "local",
##   "address": "ethm15r5x94km0swq55aszwd7hnr9wksq7wmr38xes7",
##   "pubkey": "AuKqlSldJJXj4gYMFt2HeX9DJ3aUosYA7n6zBz9Tg7/i",
##   "mnemonic": "umbrella bean special unaware accident giant distance mix ghost feel possible cost road grant endless man maple derive rebuild learn mask water attract resist",
##   "bond": "3d3a73f09115d289d330781455e6eac217305dc4a20e19bde808011fe3775a93",
##   "balance": 1000000000,
##   "privkey": "480880fde7aff1461da584b436cb3a84692413c84623fda78e127bb4e704ce76"
## }
##
``` ## ## This script generates a new account keypair, transfers funds to it, and creates ## a bond with those funds. The amount of can be optionally specified, else a ## default value estimated to be sufficient for about 5000 records. ## ## The `laconic` CLI and a valid config file for it are required. The default location ## for the config file is `~/.laconic/config.yml`, but this can be controlled with ## the environment variable LACONIC_CONFIG. A `userKey` for a source account with ## sufficient funds available must be present in this file for the funds transfer ## to succeed. ## ## Example: ## ## ❯ scripts/create-and-fund-account.sh 1000000000 ## { ## "name": "68334d7175fd4f86befa4902657e5270", ## "type": "local", ## "address": "ethm15r5x94km0swq55aszwd7hnr9wksq7wmr38xes7", ## "pubkey": "AuKqlSldJJXj4gYMFt2HeX9DJ3aUosYA7n6zBz9Tg7/i", ## "mnemonic": "umbrella bean special unaware accident giant distance mix ghost feel possible cost road grant endless man maple derive rebuild learn mask water attract resist", ## "bond": "3d3a73f09115d289d330781455e6eac217305dc4a20e19bde808011fe3775a93", ## "balance": 1000000000, ## "privkey": "480880fde7aff1461da584b436cb3a84692413c84623fda78e127bb4e704ce76" ## } ## ```
telackey added 2 commits 2024-01-11 23:15:10 +00:00
Add comment to script.
Some checks failed
Build / cleanup-runs (pull_request) Successful in 5s
Deploy Contract / cleanup-runs (pull_request) Successful in 7s
Build / build (pull_request) Failing after 38s
Dependency Review / dependency-review (pull_request) Failing after 38s
Pull Request Labeler / triage (pull_request) Failing after 4s
Deploy Contract / deploy (pull_request) Failing after 33s
CodeQL / Analyze (go) (pull_request) Failing after 1m0s
Run Gosec / Gosec (pull_request) Failing after 19s
Semgrep / Scan (pull_request) Failing after 13s
Tests / cleanup-runs (pull_request) Successful in 7s
Lint / Run golangci-lint (pull_request) Failing after 38s
Tests / test-importer (pull_request) Failing after 1m48s
Tests / test-unit-cover (pull_request) Failing after 1m48s
Lint / Run flake8 on python integration tests (pull_request) Failing after 2m27s
Tests / test-rpc (pull_request) Failing after 2m16s
Tests / sdk_tests (pull_request) Failing after 2m24s
7272fc0dda
telackey requested review from dboreham 2024-01-11 23:26:24 +00:00
telackey merged commit 9c240f1a0c into main 2024-01-11 23:26:45 +00:00
telackey deleted branch telackey/58cmt 2024-01-11 23:26:46 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/laconicd#133
No description provided.