discover-dapps/README.md

32 lines
1.3 KiB
Markdown
Raw Normal View History

2019-04-19 09:03:03 +00:00
# Discover
2019-04-08 20:38:00 +00:00
A repo for Dapp Discovery through Status, and any other browser. Viewing curated information does not require any special tools, though effecting the way information is ranked will require a web3 wallet, whether that is Status, MetaMask, Trust, Brave or whichever one you prefer.
## Available Scripts
2019-04-08 20:38:00 +00:00
This project is based on Embark v4.0.1, with a few things customised for React. Currently, you'll need to run the app and Embark separately, in different tabs in your terminal.
2019-04-19 09:03:03 +00:00
### `npm run build`
2019-04-08 20:38:00 +00:00
Builds the app into the `build` directory.
2019-04-19 09:03:03 +00:00
### `npm run start`
Runs the app in the development mode.<br>
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.<br>
You will also see any lint errors in the console.
2019-04-08 20:38:00 +00:00
### `embark run --noserver`
Will start a local blockchain node, download the right compiler, compile and deploy your contracts and offer you a beautiful web3 terminal.
### `embark test`
2019-04-08 20:38:00 +00:00
Will compile your contracts, with hot-reloading, and let you test them locally to your heart's content.
2019-04-19 09:03:03 +00:00
### slither . --exclude naming-convention --filter-paths token
Make sure you get TrailofBits' [latest static analysis tool](https://securityonline.info/slither/), and do your own static analysis on the relevant contracts that will be deployed for Discover.