josephakayesi / aloe-ropsten

A self hosted web3 nft collectibles market

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aloecollectv

A self hosted web3 nft collectibles market

Usage

Create a .env file, create and update parameters as seen below

Environemt Key Description Example
NODE_ENV Node environment development
PORT Node server port 5000
PRIVATE_KEYS Ethereum wallet private keys 8da4ef21b864d2cc526dbdb2a120bd2874c36c9d0a1fb7f8c63d7f7a8b41de8f
INFURA_ID Infura account id 7e40f09ch714db5s9061bcc95e58c72

Stack

  • ERC721 - ERC721 token standard (Non Fungible Tokens)
  • Metamask Wallet - Metamask wallet
  • Truffle - Development framework
  • NextJS - Frontend framework
  • Redux - State management
  • Solidiy - Smart contract language
  • Ganache - Local blockchain network
  • Web3 - Library to interact with ethereum nodes
  • JavaScript - Logic for minting tokens and testing smart contracts
  • Typescript - Language used with frontend framework
  • Infura - Connection to ethereum networks

Installation

  • Install truffle globally
npm i -g truffle
  • If you opt to use ganache cli rather than the ganache gui, install the cli globally
npm i -g ganache-cli
  • Run ganache-cli in different terminal and keep running
ganache-cli
  • Install ipfs
npm i -g ipfs
  • Run ipfs
jsipfs daemon
  • Change directory into the project and install dependencies
npm i

Migrating contracts and testing locally

  • Compile the contract
npm run compile
  • Test the contract
npm run test
  • Migrate contract
npm run migrate:dev
  • Mint tokens
npm run mint:dev
  • Start application locally
npm run start

About

A self hosted web3 nft collectibles market


Languages

Language:TypeScript 65.8%Language:JavaScript 18.7%Language:CSS 10.3%Language:Solidity 5.1%