From b168646a4338ede5f7b65e7394203686704a0d58 Mon Sep 17 00:00:00 2001 From: Brian H <56947075+BrianHHough@users.noreply.github.com> Date: Mon, 28 Oct 2019 01:12:48 -0400 Subject: [PATCH] Create Remove_Web3.js_injection_from_dapp.md Bounty about dapps on the blockchain! --- Remove_Web3.js_injection_from_dapp.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Remove_Web3.js_injection_from_dapp.md diff --git a/Remove_Web3.js_injection_from_dapp.md b/Remove_Web3.js_injection_from_dapp.md new file mode 100644 index 0000000..844b57b --- /dev/null +++ b/Remove_Web3.js_injection_from_dapp.md @@ -0,0 +1,9 @@ +BOUNTY_NAME : Remove Web3.js injection dependency from your Dapp + +LINK_TO_ORIGINAL_BOUNTY_ANNOUNCEMENT : https://explorer.bounties.network/bounty/2326 + +LINK TO APPLY FOR BOUNTY : https://explorer.bounties.network/bounty/2326 + +BOUNTY_AMOUNT : 10 DAI [$$10.07 USD] + +OTHER_DETAILS : A common issue we see in Dapps is that their developers assume that a Web 3 browser == MetaMask and that they will magically have access to a Web3.js library, injected inside the page on their behalf. We see this implicit dependency & injection as a bad practice that needs to disappear for the ecosystem to move forward. Developers should import the web3 convenience library of their choice and build their Dapp on top of that, just as they do for other Javascript libraries. Opera exposes a Web3 Provider (window.web3.currentProvider) which you need to instantiate your own web3 object from. Removing this dependency on MetaMask Web3.JS library injection will make your dapp more compatible and resilient with other Web3 browsers such as Opera and make it future-proof as this will likely be deprecated.