edexui
v10.4.0
Published
Elephant Dex Interface - Harmony One Defi & Casino - https://elephant.ac
Downloads
4
Readme
Elephant Interface
An open source interface for Elephant Dex -- a protocol for decentralized exchange of Harmony HRC20 tokens.
- Website: elephant.ac
- Interface: elephant.ac
- Twitter: @elephant_dex
- Email: [email protected]
- Discord: Elephant
- Whitepaper: Link
Accessing a Local Elephant Interface
To access the Elephant Interface follow the instructions below
Listing a token
Please see the elephantdexdefault-token-list repository.
Development
Install Dependencies
yarn
Run
yarn start
Configuring the environment (optional)
To have the interface default to a different network when a wallet is not connected:
- Make a copy of
.env
named.env.local
- Change
REACT_APP_NETWORK_ID
to"{YOUR_NETWORK_ID}"
- Change
REACT_APP_NETWORK_URL
to e.g."https://{YOUR_NETWORK_ID}.infura.io/v3/{YOUR_INFURA_KEY}"
Note that the interface only works on testnets where both Uniswap V2 and multicall are deployed. The interface will not work on other networks.
Contributions
Please open all pull requests against the master
branch.
CI checks will run against all PRs.
interface
Change Sourcemap
--
go into node_modules/react-scripts/config webpack.config.js and change devtool:"source-map" to devtool:"hidden-nosources-source-map"