Adding your DApp to Status

From Status Wiki
This is the approved revision of this page, as well as being the most recent.
Jump to: navigation, search

Adding DApps

During the Alpha we are accepting example DApps as default contacts, to add your DApp to Status, you need to ensure it works on testnet (Ropsten or Rinkeby) and submit a single commit pull request to status-react with the following:

  • Place a square icon(85x85px or 192x192) of your DApp to images/contacts directory found here . The file should be named the same as your DApp, for example my-dapp.png. Make sure your icon fits and looks good with rounded corners.
  • Add information about this icon to react-native/src/status_im/react_native/resources.cljs, for example:
(def contacts
  {:auction-house (js/require "./images/contacts/auction-house.png")
   :my-dapp       (js/require "./images/contacts/my-dapp.png")})
  • Add your DApp to the list of existing DApps (resources/default_contacts.json):

    "my-dapp": {
        "name" :       {"en" : "My DApp"},
        "description": "My DApp ",
        "dapp-url":    {"en" : ""},
        "dapp?":       true,
        "photo-path":  "contacts://my-dapp"
Note: Icon name and map key in default_contacts should be a lowercase slug based on DApp name. Whitespace should be replaced with a dash and CamelCase names without, e.g. "My DApp" should be "my-dapp", but "CoolDapp" should be "cooldapp".

Default Contacts Requirements

In Status, users will always have the freedom to visit any URL and run any web-DApp they desire.

For Default Contacts we have the current requirements: DApps must be functional, mobile-responsive and interact with the Ethereum blockchain.

Also as a requirement at this moment, the DApp must be on a test-network to be added.

Current restrictions: Due to App Store & Play Store policy, unfortunately we do have some restrictions on which Contacts for DApps we can approve. Gambling & Pornography DApps are currently not accepted. For more details on restriction policy please read and this