Streams
Learn about how you can integrate SOL Pay Streams into your applications!
Introduction
Start Streaming
(async() => {
/* Connect to wallet and network */
await SOLPay.connectNetwork();
await SOLPay.connectWallet();
/* Start stream: */
/* 0.0000025 SOL accumulated per second */
/* 0.00015 SOL threshold to automatically transfer */
/* 0.01 SOL refill when Stream Wallet runs low */
let stream = await SOLPay.streamLamports(
"RECEIVING ADDRESS HERE",
2500,
10 ** 7,
150000
); // true
})();Back Up Wallet (HIGHLY RECOMMENDED)
Get Stream Details
Refill Stream Wallet
Pause and Resume Stream
Close Stream
Last updated