Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Jazz
    @allthisjazz_twitter
    @DappGuy yes :)
    DappGuy
    @DappGuy
    i have problem
    no web3 is injecting
    what is changed in dexon code that is causing this?
    when i use arcade x it inject fine
    but when i deploy my own dapp no web3 is injecting
    i thought nothing was changed from eth?
    Jazz
    @allthisjazz_twitter
    @aitjcize ?
    or @CHAOWEICHIU
    Wei-Ning Huang
    @aitjcize
    Did you use window.dexon?
    You need to do this:
        web3 = new Web3()                                                                                                                                                                        
        web3.setProvider(window.dexon);
    Wayne Chiu
    @CHAOWEICHIU
    Awesome !
    Jazz
    @allthisjazz_twitter

    📲 The DEXON Wallet app is now available on @/all iOS devices!

    DEXON Wallet is a decentralized cryptocurrency wallet. Use DEXON Wallet to secure your crypto assets and browse DApps on DEXON (DXN/DRC20) & Ethereum (ETH/ERC20).

    With DEXON Wallet, you can safely store and manage your DXN assets, and directly interact with DEXON-powered DApps. If you are a developer, it’s easy to develop DApps on DEXON network with ease through the SDK provided for mobile.

    Features:
    ✅ Safely Manage Your Crypto: No centralized servers. Secure your private keys offline.
    ✅ Explore Decentralized World: Interact with DApps directly with Web3 browser.
    ✅ All Assets in One Place: Switch and manage your wallets with ease.

    📢 Search DEXON on the App Store or download through this link: https://itunes.apple.com/app/dexon-wallet/id1459843240 (Coming soon on Android devices. Stay tuned!)
    📢 Go to https://dexon.org/faucet to get free DXN!

    DappGuy
    @DappGuy
    @aitjcize i will read now thx
    DappGuy
    @DappGuy
    i wish you just left it same. now it takes time to port dapp instead of being instant
    DappGuy
    @DappGuy
    if i set dexon rpc on metamask then my web3 works fine
    DappGuy
    @DappGuy
    @aitjcize
    Wayne Chiu
    @CHAOWEICHIU
    @DappGuy what error did you get right now?
    Hsuan Lee
    @boczeratul
    @DappGuy actually in Metamask they are planning to remove the global web3 injection in the future
    It is preferred to use the window.ethereum object as provider instead
    The same way as window.dexon
    The problem is that each Ethereum-like provider can still have slight differences
    And with the single web3 injection it’s less flexible
    Hsuan Lee
    @boczeratul
    another difference is that, web3.js itself is changing rapidly and there are often breaking changes
    By separating web3 and provider
    You can control your web3 version better
    Otherwise you rely on Metamask to control it for you
    So, it’s unfortunate that DApp developers have to do this adjustment. But please understand that this is designed for better future proof, not just because we want to be different
    DappGuy
    @DappGuy
    there is no need to change
    if you actually read the post correctly its switching but will still always support legacy
    im telling you will lose many developers if you dont switch this back
    same issue with dexon wallet on mobile
    its major loss for you guys
    Hsuan Lee
    @boczeratul
    Thank you for your suggestion.
    DappGuy
    @DappGuy
    i only have 24 hours in a day, there is multiple evm compatible chains running high value bounty's, im not going to waste my time changing code when dexon shouldnt have changed it in the first place
    i give you one last chance to change it back or i am leaving.
    you need to start respecting developers on your chain or there wont be any left soon.
    Hsuan Lee
    @boczeratul

    I sincerely respect developers very much. Competent ones.
    For any competent developer the change takes less than 3 minutes. I can already make the switch 10 times with the time you spend here complaining.

    We’re not asking you to refactor or anything, just to load a script. It’s much better to lock onto a version of web3 by yourself, than having to change all the usages in your code when Metamask has to upgrade the version of the globally injected web3.

    Hsuan Lee
    @boczeratul

    Please use your sharp developer brain and think: how many Ethereum users and developers have Metamask installed on their browsers? What happens when you try to inject the same web3 object globally? You get a global object conflict.
    Sometimes you will get the Metamask web3, sometimes you get the dexon web3.

    Even if we want to do it the dirty way and inject a global web3 object, we will have to use another name, and you will still have to change the code, one way or another.

    CLONEQUEEN
    @CLONEQUEEN
    Hello can I get some help
    I deployed smart contract on dexon but for some reason the web3 isn’t working??
    Please help
    Wei-Ning Huang
    @aitjcize
    Any error msg?
    CLONEQUEEN
    @CLONEQUEEN
    No
    It worked fine deploying the contract
    Wei-Ning Huang
    @aitjcize
    CLONEQUEEN
    @CLONEQUEEN
    When I try and use any buttons with function there is no window coming up
    Wei-Ning Huang
    @aitjcize
    you are using with DEXON wallet right?
    you need to use window.dexon instead of window.ethereum