Skip to content

TwentyPay/react-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-frontend

Install dependencies.

yarn install

Serve with hot reload at http://localhost:3000.

yarn dev


Or run on other ports:

yarn build yarn start --port 3001



Load this URL in your browser: http://localhost:3003/?&accepts=DAI:400&accepts=WETH:2.5

For the Ox integration: Just load localhost:3003 normally. Then click the "Test 0x" button. You will see the output in the developer console in your browser.

You'll need to replace the "deployedAddress" field in swap-contract.js (found in the pages folder) with the address that you got from the 0xintegration project. When the SimpleTokenSwap contract got deployed, it should have returned a "contract address" field. 

About

ERC-20 to ERC-20 payments interface on Ethereum

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •