Commonjs script that executes basic compression/decompression/transfer instructions.
You need to have the CLI installed to run this example on Localnet. For installation instructions, see here
# Start a light test-validator using the CLI
light test-validator
To run the token.ts
example:
- By default, it interacts with Solana Devnet.
- Create a
.env
file in the root directory using.env.example
as a template. - Set your
RPC_KEY
in the.env
file.
npm install
# npm run connection
# npm run token
# npm run lamports
# npm run extended
# npm run lookup-table
npm run example