@trucore/atf 1.4.2 → 1.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 +14 -5
- package/dist/index.js +9471 -2530
- package/package.json +3 -3
- package/src/_generated/recipes_v2.json +1 -1
package/README.md
CHANGED
|
@@ -5,11 +5,20 @@
|
|
|
5
5
|
## One-Liner
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx @trucore/atf
|
|
8
|
+
npx @trucore/atf simulate --preset swap_small --verify --pretty
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
That's it. No install, no config, no API key required.
|
|
12
12
|
|
|
13
|
+
> **Windows users:** `npx` has a [known issue on Windows](https://github.com/npm/cli/issues) that
|
|
14
|
+
> causes `"The system cannot find the path specified"` for **all** packages, not
|
|
15
|
+
> just ATF. Use the global install instead:
|
|
16
|
+
>
|
|
17
|
+
> ```powershell
|
|
18
|
+
> npm install -g @trucore/atf
|
|
19
|
+
> atf doctor --pretty
|
|
20
|
+
> ```
|
|
21
|
+
|
|
13
22
|
## What It Does
|
|
14
23
|
|
|
15
24
|
1. Sends a deterministic preset transaction to the ATF public API
|
|
@@ -19,16 +28,16 @@ That's it. No install, no config, no API key required.
|
|
|
19
28
|
5. **Profile-based config** — switch between mainnet/devnet, Helius RPC, keypairs
|
|
20
29
|
6. **Transaction tooling** — sign, send, confirm, and verify receipts offline
|
|
21
30
|
|
|
22
|
-
## Install
|
|
31
|
+
## Install
|
|
23
32
|
|
|
24
33
|
```bash
|
|
25
|
-
npm install -g @trucore/atf
|
|
34
|
+
npm install -g @trucore/atf
|
|
26
35
|
```
|
|
27
36
|
|
|
28
|
-
Or use directly with `npx` (
|
|
37
|
+
Or use directly with `npx` (macOS / Linux):
|
|
29
38
|
|
|
30
39
|
```bash
|
|
31
|
-
npx @trucore/atf
|
|
40
|
+
npx @trucore/atf simulate --preset swap_small
|
|
32
41
|
```
|
|
33
42
|
|
|
34
43
|
## Quickstart: Doctor (Dev Environment Check)
|