Coder Social home page Coder Social logo

lacrypta / halving-massacre Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 3.0 1.83 MB

Halving Massacre

Home Page: https://massacre.lawallet.io

JavaScript 0.33% TypeScript 98.95% CSS 0.73%
bitcoin frontend game halving lightning massacre nextjs nip05 nostr react

halving-massacre's Introduction

Halving Massacre

Halving Massacre monorepo. Game Rules

What's inside?

This Turborepo includes the following packages/apps:

Apps and Packages

  • web: another Next.js app
  • @halving-massacre/nomad: Nomad react hooks
  • @halving-massacre/eslint-config: eslint configurations (includes eslint-config-next and eslint-config-prettier)
  • @halving-massacre/typescript-config: tsconfig.jsons used throughout the monorepo

Each package/app is 100% TypeScript.

Utilities

This Turborepo has some additional tools already setup for you:

Install all dependencies

You'll need pnpm

pnpm install

Setup .env for web

Copy the .env template

cp apps/web/.env.example apps/web/.env

Edit the proper values in the .env file

## Public
NEXT_PUBLIC_TICKET_PRICE="210" # In sats
NEXT_PUBLIC_TICKET_DESTINATION_PUBKEY="Ticket seller pubkey" # Who will receive the ticket payment
NEXT_PUBLIC_URLX_PUBKEY="e17feb5f2cf83546bcf7fd9c8237b05275be958bd521543c2285ffc6c2d654b3" # Nostr pubkey that emits the zapReceipt
NEXT_PUBLIC_MASSACRE_SETUP_ID="1" # EventID of the Massacre Game instance
NEXT_PUBLIC_PUBLISHER_PUBKEY="93163dd539d5ffca9020657b3021109a19cee08ce02b93d944422e3aeec76512" # Responsable of emitting game events


## Private
NOSTR_PRIVATE_KEY="MOCK_PRIVATE_KEY" # Responsable of emitting game events

Build

To build all apps and packages, run the following command:

cd halving-massacre
pnpm build

Develop

To develop all apps and packages, run the following command:

cd halving-massacre
pnpm dev

Made by with Eggs by:

halving-massacre's People

Contributors

agustinkassis avatar unllamas avatar fer-i10 avatar rapax00 avatar turbobot-temp avatar andreadiazcorreia avatar jjramirezn avatar

Stargazers

22388o⚡️  avatar  avatar  avatar  avatar

Watchers

Mariano Pérez Rodríguez avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.