Example App
Look into an example app on Nexus
Example Counter on Nexus
To learn how to build and deploy an app on Nexus, take a look at the demo project below:
Overview
This project demonstrates a basic integration between a web application and the Nexus blockchain. It features a smart contract that maintains a counter which can only be incremented, showcasing fundamental blockchain interactions like:
-
Smart contract deployment
-
Wallet connection
-
Transaction signing
-
Event listening
-
State updates
The Smart Contract
You will learn how to deploy the following smart contract counter on Nexus:
Project Structure
The project is separated into two packages:
-
contracts
: A Hardhat project for deployingCounter.sol
on Nexus -
frontend
: A NextJS project for interacting withCounter.sol
on Nexus
We will share more end-to-end guides in the future.
Was this page helpful?