mirror of
https://github.com/Xahau/Validation-Ledger-Tx-Store-to-xPOP.git
synced 2025-12-06 17:27:57 +00:00
Add serve & scripts to readme
This commit is contained in:
@@ -30,3 +30,10 @@ Every folder will contain the following files:
|
|||||||
- `validation_{signing pubkey}.json`, e.g. `validation_n9McDrz9tPujrQK3vMXJXzuEJv1B8UG3opfZEsFA8t6QxdZh1H6m.json`
|
- `validation_{signing pubkey}.json`, e.g. `validation_n9McDrz9tPujrQK3vMXJXzuEJv1B8UG3opfZEsFA8t6QxdZh1H6m.json`
|
||||||
- `tx_{tx hash}.json`, e.g. `tx_FFDEADBEEF64F423CB4B317370F9B40645BA9D5646B47837FDC74B8DCAFEBABE.json`
|
- `tx_{tx hash}.json`, e.g. `tx_FFDEADBEEF64F423CB4B317370F9B40645BA9D5646B47837FDC74B8DCAFEBABE.json`
|
||||||
- `xpop_{tx hash}.json` for the generated xPOP (in JSON format)
|
- `xpop_{tx hash}.json` for the generated xPOP (in JSON format)
|
||||||
|
|
||||||
|
## Helper scripts
|
||||||
|
|
||||||
|
`npm run serve` to launch a webserver for the `store` dir
|
||||||
|
`npm run dev` to launch (verbose)
|
||||||
|
`npm run xpopgen` to launch, less verbose
|
||||||
|
|
||||||
|
|||||||
980
package-lock.json
generated
980
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,8 @@
|
|||||||
"main": "index.mjs",
|
"main": "index.mjs",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "nodemon .",
|
"dev": "nodemon .",
|
||||||
"xpopdev": "source .env && nodemon --max-old-space-size=20 ."
|
"xpopdev": "source .env && nodemon --max-old-space-size=50 .",
|
||||||
|
"serve": "serve ./store/"
|
||||||
},
|
},
|
||||||
"author": "Wietse Wind <w@xrpl-labs.com>",
|
"author": "Wietse Wind <w@xrpl-labs.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -23,5 +24,8 @@
|
|||||||
"ripple-address-codec": "^4.3.0",
|
"ripple-address-codec": "^4.3.0",
|
||||||
"ripple-binary-codec": "^1.10.0",
|
"ripple-binary-codec": "^1.10.0",
|
||||||
"xrpl-client": "^2.2.0"
|
"xrpl-client": "^2.2.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"serve": "^14.2.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user