Hi all, I need some help for the upstart of a project. A microservice has to call the execution of a solitidy contract method and get back results. How do I connect the microservice (in NodeJS) with the contract? Can someone point me to the appropriate link?
May 24, 2022, 1:42 PM
you need to use ethers.js or web3.js to interact with blockchains
That's your starting point
https://docs.ethers.io/v5/api/contract/example/#example-erc-20-contract--connecting-to-a-contract
That's your starting point
https://docs.ethers.io/v5/api/contract/example/#example-erc-20-contract--connecting-to-a-contract
May 24, 2022, 2:02 PM
Thanks a lot Krakovia
May 24, 2022, 2:06 PM