I am trying to build a dApp where a user A sends a request to a user B mentioning a certain sum of ether that B can get.
If B accepts the offer, then B get the ether proposed by A.
When I'm logged in with B's address, I can't call the smart contract using A's address, which makes sense. However, I was wondering if there is something similar when logged with B's address as :
this.state.contract.methods.myFunction().send({ from: A_Address })
To sum up, I want that A sends a certain amount of Ether to B when B clicks on a button and the button appears only if A has allowed his consent. Is it possible ?