@arcblock/forge-app-simple

v0.14.3
> This is an simple app powered by forge and forge-sdk, it just uses forge-core and send standard transactions supported by forge core.

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

Getting Started

0. get forge installed [required]

https://github.com/ArcBlock/forge/releases

1. update Makefile to use your forge binary

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
npm i @arcblock/forge-app-simple

Metadata

  • MIT
  • >=0.10.0
  • wangshijun
  • released 3/20/2019

Downloads

Maintainers