This repository was archived by the owner on Jul 4, 2022. It is now read-only.
-
Couldn't load subscription status.
- Fork 5
Interact with the blockchain using the API
Hoani Bryson edited this page Apr 24, 2020
·
9 revisions
Install Node.js (>=10.16.3) and Yarn (>= 1.19.0).
Clone the api template project and configure it
git clone https://github.com/plugblockchain/api-template.git
cd api-template
yarn install
Run your built node (see previous step if you haven't built a node yet)
../../target/debug/awesome-node --chain=dev --base-path=/tmp/awesome-test --validator --alice
Run the default script:
node index.js
Should see output similar to:
Connecting to ws://localhost:9944
...
You are connected to chain Development using Awesome Node v2.0.0-alpha.5
- Use a query
- Use an RPC call
Getting Started
PL^G Component Guides
- Attestation
- Doughnut
- Generic Assets (coming soon)
Advanced Topics
External Links
