0.14.3 • Published 5 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
5 years ago
0.14.0
5 years ago
0.13.2
5 years ago
0.13.1
5 years ago
0.13.0
5 years ago
0.12.3
5 years ago
0.12.2
5 years ago
0.12.0
5 years ago
0.11.1
5 years ago
0.11.0
5 years ago
0.10.0
5 years ago
0.9.0
5 years ago
0.8.8
5 years ago
0.8.7
5 years ago
0.8.6
5 years ago
0.8.4
5 years ago
0.8.3
5 years ago
0.8.1
5 years ago
0.8.0
5 years ago
0.7.10
5 years ago
0.7.9
5 years ago
0.7.8
5 years ago
0.7.7
5 years ago
0.7.6
5 years ago
0.7.4
5 years ago
0.7.3
5 years ago
0.7.0
5 years ago
0.6.9
5 years ago
0.6.8
5 years ago
0.6.7
5 years ago
0.6.6
5 years ago
0.6.5
5 years ago
0.6.4
5 years ago
0.6.3
5 years ago