Giter Club home page Giter Club logo

firstseed's Introduction

Testing live

  • Since the dAPP lacks a GUI/frontend the only possible way to test it is to spin up, a truffle console via truffle console --network ropsten
  • The smart token contract ERC20Token is deployed at the address - 0x87406fEE23CfbF5f7C170Ca432547868E30df5Da
  • The seed supply chain smart contract SeedChain is deployed at - 0xc764dC81cA232438f21205B20F2925f452b03317
  • To load a smart contract SeedChain.deployed().then(function(instance) {return instance });
  • An example workflow is provided in test/test.txt

VS code setup

  • Configure VS code solidity extension settings to use solidity compiler version 0.8.13. (Find compiler binary commit hash here)
  • Install specific truffle version with solidity version 0.8.13. npm install --save-dev [email protected]

Prerequisites

  1. Install node and npm through nvm.
  2. Install ganache, truffle, geth, metamask.

Steps to create project

  • cd into project folder.
  • nvm use 14.8.0
  • sudo npm i truffle
  • ./node_modules/.bin/truffle init

Compile and deploy

  • Compile F5
  • Deploy - ./node_modules/.bin/truffle deploy --reset

Deploy

  • Infura - npm install --save-dev @truffle/hdwallet-provider
  • Deployment error - nvm install --lts; nvm use --lts;

firstseed's People

Contributors

codejaeger avatar

Watchers

James Cloos 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.