new WanOTADB(path, net)
Parameters:
| Name | Type | Description |
|---|---|---|
path |
string | The file path, this file path is used to file db. |
net |
string | It used to describe the testnet db and main net db. |
- Source:
- db/wanotadb.js
Methods
-
delete()
-
Delete entire database!
- Source:
- db/wanotadb.js