Clone the multisig repo
npm install
anchor keys list
In the files Anchor.toml
and programs/multisig/src/lib.rs
Replace cluster
with the address to the eclipse network
Replace wallet
with the private key of the wallet that’s deploying
the program
Replace wallet_pub
with the pubkey of the wallet that’s deploying
the program
I recommend creating at least 3 keys with solana-keygen
. Also fund
them with some tokens.
npx ts-node client/index.ts --owners <first address> --owners <second address> --owners <third address> --connectionUrl <eclipse url>
Take note of the pubkey generated
The new configuration fields are
multisig_program_id
(the address of the multisig program)multisig
(the pubkey generated by the multisig client)refundee
(it can be the address of thesolana_payer
)signer_keypair_file
(the signer key for this relayer)