Skip to content

Cardinal-Cryptography/darkforest-aztec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Darkforest Aztec

This monorepo hosts an experimental Darkforest-style game built on the Aztec network. Both the Noir contracts and the browser client are still under active development.

Prerequisites

  • Node.js 22+
  • Yarn 1.x
  • Nargo (to compile Noir contracts)
  • Aztec CLI (to compile, generate bindings, and deploy)

Install

yarn install

The root package.json uses workspaces, so this installs dependencies for both client and contracts.

Run Example App

  1. Install dependencies
yarn install
  1. Compile contracts and copy artifacts
yarn build-contract
yarn copy-artifacts
  1. Start aztec local network
aztec start --local-network
  1. Deploy contracts to local network
yarn deploy-contracts
  1. Start app development server
yarn dev
  1. For Perlin Noise go to http://localhost:3000/perlin-visualizer.html

Workspace layout

  • contracts/ - Noir sources, deployment script, and generated bindings (see contracts/README.md)
  • client/ - Web client that interacts with the deployed contract (see client/README.md)

About

Dark Forest Game on Aztec

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •