Crowdfunding
Modernize your crowdfunding platform with a ledgering infrastructure built for fractional ownership and complex asset swaps. WAPI allows you to move beyond simple spreadsheets and rigid databases, providing a financial-grade engine for tokenizing equity, debt, or rewards.
Use Case: Crowdfunding
1// Create a fractionalized asset with a hard cap2await wapi.createToken({3 foreign: 'opportunity1:token',4 limit: 1000,5});67await wapi.createDeposit({8 wallet: 'opportunity1',9 token: 'opportunity1:token',10 amount: 1000,11 status: 'finished',12}, { create_wallet_if_not_exists: true });1314// Credit the investor's wallet with liquid capital (EUR)15await wapi.createDeposit({16 wallet: 'investor1',17 token: 'EUR',18 amount: 100,19 status: 'finished',20}, { create_wallet_if_not_exists: true });2122// Atomic swap: EUR out from investor, tokens in from project23await wapi.createExchange({24 from_wallet: 'investor1',25 from_amount: 100,26 from_token: 'EUR',27 to_token: 'opportunity1:token',28 to_wallet: 'opportunity1',29});3031// Query the ledger to see the distribution of project equity32const balances = await wapi.findBalances()33 .where('token', 'opportunity1:token');
Frequently Asked Questions
Get started with WAPI.
Leave your email, we will get in touch with you as soon as possible.
Leave your email, we will get in touch with you as soon as possible.