@stellar-agent/testnet-suite 0.4.1 → 0.4.3
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 +33 -0
- package/package.json +6 -6
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# @stellar-agent/testnet-suite
|
|
2
|
+
|
|
3
|
+
Reusable Testnet workspace, wallet, Friendbot, policy, receipt, and smoke-test workflows for Stellar Agent.
|
|
4
|
+
|
|
5
|
+
This package powers CLI commands such as Testnet initialization, smoke tests, issued-asset scenarios, contract-asset smoke scenarios, wallet imports, trustline inspection, and public wallet views.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @stellar-agent/testnet-suite
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```js
|
|
16
|
+
import { createTestnetHarness, initTestnetWorkspace } from "@stellar-agent/testnet-suite";
|
|
17
|
+
|
|
18
|
+
const harness = createTestnetHarness();
|
|
19
|
+
const initialized = await initTestnetWorkspace(harness.config, { fundAgent: true });
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Safety
|
|
23
|
+
|
|
24
|
+
- Generated wallets are Testnet-only.
|
|
25
|
+
- Testnet XLM has no real value.
|
|
26
|
+
- Mainnet watch-only wallet imports store public keys only.
|
|
27
|
+
- Scenario helpers should preserve receipt logging and policy checks when they submit transactions.
|
|
28
|
+
|
|
29
|
+
## Links
|
|
30
|
+
|
|
31
|
+
- GitHub: https://github.com/someone-in-texas/Stellar-Agent
|
|
32
|
+
- Testnet quickstart: https://github.com/someone-in-texas/Stellar-Agent/blob/main/docs/quickstart-testnet.md
|
|
33
|
+
- npm CLI package: https://www.npmjs.com/package/@stellar-agent/cli
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stellar-agent/testnet-suite",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Reusable Testnet wallet, Friendbot, policy, receipt, and smoke-test workflows for Stellar Agent Bridge.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://github.com/someone-in-texas/Stellar-Agent/issues"
|
|
14
14
|
},
|
|
15
|
-
"homepage": "https://github.com/someone-in-texas/Stellar-Agent#readme",
|
|
15
|
+
"homepage": "https://github.com/someone-in-texas/Stellar-Agent/tree/main/packages/testnet-suite#readme",
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=22"
|
|
18
18
|
},
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"test": "vitest run"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@stellar-agent/core": "0.4.
|
|
36
|
-
"@stellar-agent/ledger-logger": "0.4.
|
|
37
|
-
"@stellar-agent/policy": "0.4.
|
|
38
|
-
"@stellar-agent/stellar": "0.4.
|
|
35
|
+
"@stellar-agent/core": "0.4.3",
|
|
36
|
+
"@stellar-agent/ledger-logger": "0.4.3",
|
|
37
|
+
"@stellar-agent/policy": "0.4.3",
|
|
38
|
+
"@stellar-agent/stellar": "0.4.3",
|
|
39
39
|
"yaml": "^2.7.1"
|
|
40
40
|
}
|
|
41
41
|
}
|