A repo for Dapp Discovery through Status https://dap.ps
Go to file
Jay-Prime b2111b1c1e
Add CDP Saver to the Utilities category
2019-06-03 01:13:32 +02:00
config Remove hardcoded embarkjs 2019-05-26 17:37:07 +03:00
contracts Modify discover contract in order to remove unnecessary rows 2019-05-19 12:27:18 +03:00
public Add CDP Saver png logo 2019-06-03 01:04:23 +02:00
src Add CDP Saver to the Utilities category 2019-06-03 01:13:32 +02: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 Add embarkArtifacts in gitignore 2019-05-26 17:38:08 +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 Update how to run section in the Readme 2019-05-26 17:53:08 +03:00
embark.json Remove hardcoded embarkjs 2019-05-26 17:37:07 +03:00
package.json Remove hardcoded embarkjs 2019-05-26 17:37:07 +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.

Steps to run the app:

  • embark run testnet --noserver

    Will connect to the ropsten blockchain and IPFS through Infura

    Ropsten contracts:

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

    Manual needed steps: Once embark is running:

    1. In embarkjs.js (row 532) -> change this._ipfsConnection.id() to be this._ipfsConnection.version() This is needed because Infura's IPFS has deprecated id endpoint, but it was used in embark in order to check if the Infura IPFS API is active.. The workaround above do the same as the deprecated functionality.
    2. In embark.json -> Change the row where "generationDir": "src/embarkArtifacts" to be just "generationDir": "embarkArtifacts". In this way you should not do step 1 every time you performingembark run testnet
  • 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.

    Important! If you get can't establish a connection to a node error, try to open http://localhost:3000 in chrome browser.

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.