Git Product home page Git Product logo

nakamonsta-nft-marketplace's Introduction

Nakamonsta

Catch, collect and fight collectible monsters. This is an open source dApp mostly inspired by Cryptokitties.

A side project to learn more about some smart contract development concepts and tools (Truffle, Drizzle and Mythril Classic).

Warning: this is highly inspired by Cryptokitties, but it's not supposed to be a clone. This project is mostly an experiment to use Truffle + Drizzle.

Features

  • Basic Blockchain Authentication
  • ERC721 tokens
  • Clock Auction
  • Genetic based traits
  • Nakamonsta Minting and Reproduction

Demos

  • Create an Auction for a Nakamonsta

    Create an Auction for a Nakamonsta Demo Video

  • Buy a Nakamonsta

    Buy a Nakamonsta Demo Video

  • Mate 2 Nakamonstas

    Mate 2 Nakamonstas Demo Video

Development

Setup

Make sure to have a local dev Ethereum blockchain started (geth --dev, Ganache, etc.). And make sure to have a web3 enabled browser (Firefox + Metamask for instance) connected to that development blockchain. Then you can run the following commands deploy the smart contracts, create some initial data and serve the web app.

$ truffle migrate # build and deploy the smart contracts
$ yarn populate   # create some test data + the genesis nakamonsta, father and mother of all nakamonstas
$ yarn start      # run the local webserver and serve the web app

There is also a shortcut that does exactly this:

$ yarn fullstart

Run the linter

$ yarn lint

Other Documents

Known Issues

  • Rejecting a transaction (for instance when creating an auction or buying a nakamonsta) puts the view into infinite loading mode. This is partly due to this issue trufflesuite/drizzle#134 in Drizzle.

FAQ

When I try to run the yarn fullstart command, I get the error:

Writing artifacts to ./build/contracts

Could not connect to your Ethereum client. Please check that your Ethereum client:
    - is running
    - is accepting RPC connections (i.e., "--rpc" option is used in geth)
    - is accessible over the network
    - is properly configured in your Truffle configuration file (truffle.js)

error Command failed with exit code 1.

What should I do?

Make sure that the default config in truffle.js suits your needs. The expected development server is 127.0.0.1:8545.

I get the error: You must connect to a local development network. Contracts haven't been deployed on testnet or mainet yet. when I try to visit the dev server on my web browser.

Metamask is not connected to your development server, make sure to point Metamask

LICENSE

MIT

nakamonsta-nft-marketplace's People

Contributors

codert0109 avatar

Watchers

 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.