@5ive-tech/sdk 1.1.2 → 1.1.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 +0 -19
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,19 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Client-agnostic TypeScript SDK for interacting with 5ive DSL programs on Solana.
|
|
4
4
|
|
|
5
|
-
This README is for external developers using:
|
|
6
|
-
- `five-cli`
|
|
7
|
-
- `five-sdk`
|
|
8
|
-
- [5ive.tech](https://5ive.tech)
|
|
9
|
-
|
|
10
5
|
## Install
|
|
11
6
|
|
|
12
7
|
```bash
|
|
13
8
|
npm install @5ive-tech/sdk @solana/web3.js
|
|
14
9
|
```
|
|
15
10
|
|
|
16
|
-
Note: Some older examples may use `@5ive-tech/sdk`. Use the package name your registry currently publishes for your release channel.
|
|
17
|
-
|
|
18
11
|
## Quick Start
|
|
19
12
|
|
|
20
13
|
### 1. Compile with `five-cli` to `.five` artifact
|
|
@@ -255,14 +248,6 @@ import { FiveTestRunner } from '@5ive-tech/sdk';
|
|
|
255
248
|
const runner = new FiveTestRunner({ verbose: true, maxComputeUnits: 1_000_000 });
|
|
256
249
|
```
|
|
257
250
|
|
|
258
|
-
## Frontend Usage (`5ive.tech`)
|
|
259
|
-
|
|
260
|
-
For frontend integration patterns and UI workflows, use [5ive.tech](https://5ive.tech).
|
|
261
|
-
Typical flow:
|
|
262
|
-
1. compile/deploy with `five-cli`
|
|
263
|
-
2. use `five-sdk` in your app/backend to generate instructions
|
|
264
|
-
3. submit signed transactions from wallet-enabled frontend
|
|
265
|
-
|
|
266
251
|
## Troubleshooting
|
|
267
252
|
|
|
268
253
|
### `No program ID resolved for Five VM`
|
|
@@ -273,7 +258,3 @@ Use exact ABI function names (including namespace prefixes).
|
|
|
273
258
|
|
|
274
259
|
### `Missing required account` / `Missing required argument`
|
|
275
260
|
Provide all required fields in `.accounts(...)` and `.args(...)`.
|
|
276
|
-
|
|
277
|
-
## Next Doc
|
|
278
|
-
|
|
279
|
-
For API-level usage details, see `FIVEPROGRAM_USAGE_GUIDE.md`.
|