Giter VIP home page Giter VIP logo

art-marketplace's People

Contributors

merlox avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

art-marketplace's Issues

Where did web3 come from in getUserBalance method as I didn't see a require statement?

I found your article on Medium and it's a great read. Thank you for writing with such clarity. It's a great article to follow. I just had a few questions about your code.

  1. You used web3 in multiple places and I am not sure how you imported it as I didn't see a require statement and how you instantiated web3 as I was under the impression that it requires a provider url (such as infura) and metamask mnemonic
    I am leaving the code here in case you want to check.
//To get user ERC721 token balance - counter of how many assets a user owns
  async getUserBalance() {
    const balance = await this.state.ledger.getBalance(web3.eth.accounts[0]);
    return balance;
  }
  1. Does uriBase.json contain the metadata for the assets? If so, does it mean I should add all my assets in uriBase.json and read from there? (I am confused about this.)

  2. Also, what did you think about 0xcert? Would you recommend it for someone building their first dApp for a client? Thanks.

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.