I create my wallet with eth-lightwallet.
I am going to make the mobile app the same as the web app.
But in the app, when I call the write contract function on the website, the Metamask opens and I click the confirm and reject button.
result = await instance.methods.exampleContractfunction(p).send({
from: accounts[0],
});
Here, exampleContractFunction is the write function in the contract.
How can I use this module to call the write contract in the app?
I create my wallet with
eth-lightwallet
. I am going to make the mobile app the same as the web app. But in the app, when I call the write contract function on the website, the Metamask opens and I click the confirm and reject button.Here, exampleContractFunction is the write function in the contract. How can I use this module to call the
write contract
in the app?