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) and submit a single commit pull request to status-react with the following:
-
Place a square icon(
85x85px
or192x192
) of your DApp toimages/contacts
directory. The file should be named the same as your DApp, for examplemy-dapp.png
. -
Add information about this icon to
src/status_im/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"
},
"photo-path": "contacts://my-dapp",
"dapp?": true,
"dapp-url":
{
"en": "http://link-to-your-dapp.com"
}
}
]