THIS REPO IS STILL NOT FIT FOR PUBLIC CONSUMPTION. USE AT YOUR OWN RISK.
Getting this to build can be tricky.
0. Run npm install
- Follow the instructions on modifying
node_modules/
in the web3.js github issue to disable issues here. After that, check outscripts/web3-patch.js
for a post-install script which should handle the rest. If there are still issues, proceed below: - Modify package.json to remove the
fs
dependency. - Check the version numbers for all of the
0x
stuff because it's trying to work withv2
. - Remove the weird
Ganache
innode_modules
(just comment it out) - This commit here helps explain how to set up the 0x libraries.
- Add your own blocknative API key and Infura API key in
web3Enabled.js
ng serve
should spin up a local instance