https://github.com/bh2smith/safe-wraptor
Wrap and Unwrap ETH with ease from within your Gnosis Safe
https://github.com/bh2smith/safe-wraptor
Last synced: about 1 year ago
JSON representation
Wrap and Unwrap ETH with ease from within your Gnosis Safe
- Host: GitHub
- URL: https://github.com/bh2smith/safe-wraptor
- Owner: bh2smith
- Created: 2020-12-21T10:53:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-25T13:02:25.000Z (over 5 years ago)
- Last Synced: 2025-05-15T10:44:13.685Z (about 1 year ago)
- Language: TypeScript
- Size: 962 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gnosis Safe: ETH Wraptor
Wrap and Unwrap ETH with ease from within your Gnosis Safe!
## Developers Guide
Install dependencies and start a local dev server.
```
yarn install
cp .env.sample .env
yarn start
```
Then:
- If HTTPS is used (by default enabled)
- Open your Safe app locally (by default via https://localhost:3000/) and accept the SSL error.
- Go to Safe Multisig web interface
- [Mainnet](https://app.gnosis-safe.io)
- [Rinkeby](https://rinkeby.gnosis-safe.io/app)
- Create your test safe
- Go to Apps -> Manage Apps -> Add Custom App
- Paste your localhost URL, default is https://localhost:3000/
- You should see Safe App Starter as a new app
- Develop your app from there
## Features
Gnosis Safe App Starter combines recommendations described in the following repositories:
- [Safe Apps SDK](https://github.com/gnosis/safe-apps-sdk)
- [safe-react-components](https://github.com/gnosis/safe-react-components)
You can use the `useSafe` React hook to interact with the Safe Apps SDK
```
const safe = useSafe();
console.log(safe.info);
```
Safe React Components are also integrated and ready to use. [See all components](https://components.gnosis-safe.io/).
## Dependencies
### Included
- [`@gnosis.pm/safe-react-components`](https://github.com/gnosis/safe-react-components) (UI components themed for the Safe Multisig interface)
- [`@rmeissner/safe-apps-react-sdk`](https://github.com/rmeissner/safe-sdks-js/tree/master/safe-apps-react-sdk) (React hook for the Safe Apps SDK)
### Recommended
- [`ethers`](https://github.com/ethers-io/ethers.js) (Library for interacting with Ethereum)
- [`web3`](https://github.com/ethereum/web3.js/) (Library for interacting with Ethereum)
- [`@studydefi/money-legos`](https://github.com/studydefi/money-legos) (Library for DeFi interactions)