Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/umaprotocol/emp-tools

A tool for minting and managing your position with UMA's expiring tokens.
https://github.com/umaprotocol/emp-tools

Last synced: 3 days ago
JSON representation

A tool for minting and managing your position with UMA's expiring tokens.

Awesome Lists containing this project

README

        

# EMP Tools

_Expiring Multi Party is UMA's most current financial smart contract template. This UI is a community-made tool to make interfacing with the protocol easier, please use at your own risk._

Live frontend:

- Production: https://tools.umaproject.org/

## Install dependencies

`yarn`

## Developing on Public Network

Quick run on a public network (Mainnet and Kovan supported): `yarn dev`

## Developing on Mainnet-fork

First create a `.env` file with the following contents:

```
MAINNET_NODE_URL=https://mainnet.infura.io/v3/
PRIV_KEY=0x123456789...
```

The following instructions will spin up a test chain forked off mainnet and also swap 10 ETH to DAI on Uniswap so that you have a healthy balance of ETH and DAI to test with. You can manually test the dapp with MetaMask in your browser this way.

1. Run `yarn chain`.
2. Copy the private key into MetaMask to access the account and connect to `localhost:8545`. Your balance should be ~990 ETH and a bunch of DAI.
3. Test.

Beware, it might be a bit slow and you might need to "reset" your account on MetaMask to clear the nonce.

## Deployment and Hosting

Every push to the default branch causes a deployment to the primary domain. Every branch and PR pushed is also deployed to a unique subdomain, all thanks to Vercel.

[![Powered by Vercel](./public/powered-by-vercel.svg)](https://vercel.com/?utm_source=uma%2Femp-tools)