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

Apr 26, 2024
e9466ed Β· Apr 26, 2024

History

57 Commits
Apr 26, 2024
Nov 20, 2021
Apr 26, 2024
Nov 21, 2021
Jan 11, 2022

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