How do I interact with ERC721 smart contracts using Flutter?

764 views Asked by At

I am looking to create a dapp with Flutter that lets users mint NFT's. I know that there is the Web3 package and I have seen also examples how to interact with ERC contracts. But is it possible to interact with ERC721 contracts with Flutter and Web3? Can someone point me in the right direction? I want to avoid building it in react as I have more experience with Flutter.

1

There are 1 answers

2
Dom On

It looks like author of the flutter_web3 package has it planned as noted in this recent issue. Looking at how the ABI is implemented for ERC1155 in commit #9, it doesn't look too difficult to implement ERC721 the same way. If the author can't do this in the next month or so I'll probably take a stab at it myself.

The author also wrote an interesting article about the basics of writing a flutter application that uses the flutter_web3 package mentioned above.