Zebec
Search…
Deposit
Funds are deposited in zebec vault which is simple associated address with program and senders publickey.

Deposit Native Token (Sol)

const depositTransac = async () => {
const data = {
sender: "J75jd3kjsABQSDrEdywcyhmbq8eHDowfW9xtEWsVALy9", // wallet public key
amount: 1,
};
const response = await depositNativeToken(data);
};

Deposit Token

const data = {
sender: "J75jd3kjsABQSDrEdywcyhmbq8eHDowfW9xtEWsVALy9", // sender defines owner wallet address from where token is deducted.
amount: 1,
token:'2ibSirDWk5P68ZKmQQSxUMtiWQFRuanpPfMfaYzxgSRv' //token mint address
};
depositMultiToken(data);