This post is the continuation of the previous post: How to call methods of Ethereum Smart-Contracts from WordPress with MetaMask, Web3 and Javascript Now we want to call the method “buy” and send some Ether in the transaction to buy tokens from our Ethereum Smart-contract (for MAAT tokens). Then we must change the javascript code…
Read More