/entropyx

Beta Build In Progress. Will update message once build is served.

Primary LanguageJavaScriptMIT LicenseMIT

Da-Fi DAO EntropyX

Special thanks to yearn.finance & Andre Cronje, IOHK, Emurgo, & Cardano community!

Da-Fi DAO is developing a widely interoperable data agnostic nueral network and arbitrage framework. Da-Fi DAO's Nueral Arbitrage Valve (NAV) will allow users to stream arbitrage opportunites as they occur much like tickers stream sports, news, & stock information. In order to "open the valve", a user must deposit DA-FI token to begin the stream

Production Build Deployment Styled With Prettier

Helpful links

Setup

cp .env.sample .env

And then populate .env with your endpoints

Development

$ yarn dev

Testing on mainnet fork

To test the webapp with a local mainnet fork with some pre-filled tokens you can run:

./run_mainnet_fork.sh

The webapp will start in DEV mode and will be available at: http://localhost:3000

The local RPC client (ganache-cli) will be available at: http://localhost:8545

[Important]:

  • SET WEB3_INFURA_PROJECT_ID and ETHERSCAN_TOKEN variables in the .env file.
  • SET WEB3_PROVIDER_HTTPS and WEB3_PROVIDER_WSS variables in the .env file with your alchemy key
  • Set USE_LOCAL_RPC variable to TRUE on .env file.
  • Change Metamask to Localhost RPC endpoint :)

Brownie + dockerized ganache-cli

Install brownie >= 1.13.2

pip install "eth-brownie>=1.13.2"

Connect to your local mainnet-fork:

brownie console

Production

$ yarn build
$ yarn start

Contributing

Code style follows prettier conventions (yarn prettier). Commit messages follow the Conventional Commits spec.