This example demonstrates how to interact with a contract using Bako Safe, ensuring that the transaction will only be executed after all required signatures from your multisig Vault.
-
Access the Bako Safe interface: https://safe.bako.global
-
Inside the platform:
- Go to Vault
- Open Settings → API Tokens
- Generate a new API token for your Vault
- Copy the generated token
-
Add your API token to the
.envfile:BAKO_TOKEN_API=your_token_here -
Also ensure your Vault address is configured in
.env:BAKO_WALLET_ADDRESS=your_vault_address_here
To interact with the contract using Bako Safe:
pnpm call:bako-walletOnce executed:
- The transaction will be created and sent to the Bako Safe interface.
- It will remain pending, waiting for all required Vault participants to sign.
While waiting:
- The terminal will display messages like:
⏳ Waiting for required signatures on Bako Safe...After all required participants sign:
- Bako Safe servers will automatically send the transaction to the blockchain.
- The terminal will confirm that the transaction was completed:
✅ Deposit completed successfully.- The transaction cannot be executed until all required signatures are provided.
- You can track, manage, and sign pending transactions directly at: https://safe.bako.global