Now that the ancient knowledge of adding DApps to status is known, Rachel will be the new master of curated DApps in status :D
Modify the content of src/status_im/ui/screens/contacts/default_dapps.cljs
To add a DApp, find the proper category (identified by :title
) then add the following modifed to the :data
array structure:
{:name "Bancor"
:dapp-url "https://www.bancor.network/"
:photo-path "contacts://bancor"
:description "Bancor is a decentralized liquidity network"}
Copy the DApp image in resources/images/contacts
.
Modify the content of src/status_im/react_native/resources
Add following modified line:
:bancor (js/require "./resources/images/contacts/bancor.png")
Where :bancor
macthes the photo-path
value from first step and the resource location the file name from second step.
Then you can go ahead and create a PR !