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
c8a3093f
Commit
c8a3093f
authored
Apr 4, 2022
by
Bernardo Cardoso
Browse files
Options
Downloads
Patches
Plain Diff
Update readme
parent
83a50584
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
+39
-1
39 additions, 1 deletion
README.md
with
39 additions
and
1 deletion
README.md
+
39
−
1
View file @
c8a3093f
# scripts
This repository contains example scripts in JS for xx network basic interactions.
### localnet
This directory includes a makefile and binaries to run a single-node local xx network blockchain in dev mode.
In order to download the binaries, git lfs is used.
Refer to https://git-lfs.github.com/ in order to install this tool.
You can run the local network using the Makefile:
```
cd localnet
make run
```
To stop the network, simply do
`make stop`
.
### walletgen
This directory contains a script with an example of how to generate an xx network Sleeve wallet.
It uses golang code compile to WASM to generate the quantum-secure wallet, and
`@polkadot/keyring`
to create a standard xx network wallet from the Sleeve's output mnemonic.
### address-validation
This directory contains a script with address validation logic for xx network.
It has examples of valid and invalid xx network addresses,
and valid addresses on other networks, which are invalid in xx network.
### get-transfers
This directory contains a script with logic to detect a transfer starting from a specified address.
In order to run this script, first start the local network as described above.
### transactions
This directory contains a script with an example of an extrinsic (transaction) being created,
signed and submitted to the local network.
The transaction is a transfer from Alice to Bob, 2 dev accounts included in the dev network.
In order to run this 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