gruzzlymug / crime-lab

Crypto-native Board Game Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ”ͺ Minimal Stab TS

Templated from Scaffold-Eth Typescript

Typescript

This was the typescript repo of scaffold.eth. Check out the directories:

packages/vite-app-ts/
packages/hardhat-ts/

Quick Start

Running the app

  1. install dependencies

    yarn install
  2. start a hardhat node

    yarn chain
  3. run the app, you'll need to open a new command prompt

    yarn contracts:build
    yarn deploy
    yarn start

Overview

Everything you need to build on Ethereum! πŸš€

πŸ§ͺ Quickly experiment with Solidity using a frontend that adapts to your smart contract.

Building on scaffold-eth-typescript

πŸ” Edit your smart contracts in packages/hardhat-ts/contracts

πŸ“ Edit your frontend in packages/vite-app-ts/src

πŸ’Ό Edit your deployment scripts in packages/hardhat-ts/deploy

πŸ“± Open http://localhost:3000 to see the app

Installing Dependencies

Node Version Manager (nvm)

touch ~/.bash_profile
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash
exec $SHELL
source ~/.bash_profile
nvm --version

Node Version 14

nvm install 14

Yarn

curl -o- -L https://yarnpkg.com/install.sh | bash
exec $SHELL

About

Crypto-native Board Game Project

License:MIT License


Languages

Language:TypeScript 76.7%Language:Solidity 10.8%Language:JavaScript 6.2%Language:Shell 3.9%Language:Dockerfile 1.0%Language:HTML 0.7%Language:CSS 0.5%Language:Less 0.2%