dvpn-core 0.1.6 → 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.6.tgz
25
+ npm install -g dvpn-core-0.1.7.tgz
26
26
  ```
27
27
 
28
28
  ## Install From npm
@@ -78,17 +78,26 @@ dvpn crypto rewards
78
78
 
79
79
  ## Crypto Commands
80
80
 
81
- The package includes the first Solana-oriented economy commands for signed
82
- stake declarations and deterministic reward epochs:
81
+ The package includes Solana-oriented economy commands for signed stake
82
+ declarations, Solana JSON-RPC stake transaction verification, and deterministic
83
+ reward epochs:
83
84
 
84
85
  ```sh
85
86
  dvpn crypto token
86
- dvpn crypto declare-stake --wallet <SOLANA_WALLET> --amount-raw <RAW_TOKEN_AMOUNT>
87
+ dvpn crypto declare-stake --wallet <SOLANA_WALLET> --amount-raw <RAW_TOKEN_AMOUNT> --stake-tx <SOLANA_TX_SIGNATURE>
87
88
  dvpn crypto stakes
88
89
  dvpn crypto create-reward-epoch --epoch-id epoch-001 --start-unix <START> --end-unix <END> --reward-per-gib-raw <RAW_AMOUNT>
89
90
  dvpn crypto rewards
90
91
  ```
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
+
92
101
  ## Platform Notes
93
102
 
94
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.6",
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