I would like to thank you for the plugin you created, it is very useful for connecting WordPress and Web3.
Do you have or are you planning to set up an ABI connection to interact with contracts from a simple WordPress button? Currently, no one has yet implemented this type of plugin that would drastically improve the setup of Dapps with WordPress.
At this point I’m not trying to avoid shortcode development. Would a block work for you? A workaround I’ve seen from another user is installing Reusable Blocks Extended, which allows a shortcode to be mapped to a reusable block.
One other question for you – right now, we select a network (mainnet, Optimism, etc) in the RainbowKit Login settings and this network is used to perform any token validation for login/role assignment. Would it work for you if this was the same network we used for the contract interaction button?
I’d also like to explore whether I can have the function names and ABIs auto populate from Etherscan. Having the ability to enter function selector and ABI manually would be important to have as a fallback.
Please let me know if you have any other suggestions! I’m going to mark this as a resolved for now, but I have documented the suggestion on our Github repo for followup and will let you know once we ship this.
By the way, something else I thought of. We would probably want to start this with supporting only functions that don’t require any input values. That way we can hook the function up to a simple button interface. In the future, maybe we could auto-generate a simple form based on ABI.