Build rewards infrastructure
RESTful API for blockchain-based rewards. Build transactions, sign client-side, broadcast to network. JavaScript/Python SDKs included.
Build rewards infrastructure
RESTful API for blockchain-based rewards. Build transactions, sign client-side, broadcast to network. JavaScript/Python SDKs included.
Code Example
Your first request
Install the SDK, initialize with your config, and mint your first SP tokens.
import { Factory } from 'spree-evm-sdk';
// Initialize SDK
const factory = new Factory({
rpcUrl: process.env.RPC_URL,
chainId: BigInt(process.env.CHAIN_ID),
contractAddress: process.env.FACTORY_ADDRESS,
from: '0xYourWalletAddress'
});
// Mint 1000 SP tokens
const unsignedTx = await factory.mint(
process.env.ASSET_ADDRESS, // USDC/USDT/DAI
1_000_000n, // Amount
'0xReceiverAddress', // Recipient
false // expectedBasketMode
);
// Sign and broadcast
const signedTx = await wallet.signTransaction(unsignedTx);
await provider.sendTransaction(signedTx);View full SDK guide ↗
Core API capabilities
Full-featured rewards infrastructure accessible via REST.
How it connects
Your app → Spree SDK/API → SP Token Network → Redemption rails.
How It Works
One integration. Full network.
Your App
Spree SDK / API
SP Token
Branded SP
Collateral
Yield
Spree Network
How It Works
One integration. Full network.
Your App
Spree SDK / API
SP Token
Branded SP
Collateral
Yield
Spree Network
Documentation
Everything you need to integrate and scale.
Developer support
Get help, report issues, or connect with the community.
Start building today
Get your API credentials and ship rewards infrastructure in hours.