Complete guide to building real-time finance applications on BSC with Vanko App protocol
Quick start guide and basic concepts
Complete API documentation
Code examples and tutorials
Vanko App is a protocol for real-time finance on BSC (Binance Smart Chain). It enables:
npm install @vanko/sdkimport { VankoClient } from '@vanko/sdk';
const vanko = new VankoClient({
network: 'bsc-mainnet',
privateKey: process.env.PRIVATE_KEY
});
// Create a token stream
const stream = await vanko.createStream({
recipient: '0x...',
token: '0x...',
amount: '1000000000000000000', // 1 token
duration: 30 * 24 * 60 * 60 // 30 days
});Creates a new token stream
Creates a vesting schedule
Creates an escrow contract
Stream salaries continuously to team members:
// Stream $USDC salary for 30 days
const payrollStream = await vanko.createStream({
recipient: employeeWallet,
token: USDC_ADDRESS,
amount: ethers.utils.parseUnits('3000', 6), // $3000
duration: 30 * 24 * 60 * 60, // 30 days
startTime: Math.floor(Date.now() / 1000)
});Create trustless vesting for team tokens:
// 2-year vesting with 6-month cliff
const vesting = await vanko.createVesting({
beneficiary: teamMemberWallet,
token: VANKO_TOKEN,
amount: ethers.utils.parseUnits('10000', 18),
duration: 2 * 365 * 24 * 60 * 60, // 2 years
cliff: 6 * 30 * 24 * 60 * 60 // 6 months
});0x...coming soon0x...coming soon0x...coming soon