https://github.com/protofire/gnosis-safe-toolchain
A collection of utilities and helpers to interact with Gnosis Safe
https://github.com/protofire/gnosis-safe-toolchain
ethereum gnosis-safe
Last synced: 2 months ago
JSON representation
A collection of utilities and helpers to interact with Gnosis Safe
- Host: GitHub
- URL: https://github.com/protofire/gnosis-safe-toolchain
- Owner: protofire
- License: mit
- Created: 2020-12-04T13:04:49.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-08T16:49:48.000Z (almost 5 years ago)
- Last Synced: 2023-04-10T04:54:28.938Z (over 2 years ago)
- Topics: ethereum, gnosis-safe
- Language: JavaScript
- Homepage:
- Size: 261 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gnosis Safe Toolchain
This library is ment to be used for interacting with Gnosis Safe contract.

[](https://github.com/prettier/prettier)
---
## Features ✨
### Generic commands
- Deploy
- Get transaction data/hash
- Approve hash
- Execute transaction
### Admin commands
- Add owner with threshold
- Change threshold
- Get owners
- Get threshold
- Is Owner
- Remove Owner
- Swap Owner
## Install
```bash
$ yarn add @protofire/gnosis-safe-toolchain
```
## Test
Create `.env` file from `.env.example` and set `RPC_URL` which is used for [forking HardHat network](https://hardhat.org/guides/mainnet-forking.html#forking-from-mainnet), make sure [Gnosis Safe contracts](https://github.com/gnosis/safe-contracts) are deployed on the network you are forking, then run
```bash
$ yarn test
```
## Usage 💡
TO-DO
>
>**NOTE**
>
> Meanwhile you can look at the test to learn how to use this
>
## Documentation 📄
TO-DO
## Licence ⚖️
MIT