This commit is contained in:
Hanh 2022-06-10 18:47:02 +08:00
parent 4f8103e907
commit bd24633da7
1 changed files with 43 additions and 0 deletions

43
README.md Normal file
View File

@ -0,0 +1,43 @@
# Build as standalone server
```
cargo b --release --bin warp-rpc --features=rpc
./target/release/warp-rpc
```
# Configuration
Edit `Rocket.toml`
```
[default]
allow_backup = true
allow_send = true
```
Edit `.env`
```
ZEC_DB_PATH
ZEC_LWD_URL
YEC_DB_PATH
YEC_LWD_URL
```
# RPC
TODO
```
set_lwd,
set_active,
new_account,
list_accounts,
sync,
rewind,
get_latest_height,
get_backup,
get_balance,
get_address,
get_tx_history,
pay,
```