0.4.4 • Published 1 year ago

@solcial.io/solana-mobile-client v0.4.4

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

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