Simple Ethereum Project Metamask

Job ID: 36531509

Budget: $10 – $50 USD

MetaMask - Simple Ethereum Project

We need to transfer a .eth domains from one metamaks wallet to another metamask wallet using an API. You will implement this unique operation using web3.js or ethers.js :

Boolean result = transferEthDomain(String domain.eth, String metaMaskWalletSource, String metaMask WalletDestination).
result = true if the domain was transferred or false if not (show error).
To implement this project only free resources can be used. That is, we will not use features like quicknode, infura, etc.
That is all.

NOTE:
We were able to transfer .eth balance from one metamask wallet to another using the code below but we need your help to transfer a domain from one wallet to another

Our code:
const receipt = await web3.eth.sendTransaction({
to: destinationWallet,
from: user,
gas: 100000,
value: valueToTransferInWei,
});
Related categories: Blockchain Ethereum Smart Contracts Metamask