Skip to content

Idea marketplace where ideas are a gated dynamic NFT that opens up to different team players (makers/developers, customers, investors, experts) incentivized to progress the idea into the real world. Ideamarket = Kickstarter+Patreon+Open Collective

Notifications You must be signed in to change notification settings

alitarraf/ideamarket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ideamarket

Idea marketplace where ideas are a gated dynamic NFT that opens up to different team players (makers/developers, customers, investors, experts) incentivized to progress the idea into the real world.

Client side app currently at: https://tidai-app.web.app/

development

Environment keys

In the packages/react-app folder, copy .env.example file as .env

Add firebase keys.

Install

Be sure to have firebase globally installed first

npm install -g firebase-tools

  1. Run yarn to install all packages
  2. cd packages/react-app/functions
  3. Run npm install to install packages for firebase functions
  4. cd ../../../
  5. Run yarn emulators to start firebase emulators on localhost:4000
  6. Open a 2nd terminal
  7. Run yarn start to start react app development on localhost:3000

Below is README info from the template this project was use on, kept for information.

🏄‍♂️ Quick Start

Manual setup

Prerequisites: Node plus Yarn and Git

install and start your 👷‍ Hardhat chain:

yarn install
yarn chain

in a second terminal window, start your 📱 frontend:

yarn start

in a third terminal window, 🛰 deploy your contract:

yarn deploy --network NETWORK_OF_CHOICE (localhost, kovan, rinkeby, mainnet)

🔏 Edit your smart contract YourContract.sol in ``

📝 Edit your frontend App.jsx in packages/react-app/src

💼 Edit your deployment scripts in ``

📱 Open http://localhost:3000 to see the app

✏️ Edit the mint script mint.js in packages/hardhat/scripts and update the toAddress to your frontend address (wallet address in the top right or localhost:3000).

nft1

in a terminal window run the mint script:

yarn mint

nft2

👀 You should see your collectibles show up if you minted to the correct address:

nft3

👛 Open an incognito window and navigate to http://localhost:3000 (You'll notice it has a new wallet address).

⛽️ Grab some gas for each account using the faucet:

nft4

🎟 Send an NFT to the incognito window address:

nft5

🕵🏻‍♂️ Inspect the Debug Contracts tab to figure out what address is the owner of YourCollectible?

💼 Edit your deployment script deploy.js in packages/hardhat/scripts

🔏 Edit your smart contract YourCollectible.sol in packages/hardhat/contracts

📝 Edit your frontend App.jsx in packages/react-app/src

🔑 Create wallet links to your app with yarn wallet and yarn fundedwallet

⬇️ Installing a new package to your frontend? You need to cd packages/react-app and then yarn add PACKAGE

📡 Deploy NFT smart contract!

🛰 Ready to deploy to a testnet?

Change the defaultNetwork in packages/hardhat/hardhat.config.js

nft6

🔐 Generate a deploy account with yarn generate

nft7

👛 View your deployer address using yarn account (You'll need to fund this account. Hint: use an instant wallet to fund your account via QR code)

nft8

👨‍🎤 Deploy your NFT smart contract:

Make sure your target network is present in the hardhat networks config, then either update the default network in hardhat.config.js to your network of choice or run:

yarn deploy --network NETWORK_OF_CHOICE

✏️ Edit your frontend App.jsx in packages/react-app/src to change the targetNetwork to wherever you deployed your contract:

nft9

You should see the correct network in the frontend:

nft10

🎫 Ready to mint a batch of NFTs for reals?

yarn mint

Once verified, they will then be available to view on Tenderly!

nft11

🔭 Learning Solidity

📕 Read the docs: https://docs.soliditylang.org

📚 Go through each topic from solidity by example editing YourContract.sol in 🏗 scaffold-eth

📧 Learn the Solidity globals and units

About

Idea marketplace where ideas are a gated dynamic NFT that opens up to different team players (makers/developers, customers, investors, experts) incentivized to progress the idea into the real world. Ideamarket = Kickstarter+Patreon+Open Collective

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published