The Bako Safe SDK manages all the logic of the Bako Safe multisig wallet, including:
- Blockchain Network Integration: Simplifying interactions with blockchain networks and managing network providers.
- Authentication and Security: Implementing secure authentication methods and security protocols.
- Vault Creation and Management: Setting up and configuring secure vaults for crypto assets.
- Signer Registration and Management: Adding and removing signers, and managing their signatures for transaction authorization.
- Transaction Management: Initiating, signing, approving, and executing transactions.
- Utility and Helper Functions: Providing error handling and SDK customization options.
Within the packages folder, you will find the following subdirectories:
- sway: Contains the predicates and libraries (e.g., webauthn).
- sdk: Our TypeScript SDK that interacts with Bako.
For for information, check out the Documentation page.
- fuel-core@0.35.0
- forc@0.63.6
- fuels-ts@0.94.6
- Install Fuel Toolchain
- Install dependencies with pnpm:
pnpm install - Build packages:
pnpm -w build cd packages/tests- Run the tests:
pnpm test - Or run only test file
pnpm test:file ${filename}
- Install Fuel Toolchain
- Install dependencies with pnpm:
pnpm install cd packages/tests- Copy predicate to script debbug file
pnpm debbug:setup - Add changes and build from script
pnpm debbug:build - Run your changed script
pnpm debbug:script