• Resolved thrillex

    (@thrillex)


    Dear Dave

    Firstly, thank you so much for developing this plugin!
    Is it possible to add Polygon support? I’m happy to donate if this can be implemented quickly.

    As far as Infura is concerned, they provide a matic endpoint as an “addon”. I suppose you could always allow users to put in their own Infura Project ID to save costs for yourself. It is a free addon for the low tier subscriptions.

    Additionally, web3 is currently able to interact with polygon (very much like ethereum) so i suspect this could be implemented without much difficuly.

    Kind regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author dave123

    (@dave123)

    I started looking into Polygon support. Since it’s compatible with Ethereum, I think it might already work as long as your wallet is connected to polygon. I’ll need to buy a polygon NFT and test it out.

    Thread Starter thrillex

    (@thrillex)

    I could send you one if you like?

    Plugin Author dave123

    (@dave123)

    I ended up buying a Polygon NFT for testing. The good news is the verification works just like for Ethereum, but only if your wallet is already connected to the Polygon network. I’ll just need to put in some better messaging and error handling when the wallet is connected to a different network

    Thread Starter thrillex

    (@thrillex)

    Awesome! Is it functional now? I tried just changing the contract to the poly contract but it didn’t seem to work for me.

    Plugin Author dave123

    (@dave123)

    Just released a new version of the plugin 1.2.0 with Polygon support. Give it a try and let me know

    Thread Starter thrillex

    (@thrillex)

    Hi Dave,
    I’ve just given it a go and while it is now able to connect to a polygon mainnet wallet, it doesnt seem to verify ownership.

    Could it be that the ABI has to be entered manually by the user for the contract?

    I just ran it through the debugger and it seems to skip this line:
    nft-login-module.js:142

    window.ethereum.request({method: ‘eth_requestAccounts’})

    From the UX perspective, once the button is clicked, it connects to the wallet and then “does nothing”.

    • This reply was modified 3 years ago by thrillex.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Polygon Support’ is closed to new replies.