Commit 101fd75
committed
Bump JS client to @solana/kit v7
Kit v7 removes the synchronous `getMinimumBalanceForRentExemption` helper,
so `getCreateMintInstructionPlan` now takes a client and fetches the
rent-exempt minimum via `rpc.getMinimumBalanceForRentExemption(...).send()`,
mirroring the client's other async plan builders. This makes the plan
builder async and adds the rent RPC to the plugin requirements.1 parent 405c917 commit 101fd75
4 files changed
Lines changed: 1390 additions & 497 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments