Coder Social home page Coder Social logo

Comments (2)

tippi-fifestarr avatar tippi-fifestarr commented on May 29, 2024

If you want, you can just deploy the contract by pasting it into Remix and then copy/pasting the ABI and address into the appropriate spots in our friend MoralisDappProvider.js.

For the truffle route:

  1. Delete Metacoin from the contracts and replace with decentradit.sol
  2. Try checking your deploy script to deploy decentradit not MetaCoin...
  3. Are your .env correct?
  4. still got to paste that info into MDP.js

from web3-social-network-boilerplate.

Daniel-Itzul avatar Daniel-Itzul commented on May 29, 2024

I would really want to give a shoutout to @tippi-fifestarr you have been great help for the community regarding this project with your questions and collaboration helping other builders.

As with regard to the specific question. I have a mea culpa. The Truffle folder was inherited from the original Ethereum boilerplate repo which this project inherits from.
In the video it is mentioned that the deployment of the contracts is not included in the code. This is because people has very strong preferences on what Smart Contract development platform to use. Some people like hardhat, some truffle, I like brownie for example, for quick deployment of an already development contract a lot of people would use Remix.

To avoid pushing people to any specific stack only the source code of the contract was intended to be provided. However, since I forgot to delete the inherited truffle project, someone familiar would truffle could change the contract in the truffle project and modify the truffle scripts to adapt to decentradit, as described by @tippi-fifestarr.

Since this was not the intention and the project was to be framework neutral I deleted the truffle project, this would eliminate any confusion as to the need of changing or implementing a truffle project.

from web3-social-network-boilerplate.

Related Issues (4)

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.