Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
foundation
scripts
Commits
ef3063e3
Unverified
Commit
ef3063e3
authored
Apr 5, 2022
by
xx network
Committed by
GitHub
Apr 5, 2022
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
f718387c
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+12
-5
12 additions, 5 deletions
README.md
with
12 additions
and
5 deletions
README.md
+
12
−
5
View file @
ef3063e3
...
...
@@ -33,9 +33,16 @@ This directory contains a script with logic to detect a transfer starting from a
In order to run this script, first start the local network as described above.
### transactions
Th
is
director
y
contain
s a
script
with an example of an extrinsic (transaction) being created,
signed and submit
te
d
t
o the local network.
The transaction is a transfer from Alice to Bob, 2 dev accounts included in the dev network
.
### transactions
+ offline-sign
Th
ese two
director
ies
contain script
s that should be used together.
The scripts demonstrate a way to genera
te t
ransactions connected to a node, but doing the actual
signing on a separate offline machine
.
In order to run this script, first start the local network as described above.
The transactions script has an example of creating a transfer extrinsic, sending 1000 coins
from Alice to Bob. These 2 accounts are included in the dev network.
The script will output the signing payload to the console and wait for the signature to proceed.
The offline-sing script simply waits for a signing payload to be input into the console, and will
sign it using Alice's wallet. Then it outputs the signature, which can be input into the first script.
In order to run these script, first start the local network as described above.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment