/solidity-tutorial

Learning project: Solidity + Next.js

Primary LanguageTypeScript

Solidity Keyboard Generator

Mechanical Keyboard Builder .Web3

Preview

Overview

This app lets you create and brag you mechanical keyboard on blockchain!

You can also tip other user's keyboards (and take tips for yours!)

It's using Ethereum testnet (Goerli), so you don't need to spend real money to play with it.

Being deployed, this app is completely serverless and static, all the backend work being processed by smart-contract.

Requirements

  • Node.js
    Minimum: 16.x
    Recomended: 18.12 or later

Install

Install dependencies

yarn

Set up environment variables as follows:
https://docs.alchemy.com/docs/alchemy-quickstart-guide

NODE_API_URL=""
GOERLI_PRIVATE_KEY=""

Deploy smart-contract

hardhat run deploy

Development

Install git hooks

For commit lint

yarn prepare

Run dev server

yarn dev

Navigate to http://localhost:3000

Test

yarn test-chain