Zebec
Search…
Create treasury
Create multisig vault with multiple owners.
First need to prepare a data to create safe and include owners in it. Just pass data into multisiginit object which is initialized in the previous step.
const data = {
sender: window.solana.publicKey.toString(),
owners: [
{ wallet_address: "HWERzRzAUKpt1yCDBRUz1sxUGiGUkGpc9Y1CP7M1Dvpo" },
{
wallet_address: "J75jd3kjsABQSDrEdywcyhmbq8eHDowfW9xtEWsVALy9",
},
],
min_confirmation_required: 1,
};
const response = await multisiginit.createSafe(data);
console.log(response);
Copy link