Skip to content

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

Notifications You must be signed in to change notification settings

SumeroApp/emp-tools

 
 

Repository files navigation

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:

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/<INFURA_API_KEY>
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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.9%
  • Other 0.1%