A repo for Dapp Discovery through Status https://dap.ps
Go to file
Kamen Stoykov ef294034b8 fixes 2019-05-21 15:46:41 +03:00
config Merge with github develop branch 2019-05-17 17:36:35 +03:00
contracts Modify discover contract in order to remove unnecessary rows 2019-05-19 12:27:18 +03:00
public Adds dBay 2019-04-23 10:47:39 +02:00
src fixes 2019-05-21 15:46:41 +03:00
test Fix services 2019-05-17 13:59:46 +03:00
utils Implement getDAppDataById to get a dapp with decoded metadata, add more examples for blockchainSDK usage, fix some validations, add support for converting from IPFS hash to bytes32 and vice versa, add error handling in getDAppById method, implement a singleton EmbarkJSService class, check for IPFS Storage availability before IPFS interaction, add instead of using 2019-05-07 18:25:11 +03:00
.editorconfig Initial setup of linting and basic dependencies (#1) 2019-03-13 11:13:34 +02:00
.eslintrc.json Merge head:develop 2019-05-08 12:19:39 +03:00
.gitattributes Add gitattributes for solidity 2019-04-09 10:38:42 +02:00
.gitignore Merge with github develop branch 2019-05-17 17:36:35 +03:00
.prettierrc Initial setup of linting and basic dependencies (#1) 2019-03-13 11:13:34 +02:00
.soliumignore Adds solium support, fixes linting issues 2019-04-09 22:54:21 +02:00
.soliumrc.json Adds solium support, fixes linting issues 2019-04-09 22:54:21 +02:00
CNAME Set up for launch 2019-04-17 13:15:16 +02:00
Discover_Specification.md Update contract name 2019-04-19 11:03:03 +02:00
LICENSE Initial commit 2019-02-14 11:27:28 +02:00
README.md Merge with github develop branch 2019-05-17 17:36:35 +03:00
embark.json Merge with github develop branch 2019-05-17 17:36:35 +03:00
package.json merge locally develop 2019-05-14 15:01:16 +03:00

README.md

Discover

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

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.

npm run build

Builds the app into the build directory.

npm run start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

embark run testnet --noserver

Will connect to the ropsten blockchain and IPFS through Infura

Ropsten contracts:

  1. SNT - 0x2764b5da3696E3613Ef9864E9B4613f9fA478E75
  2. Discover - 0x9591a20b9B601651eDF1072A1Dda994C0B1a5bBf

Important ! Don't touch src/embarkArtifacts folder and don't change generationDir from embark.config. In embarkjs.js there is an error, because Infura's IPFS has deprecated id endpoint. This is fixed now, but if you change embarkArtifacts folder, the error is goint to appear again because of the recreation of embarkArtifacts folder on each embark run

embark test

Will compile your contracts, with hot-reloading, and let you test them locally to your heart's content.

slither . --exclude naming-convention --filter-paths token

Make sure you get TrailofBits' latest static analysis tool, and do your own static analysis on the relevant contracts that will be deployed for Discover.