Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 2.56 KB

File metadata and controls

57 lines (40 loc) · 2.56 KB

Labs

Chainstack is the leading suite of services connecting developers with Web3 infrastructure

         

Supported protocolsChainstack blogChainstack docsBlockchain API referenceStart for free

ethers.js ChainstackProvider demo

A simple demo to showcase the ChainstackProvider with ethers.js. This DApp uses Next.js 14 to fetch address balances from all the chains supported by the ethers ChainstackProvider.

Check out the tutorial on the Chainstack Dev Portal.

Learn more about the ChainstackProvider and which chains are supported on the Chainstack Docs.

Quick start

Clone this repository:

git clone https://github.com/chainstacklabs/ethers-chainstackprovider-demo-nextjs.git

Move into the Next app:

cd chainstackprovider-demo

Install dependencies:

npm ci

Start dev server

npm run dev

The DApp is now running on http://localhost:3000. Input an Ethereum address and click the button to fetch the balances from all the chains supported by the ChainstackProvider.