Skip to content

hryer/coffee-supply-chain

Repository files navigation

Projects Details [UML BASED]

Activity Diagram

Data Modeling

Sequence Diagram

State Diagram

Libraries & Depdencies

Depedencies

Libraries

  • @truffle/hdwallet-provider: "^1.4.3"
    libraries for connecting to rinkeby & infura

  • "dotenv": "^10.0.0"
    libraries for the env

  • "truffle-assertions": "^0.9.2"
    libraries testing smart contract with latest best practices

Prerequisites & Steps

ask to the repository owner or use your env to try

  • change .env.example into .env and fill it with your environments

Launch Ganache Local or you can use Ganache GUI

ganache-cli -m "spirit supply whale amount human item harsh scare congress discover talent hamster"

check your ganache port

put your ganache port into .env

Delete build folder if any

rm -rf build

Compile your smart contract


truffle compile

Migrate Contract

truffle migrate --reset

Migrate Contract into Rinkeby

truffle migrate --network rinkeby

Testing truffle code

truffle test

*

Contract Creations ( Rinkeby )

About

nd1309-Project-6b Harry Ermawan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published