Zebec
Search…
Start Streaming
For initializing transactions, we need to send the sender address, receiver address, multisig vault , amount, start time and end time in epoch timestamp.
// start streaming
const response = await multisiginit.init({
sender: window.solana.publicKey.toString(),
receiver: "Av6xsgSrnM1UAj4pUZnEWM97iBphph69NPHE8J2ceeYs",
start_time: Math.floor(Date.now() / 1000) + 50,
end_time: Math.floor(Date.now() / 1000) + 120,
amount: 0.1,
zebec_wallet_escrow: "HLyoecREXXhQ8Xb5QUhmocpG9gtVCdmULjDNzi6Eg6x2",
});
console.log(response);

Start Streaming SPL tokens

const response = await multisiginitToken.init({
sender: window.solana.publicKey.toString(),
receiver: "Av6xsgSrnM1UAj4pUZnEWM97iBphph69NPHE8J2ceeYs",
start_time: Math.floor(Date.now() / 1000) + 50,
end_time: Math.floor(Date.now() / 1000) + 120,
amount: 0.1,
zebec_wallet_escrow: "HLyoecREXXhQ8Xb5QUhmocpG9gtVCdmULjDNzi6Eg6x2",
token_mint_address:'Token mint'
});
console.log(response);
Copy link