Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rmeissner/sapp-phenix
https://github.com/rmeissner/sapp-phenix
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/rmeissner/sapp-phenix
- Owner: rmeissner
- License: mit
- Created: 2021-01-20T00:58:09.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-01T11:18:15.000Z (over 3 years ago)
- Last Synced: 2024-04-12T21:55:48.270Z (7 months ago)
- Language: TypeScript
- Size: 817 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# My Safe App
## Getting Started
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)