BOSagora
  • Agora
    • What is BOSagora
      • Why BOSagora
      • BOSagora Chain
      • Consensus mechanism (POS)
      • Agora staking economics
  • BOSagora Chain info
  • Upgrades
    • The withdrawals upgrade for Mainnet
      • Withdraw your validator
    • The withdrawals upgrade for Testnet
  • Validator Start
    • Check list to be Validator
    • Running an Agora node and Validator
      • Agora Testnet
      • Agora Mainnet
  • VOTERA
    • Introduction
    • How to Vote
    • Business Proposal
    • System Proposal
  • Getting Started
    • Deploy Smart Contract
      • Using Remix
      • Using Hardhat
      • Using Truffle
    • ERC-20 Tokens
    • Deploy NFTs
      • NFT Metadata Standard
  • Tools
    • Wallets
      • Key Management
    • Block explorer
    • SDK
    • IDE
  • dAPPs
    • Get started
    • BOASwap
    • Bridge (BOASwap)
      • How to use a Bridge
Powered by GitBook
On this page
  • Javascript API libraries
  • Go libraries
Edit on GitHub
Export as PDF
  1. Tools

SDK

PreviousBlock explorerNextIDE

Last updated 2 years ago

Javascript API libraries

In order for a web app to interact with the Agora blockchain (i.e. read blockchain data and/or send transactions to the network), it must connect to an Agora node.

For this purpose, every Agora client implements the JSON-RPC specification, so there are a uniform set of that applications can rely on.

If you want to use JavaScript to connect with an Agora node, it's possible to use vanilla JavaScript but several convenience libraries exist within the ecosystem that makes this much easier. With these libraries, developers can write intuitive, one-line methods to initialize JSON RPC requests (under the hood) that interact with Agora.

The following Ethereum documents are relevant to Agora as the JSON-RPC specification is the same.

Web3.js - JavaScript API

Ethers.js - Complete Ethereum wallet implementation and utilities in JavaScript and TypeScript

Web3-wrapper - Typescript alternative to Web3.js

Alchemyweb3 - Wrapper around Web3.js with automatic retries and enhanced apis

Alchemy NFT API - API for fetching NFT data, including ownership, metadata attributes and more

Go libraries

- A simple Ethereum wallet implementation and utilities in Golang

endpoints
Documentation
GitHub
Documentation
GitHub
Documentation
GitHub
Documentation
GitHub
Documentation
GitHub
Ethereum Golang SDK