Supported protocols • Chainstack blog • Chainstack docs • Blockchain API reference • Start for free
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.
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
.