sgblockchain.sg
I can mint from wp-admin backend but not from the frontend…
-
This reply was modified 4 years, 6 months ago by
realmsg.
I think it may be because we are using a Polygon public RPC:
https://rpc-mainnet.maticvigil.com
An it may have rate limits:
If you have any trouble wait a few minutes and try again.
You can consider using yout own private RPC signing here:
https://rpc.maticvigil.com/
But this will require manually changes on the rpc address on javascript files of the plugin.
so where do I locate the plugin file and which file do I change?
In these files:
wp-smart-contracts/assets/js/wpsc-fe-nft-my.js
wp-smart-contracts/assets/js/wpsc-fe-nft.js
Search: https://rpc-mainnet.maticvigil.com/
And replace this with your custom RPC
Keep in mind that you need to do this change every time you update the plugin.
Unfortunately this is the only quick and dirty solution until we manage to allow this on the plugin.