Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 1.59 KB

README.md

File metadata and controls

63 lines (42 loc) · 1.59 KB

Deco / Decentralized Commerce

Developed at Hack Money 2022

About

This project lets users mint IRL small businesses as NFTs and set them to create products or services and offer them on decentralized commerce as ERC 721 tokens.

90% of the income for products or service sales is deposited to the business owner while 10% is deposited into a vault to generate income from de-fi protocols. Punk Cities players will be able to verify Deco business to get Energy and Chips as rewards and use them to buy products or services on Deco and Deco owners will be able to exchange their energy and chips for ERC20 tokens.

Contracts

📚 Business NFT

📚 Service NFT

📚 Vault NFT

Built with:

-Nuxt.js -ERC721 contracts -Wallet Connect -Coinbase Wallet -IPFS -Covalent

Dev Environemnt

Working with Polygon Mumbai testnet contracts (further update to deploy your own contracts)

  1. Make .env.sample
touch .env.sample

add environment variable

GOOGLE_MAPS_API_KEY=
MORALIS_APP_ID=
MORALIS_SERVER_URL=
CONTRACT_PUNK_CITIES=""
CONTRACT_BUSINESS_NFT=""
CONTRACT_SERVICE_NFT=""
CONTRACT_VAULT=""
NFT_STORAGE_API_KEY=""
  1. Install dependencies
npm install
  1. Start developmment
npm run dev
  1. 📱 Open http://localhost:3000 to see the app