vote-battle-sdk
v1.1.118
Published
TypeScript SDK for interacting with the Vote Battle smart contract on Stacks blockchain
Maintainers
Readme
vote-battle-sdk
TypeScript SDK for interacting with the Vote Battle smart contract on Stacks.
Installation
npm install vote-battle-sdkUsage
import { VoteBattleClient } from "vote-battle-sdk";
const client = new VoteBattleClient({
contractAddress: "SP...",
contractName: "vote-dapp-stacks"
});
const leaderboard = await client.getLeaderboard();
console.log(leaderboard);Development
npm install
npm run buildLicense
MIT
