Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/umaprotocol/emp-tools
- Owner: UMAprotocol
- Created: 2020-06-14T07:59:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-26T21:15:30.000Z (almost 2 years ago)
- Last Synced: 2023-07-21T16:57:24.131Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://tools.umaproject.org
- Size: 4.06 MB
- Stars: 16
- Watchers: 12
- Forks: 27
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
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)