API for automatic transactions between Ronin & Metamask wallets

Job ID: 30909336

Budget: $30 – $250 CAD

Hello,

I have a small project I need to get done. Node.js is the preferred target environment.

Project 1) You will expose a payment API that has five functions. The functions all must be auto confirm, requiring no user intervention.

i) readRoninContents(roninSrcAddress):
input = Ronin wallet address under my ownership
output = the tokens and their amounts

ii) roninToRonin(roninSrcAddress, roninDestAddress, tokenType, amount):
input = Ronin wallet address under my ownership, a destination Ronin wallet address, a token type, and an amount
output = address I can poll to determine the status of the transaction

iii) transactionStatus(roninAddress)
input = polling address returned in ii) above
output = current status

iv) ethToWeth(ethSrcAddress, roninDestAddress, ethAmount):
input = Metamask etherium address, Ronin destination address, ETH amount
output = address I can poll to determine the status of the transaction

v) ethToWethResult(ethAddress):
input = polling address returned in iv above
output = current status

Some technical details:

The Ronin wallet is similar to Metamask.

Ronin wallet: https://chrome.google.com/webstore/detail/ronin-wallet/fnjhmkhhmkbjkkabndcnnogagogbneec
Ronin Eth bridge: https://bridge.axieinfinity.com/
Metamask wallet: https://metamask.io/index.html
Metamask wellet src: https://github.com/MetaMask

Ronin smart contracts: https://github.com/axieinfinity/ronin-smart-contracts <-- used to transfer eth to weth on the Ronin bridge

(Users can deposit ETH, ERC20, and ERC721 (NFTs) by sending transactions to MainchainGatewayManager, and waiting for the deposit to be verified on Ronin. The gateway should have a mapping between token contracts on Ethereum and on Ronin before the deposit can take place)

Inbox for more details!
Related categories: JavaScript Web Scraping Node.js Blockchain Ethereum