Developer required with experience in developing express web servers and preferably experience with Web3 libraries also.
Deliverable is a class/function which queries an array of ethereum smart contract addresses using the web3 library, and returns the details of each address (details are returned as a promise).
The promise needs to be resolved and converted back to an array for insertion into a postgresql database.
Something like this (except working!):
---
for (let x = 0; x < address.length; x++) {
let temp = new web3.eth.Contract(ConfigParams.ABI, address[x]);
contract.push({ address: address[x], contract: temp } );
promises.push({
address: address[x],
name: temp.methods.NAME().call(),
owner: temp.methods.owner().call(),
} )
}
Promise.all(promises).then(function(result) {
postgres.save([all addresses],[all returned data])
} );
---
If the above makes relative sense to you, please apply.
I have various other pieces of work required, but this is the most urgent.
About the recuiterMember since Nov 11, 2022 Alex
from al-Qasrayn, Tunisia