Skip to content

0xMilica/zksync-number-guessing

Repository files navigation

Number Guessing

Demonstration of creating Full Stack application on zkSync
Consisting of:

  1. Solidity Smart Contracts
  2. React Frontend Application

Deployments on zkSync

The Smart Contracts are deployed on zkSync's Goerli Testnet on the next addresses:

Project requirements

You'll need next software installed on your machine before starting:

  • Installed Node.js 18
  • Installed yarn package manager
  • Installed GIT version control system

Running the project

Steps should be followed in the given order.

General:

  1. Clone the repo: git clone https://github.com/0xMilica/zksync-number-guessing
  2. Navigate to the folder: cd zksync-number-guessing

Smart Contracts:

  1. Create an .env file from the template: cp .env.example .env
  2. Fill the .env values with your own
  3. Install dependencies: yarn
  4. Compile the contracts: yarn compile
  5. Run the tests: yarn test

Frontend

The frontend is hosted at https://zksync-number-guessing.netlify.app/
If instead, you wish to run it locally, follow the next steps:

  1. Navigate to the Frontend folder: cd frontend
  2. Install dependencies: npm i
  3. Start the application in development mode: npm run start
  4. Open http://localhost:3000 to view it in your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published