dvpn-core 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,7 +22,7 @@ From the repository root:
22
22
  ```sh
23
23
  cd packages/npm
24
24
  npm pack
25
- npm install -g dvpn-core-0.1.5.tgz
25
+ npm install -g dvpn-core-0.1.7.tgz
26
26
  ```
27
27
 
28
28
  ## Install From npm
@@ -69,8 +69,35 @@ dvpn node run
69
69
  dvpn node sync-peers
70
70
  dvpn node submit-accounting
71
71
  dvpn control run
72
+ dvpn crypto token
73
+ dvpn crypto declare-stake
74
+ dvpn crypto stakes
75
+ dvpn crypto create-reward-epoch
76
+ dvpn crypto rewards
72
77
  ```
73
78
 
79
+ ## Crypto Commands
80
+
81
+ The package includes Solana-oriented economy commands for signed stake
82
+ declarations, Solana JSON-RPC stake transaction verification, and deterministic
83
+ reward epochs:
84
+
85
+ ```sh
86
+ dvpn crypto token
87
+ dvpn crypto declare-stake --wallet <SOLANA_WALLET> --amount-raw <RAW_TOKEN_AMOUNT> --stake-tx <SOLANA_TX_SIGNATURE>
88
+ dvpn crypto stakes
89
+ dvpn crypto create-reward-epoch --epoch-id epoch-001 --start-unix <START> --end-unix <END> --reward-per-gib-raw <RAW_AMOUNT>
90
+ dvpn crypto rewards
91
+ ```
92
+
93
+ Configure the control plane with Solana RPC to mark stake as `verified`:
94
+
95
+ ```sh
96
+ DVPN_SOLANA_RPC_URL=https://api.mainnet-beta.solana.com dvpn control run
97
+ ```
98
+
99
+ Only verified stake declarations are eligible for reward epoch allocations.
100
+
74
101
  ## Platform Notes
75
102
 
76
103
  The npm package distributes the DVPN CLI binary. Real VPN tunnel activation also
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dvpn-core",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "DVPN Core CLI for clients, relay nodes, and control plane operators.",
5
5
  "license": "MIT",
6
6
  "bin": {
Binary file
Binary file
Binary file
Binary file