GithubHelp home page GithubHelp logo

jaredborders / octoplace Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 3.0 1.27 MB

NFT Marketplace supporting ERC721 & ERC1155 token standards

Home Page: https://octoplace-jaredborders.vercel.app/

Solidity 31.49% JavaScript 65.25% CSS 3.26%
ethereum web3

octoplace's Introduction

OctoPlace - NFT Marketplace by Octos.eth

  • Supports buying and listing NFTs
  • Supports both ERC721 and ERC1155 token standards
  • NOTICE: All NFTs on Kovan test network are for testing purposes only! I do not claim ownership and am only using those images to replicate what is seen elsewhere.

Big fan of these in case you couldn't tell

Frontend Improvements (Future)

  • Add alert/prompt for when no browser wallet is detected
  • While minting new NFT, show progress bar/indicator
  • Test!!

Quick start

The first things you need to do are cloning this repository and installing its dependencies:

git clone https://github.com/JaredBorders/OctoPlace.git
cd OctoPlace
npm install

Once installed, let's run Hardhat's testing network:

npx hardhat node

Then, on a new terminal, go to the repository's root folder and run this to deploy your contract:

npx hardhat run scripts/deploy.js --network localhost

Next, update the config.js file with the three address generated via the deploy script

export const marketAddress = "ADDRESS_GOES_HERE";
export const erc721TradableAddress = "ADDRESS_GOES_HERE";
export const erc1155TradableAddress = "ADDRESS_GOES_HERE";

Finally, we can run the frontend with:

npm run dev

Note: There's an issue in ganache-core that can make the npm install step fail.

If you see npm ERR! code ENOLOCAL, try running npm ci instead of npm install.

Open http://localhost:3000/ to see your Dapp. You will need to have Metamask installed and listening to localhost 8545.

User Guide

You can find detailed instructions on using this repository and many tips in its documentation.

Try running some of the following tasks:

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help

What’s Included?

  • Hardhat: An Ethereum development task runner and testing network.

  • Mocha: A JavaScript test runner.

  • Chai: A JavaScript assertion library.

  • ethers.js: A JavaScript library for interacting with Ethereum.

  • Waffle: To have Ethereum-specific Chai assertions/mathers.

  • See config.js for contract deployment addresses on Kovan network

Troubleshooting

  • Invalid nonce errors: if you are seeing this error on the npx hardhat node console, try resetting your Metamask account. This will reset the account's transaction history and also the nonce. Open Metamask, click on your account followed by Settings > Advanced > Reset Account.

octoplace's People

Contributors

jaredborders avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.