Skip to content

avolabs-io/gnosis-app-pool-together

Repository files navigation

PoolTogether Safe App

This Safe App brings no-loss prize games to Gnosis Safe users by allowing them to use the PoolTogether protocol.

Read more about Safe Apps here.

Features

Using this Safe App users can buy tickets for community approved prize pools, giving them a chance to win the weekly prize for those pools. They can also withdraw their tickets, and view the current dollar estimate of the prizes.

Local Development

Install dependencies and start a local dev server.

yarn install
cp .env.sample .env
yarn start

Then:

  • If HTTPS is used (by default enabled)
  • Go to Safe Multisig web interface
  • Create your test safe
  • Install dependencies in repo yarn
  • Start local server yarn start
  • Go to Apps -> Manage Apps -> Add Custom App
  • Paste your localhost URL, default is https://localhost:3000/
  • You should see PoolTogether as a new app

Supported Networks

Currently Rinkeby and Mainnet only. We pull in data from the PoolTogether hosted subgraphs for these networks. We use ethers-multicall for batching of RPC calls, so for now any future supported network would need to be one that has a multicall contract deployed to it.

Dependencies

We use the following dependencies for interacting with Gnosis Safe:

We use Apollo for graph queries, and ethers for RPC calls.

On the PoolTogether side we use the following dependencies:

We use Chainlink as our oracle for Eth to Usd prices. We use the Rinkeby and Mainnet oracles.

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published