0.14.3 • Published 6 years ago
@arcblock/forge-app-kvstore v0.14.3
KV Store App
This is an example app powered by forge and forge-sdk, it's purpose is very simple, accept
KVPair
transactions and store them in AccountState.data.
Files
forge.toml
, configuration for forge-core and the appserver.js
, Create an forge-app server, and processKVPair
transactionverify
andupdate
requests from forgeclient.js
, SendKVPair
transaction to the appkv.proto
, protobuf definition for the KVStore app
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 managed by forge process manager
make init # install dependency
make run # start forge app
tail -f logs/app.log
3. send requests to forge
This script will create wallet and send KvTx
to forge-app, you can run it multiple times to see the AccountState.data
changes.
DEBUG=@arcblock/* node client.js
0.14.3
6 years ago
0.14.0
6 years ago
0.13.2
6 years ago
0.13.1
6 years ago
0.13.0
6 years ago
0.12.3
6 years ago
0.12.2
6 years ago
0.12.0
6 years ago
0.11.1
6 years ago
0.11.0
6 years ago
0.10.0
6 years ago
0.9.0
6 years ago
0.8.8
6 years ago
0.8.7
6 years ago
0.8.6
6 years ago
0.8.4
6 years ago
0.8.3
6 years ago
0.8.1
6 years ago
0.8.0
6 years ago
0.7.10
6 years ago
0.7.9
6 years ago
0.7.8
6 years ago
0.7.7
6 years ago
0.7.6
6 years ago
0.7.4
6 years ago
0.7.3
6 years ago
0.7.0
6 years ago
0.6.9
6 years ago
0.6.8
6 years ago
0.6.7
6 years ago
0.6.6
6 years ago
0.6.5
6 years ago
0.6.4
6 years ago
0.6.3
7 years ago