RIF Multisig SDK
Important: all the SDKs and the sample apps described below support Safe contracts v1.2.0 and ethers.js v5 so far.
Requirements
- Basic
Nodesj
andnpm
are pre-requirements- Dependency installation
- Advanced
Nodesj
andnpm
are pre-requirements- Dependency installation
- Deployment of the Gnosis Safe contracts (required
GnosisSafe
andGnosisSafeProxyFactory
only); for further info, please visit https://gnosis-safe.io/ and the official deployment portal.
The suite of SDKs is composed by:
@gnosis.pm/safe-core-sdk
: it provides the core functionalities required to interact with a Safe@rsksmart/safe-factory-sdk
: it allows the creation of a Safe account without UI interaction@rsksmart/safe-transactions-sdk
: it facilitates the transaction creation (raw transactions, ERC20 transactions and rejections)@gnosis.pm/safe-service-client
(still in alpha version as June 2021): it facilitates the interaction with Safe Transaction Service API.
Use the suite of SDKs to:
- Create multisig wallets choosing owners and threshold
- CRUD owners and threshold
- Receive RBTC (gas)
- Request transactions to other owners for sending RBTC, or any other raw transaction
- Receive ERC-20 tokens (including RIF tokens)
- Request transactions to other owners for sending ERC-20 tokens
- Receive ERC721 tokens (collectibles)
- Request transactions to other owners for sending ERC-721 tokens
- Get the list of pending and past transactions on a multi-sig
- Confirm pending transactions on-chain and off-chain.
Contract addresses
RSK Testnet:
GnosisSafe
:0xffd41b816f2821e579b4da85c7352bf4f17e4fa5
GnosisSafeProxyFactory
:0x5b836117aed4ca4dee8e2e464f97f7f59b426c5a
RSK Mainnet:
GnosisSafe
:0xC6cFa90Ff601D6AAC45D8dcF194cf38B91aCa368
GnosisSafeProxyFactory
:0x4b1Af52EA200BAEbF79450DBC996573A7b75f65A