1.0.1 ⢠Published 9 months ago
@defi-wonderland/solana-token-locking v1.0.1
Simple JS bindings
Example
A linear unlock example can be found in example.ts
Quickstart
Contract address on Devnet
DLxB9dSQtA4WJ49hWFhxqiQkD9v6m67Yfk9voxpxrBs4
Contract address on Mainnet
CChTq6PthWU82YZkbveA3WDf7s97BWhBK4Vx9bmsT743
The code allows you to
- Create vesting instructions for any SPL token:
createCreateInstruction
- Create unlock instructions:
createUnlockInstruction
(To import Solana accounts created with Sollet you can use getAccountFromSeed
)
Seed 9043936629442508205162695100279588102353854608998701852963634059
Vesting contract account pubkey: r2p2mLJvyrTzetxxsttQ54CS1m18zMgYqKSRzxP9WpE
contract ID: 90439366294425082051626951002795881023538546089987018529636340fe
ā
Successfully created vesting instructions
š Transaction signature: 2uypTM3QcroR7uk6g9Y4eLdniCHqdQBDq4XyrFM7hCtTbb4rftkEHMM6vJ6tTYpihYubHt55xWD86vHB857bqXXb
Fetching contract r2p2mLJvyrTzetxxsttQ54CS1m18zMgYqKSRzxP9WpE
ā
Successfully created unlocking instructions
š Transaction signature: 2Vg3W1w8WBdRAWBEwFTn2BtMkKPD3Xor7SRvzC193UnsUnhmneUChPHe7vLF9Lfw9BKxWH5JbbJmnda4XztHMVHz
1.0.1
9 months ago
0.0.0-a9003e43
9 months ago
0.0.0-70dfb1b2
9 months ago
0.0.0-93445f89
9 months ago
1.0.0
9 months ago
0.0.0-37c5f804
9 months ago
0.0.0-e3604821
9 months ago
0.0.0-9cfbf714
9 months ago
0.0.0-5f64f57a
9 months ago
0.0.0-d313474f
9 months ago
0.0.0-fe416de7
9 months ago
0.0.0-fa50cec6
9 months ago
0.0.0-f6584d6a
9 months ago
0.0.0-8420c98f
9 months ago
0.0.1
9 months ago
0.0.0-c8d47076
9 months ago
0.0.0-d0ff02d3
9 months ago
0.0.0-175303f3
10 months ago