npm install
npm run build
cd /example
npm install
- cd
/example
- create
/example/.env
file based on/example/.env.example
- check and update
/example/src/index.ts
file npm run start
const walletAddress = sdkClient.getAddress();
console.log('Wallet Address:', walletAddress);
const signedMessage = await sdkClient.signMessage('Hello, blockchain!');
console.log('Signed Message:', signedMessage);
buySentientTokens(tokenAddress: string, amount: string)
: Buy Sentient tokenssellSentientTokens(tokenAddress: string, amount: string)
: Sell Sentient tokensbuyPrototypeTokens(tokenAddress: string, amount: string)
: Buy Prototype tokenssellPrototypeTokens(tokenAddress: string, amount: string)
: Sell Prototype tokens
checkSentientAllowance(amount: string, fromTokenAddress?)
: Check Sentient token allowanceapproveSentientAllowance(amount: string, fromTokenAddress?)
: Approve Sentient token allowancecheckPrototypeAllowance(amount: string, fromTokenAddress?)
: Check Prototype token allowanceapprovePrototypeAllowance(amount: string, fromTokenAddress?)
: Approve Prototype token allowance
getSentientListing(pageNumber?: number, pageSize?: number)
: Get Sentient token listingsgetPrototypeListing(pageNumber?: number, pageSize?: number)
: Get Prototype token listingssearchVirtualTokensByKeyword(tokenAddress: string)
: Fetch token details by address
fetchKlines(params: GetKlinesParams)
: Fetch K-line data
If you are using this SDK for getting builder fee, please contact us at [email protected] or [email protected]