@solcial.io/solana-client
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @solcial.io/solana-client

Homepage

solcial.io

Weekly Downloads

7

Version

1.1.1

License

none

Unpacked Size

161 kB

Total Files

56

Last publish

Collaborators

  • kamil.solcial
  • alan-solcial
  • npm_solcial
  • augustin.solcial
  • kevin_solcial
  • boafromsolcial