Skip to main content
WAPIfor

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.

1// Create a fractionalized asset with a hard cap
2await wapi.createToken({
3 foreign: 'opportunity1:token',
4 limit: 1000,
5});
6
7await wapi.createDeposit({
8 wallet: 'opportunity1',
9 token: 'opportunity1:token',
10 amount: 1000,
11 status: 'finished',
12}, { create_wallet_if_not_exists: true });
13
14// 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 });
21
22// Atomic swap: EUR out from investor, tokens in from project
23await wapi.createExchange({
24 from_wallet: 'investor1',
25 from_amount: 100,
26 from_token: 'EUR',
27 to_token: 'opportunity1:token',
28 to_wallet: 'opportunity1',
29});
30
31// Query the ledger to see the distribution of project equity
32const 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.