Hello guys;
I'm using drizzle and @drizzle/vue-plugin packages and want to pass a transaction to MetaMask extension with defined amount of ethereum which will be deposited to the contract. I've searched a lot but no hope.
Current state:
this.drizzleInstance.contracts['MyContract'].methods['add'].cacheSend('My Text')
One of failed attempts to send eth with transaction:
this.drizzleInstance.contracts['MyContract'].methods['add'].cacheSend(...['My Text',{value: 3000000}])
Sep 19, 2021, 8:52 PM
.cacheSend('My Text', {from: this.activeAccount, value: 100000000})
Sep 20, 2021, 9:53 PM