Simple Forge App
This is an simple app powered by forge and forge-sdk, it just uses forge-core and send standard transactions supported by forge core.
Files
-
forge.toml
, configuration for forge-core and the app -
client.js
, Send transactions to the app
Getting Started
0. get forge installed [required]
https://github.com/ArcBlock/forge/releases
Makefile
to use your forge binary
1. update FORGE_BIN_PATH=/YOUR_FORGE_RELEASE_DIR/forge/bin/forge
2. start forge and forge-app
forge-app is the dummy server in forge-core
make init # install dependency
make run # start forge app
tail -f logs/app.log
3. send requests to forge
DEBUG=@arcblock/* node client.js
TODO
- [ ] add example for subscribe
- [ ] list all supported rpc methods