Web3·js
Last updated
Last updated
Web3.js is a collection of tools that enable programmers to communicate with Ethereum nodes through HTTP, IPC, or WebSocket protocols using JavaScript. Atleta Olympia has a similar API, which can be used with the same JSON RPC calls as Ethereum, allowing developers to utilize the Web3.js library to interact with an Atleta Olympia node as if it were Ethereum.
Create a JavaScript Project to store all of the files you'll be creating mkdir web3-examples && cd web3-examples
Install the Ethers.js library and the Solidity compiler npm install web3 solc@0.8.0
Setup Web3.js with Atleta Olympia chain