🌐
Atleta Network
English
English
  • 👋Welcome
    • Introduction
      • What is Atleta?
      • Considerations
  • ⛓️Atleta L1
    • Performance
    • Consensus
      • NPoS
        • BABE
        • GRANDPA
    • Staking
      • Validators
        • Process
        • Configuration
      • Nominators
        • Nominator Pools
      • Rewards
        • Slashing Mechanism
          • Misbehavior Cases
    • $ATLA
      • Tokenomics
    • Interoperability
      • Parachains
      • XCM+
    • Governance
      • Gov Specifications
        • Gov (Without Staking)
      • Treasury
    • Virtual Machine
    • Looking Ahead
  • 🧪Testnet
    • Olympia information
  • 👨‍💻DEVs
    • Build - ⚙ - Testent
      • Building on Atleta Olympia
        • EVM Compatibility
        • Atleta Olympia Contracts
        • Fees
      • Smart Contract Development
        • ATIP
        • ATS
        • Tech Stack
      • Deploy Your EVM App
        • Deploy on Atleta Olympia
        • Hardhat
        • Foundry
        • REMIX
        • Ethers·js
        • Web3·js
      • Tools
        • Node providers
        • Block Explorers
      • Source code
  • ⚙️NODE
    • Run a validator node
    • Run an archive node
  • 💱Grants
    • Atleta Grants Program
      • Ecosystem Grants
        • Application & Requirements
        • Payments
      • 🚧RPGF
      • 🚧Hackathons
  • 📒Guides
    • Testnet "How-To's"
      • “Connect to Olympia Testnet”
      • "Claim $ATLA via Faucet"
      • “Stake Testnet $ATLA tokens”
      • “Governance on Olympia Testnet”
      • “Trade on the DEX ”
      • “Use Atleta Olympia Leaderboard”
  • ❓FAQs
    • F.A.Q.'s
  • ℹ️Resources
    • 😄Social Channels
      • Twitter / X
      • Medium
      • Discord
      • Youtube
      • Instagram
      • Telegram
    • 🌐Website (Atleta)
    • 📄BCSports Docs
    • 📖Atleta Terminology
Powered by GitBook
On this page
  • What is Web3.js?​
  • Getting Started with Web3.js​
  1. DEVs
  2. Build - ⚙ - Testent
  3. Deploy Your EVM App

Web3·js

PreviousEthers·jsNextTools

Last updated 12 months ago

What is Web3.js?

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.

Getting Started with Web3.js

  1. Create a JavaScript Project to store all of the files you'll be creating mkdir web3-examples && cd web3-examples

  2. Install the Ethers.js library and the Solidity compiler npm install web3 solc@0.8.0

  3. Setup Web3.js with Atleta Olympia chain

    const Web3 = require('web3');
    
    // Create Web3 instance
    const web3 = new Web3("https://testnet-rpc.atleta.network"); // Insert your RPC URL her
👨‍💻
​
​