@solcial.io/solana-mobile-client
v0.4.4
Published
Solcial solana client SDK
Downloads
4
Keywords
Readme
Solcial library
Minimal library to absctract Solcial interaction with the Solana blokchain.
- User token minting
- User swap pool creation
- Trade function and price utility for users token
- List user NFT
This library use the spl-token 0.1.8
beacause "@raydium-io/raydium-sdk": "^1.1.0-beta.7"
Run test and bin
A basic test file is present simply run npm test
# run gloabl test files
npm test
# Do a swap on existing user pool
npm run test-dev
# Check price function outputs
npm run test-prices
# Run script in /bin
cd bin
npm run build
npx ts-node list-user-nft.ts
npx ts-node list-users-from-pools.ts