All Projects → shekhar-shubhendu → Supply Chain

shekhar-shubhendu / Supply Chain

Licence: gpl-3.0
Supply chain management on blockchain using Angular 4 + Truffle + IPFS + Ethereum

Programming Languages

typescript
32286 projects
solidity
1140 projects

Projects that are alternatives of or similar to Supply Chain

Erc20 Generator
Create an ERC20 Token for FREE in less than a minute with the most used Smart Contract Generator for ERC20 Token. No login. No setup. No coding required.
Stars: ✭ 202 (+165.79%)
Mutual labels:  ethereum, smart-contracts, truffle
0xdeca10b
Sharing Updatable Models (SUM) on Blockchain
Stars: ✭ 285 (+275%)
Mutual labels:  ethereum, smart-contracts, truffle
nifty-game
🃏🎮A NFT(ERC721) card game build on Ethereum, Truffle, Ganache and hosting on IPFS.
Stars: ✭ 222 (+192.11%)
Mutual labels:  ipfs, smart-contracts, truffle
Truffle
A tool for developing smart contracts. Crafted with the finest cacaos.
Stars: ✭ 11,909 (+15569.74%)
Mutual labels:  ethereum, smart-contracts, truffle
React Ethereum Dapp Example
A starter boilerplate for an Ethereum dapp using web3.js v1.0, truffle, react, and parity
Stars: ✭ 384 (+405.26%)
Mutual labels:  ethereum, smart-contracts, truffle
Angular Truffle Starter Dapp
Angular CLI + Truffle Starter Dapp; write, compile & deploy smart contracts on Ethereum blockchains
Stars: ✭ 174 (+128.95%)
Mutual labels:  ethereum, truffle, angular4
Solidity Idiosyncrasies
Solidity gotchas, pitfalls, limitations, and idiosyncrasies.
Stars: ✭ 267 (+251.32%)
Mutual labels:  ethereum, smart-contracts, truffle
Sablier
The protocol for real-time finance on the Ethereum blockchain
Stars: ✭ 147 (+93.42%)
Mutual labels:  ethereum, smart-contracts, truffle
Love Ethereum
区块链学习
Stars: ✭ 323 (+325%)
Mutual labels:  ethereum, smart-contracts, truffle
Embark
Framework for serverless Decentralized Applications using Ethereum, IPFS and other platforms
Stars: ✭ 3,478 (+4476.32%)
Mutual labels:  ethereum, smart-contracts, ipfs
Rico
The Responsible Initial Coin Offering Framework
Stars: ✭ 83 (+9.21%)
Mutual labels:  ethereum, smart-contracts, truffle
Eth.social
An Ethereum dApp for posting social events.
Stars: ✭ 17 (-77.63%)
Mutual labels:  ethereum, smart-contracts, truffle
Truffle Flattener
Truffle Flattener concats solidity files from Truffle and Buidler projects with all of their dependencies
Stars: ✭ 254 (+234.21%)
Mutual labels:  ethereum, smart-contracts, truffle
Alpha
Follow the white rabbit 🐇
Stars: ✭ 304 (+300%)
Mutual labels:  ethereum, smart-contracts, ipfs
Eth Crypto
Cryptographic javascript-functions for ethereum and tutorials to use them with web3js and solidity
Stars: ✭ 420 (+452.63%)
Mutual labels:  ethereum, smart-contracts, truffle
Dapp
TypeScript React Redux Ethereum IPFS Starter Kit
Stars: ✭ 33 (-56.58%)
Mutual labels:  ethereum, truffle, ipfs
Ethereumbook
Mastering Ethereum, by Andreas M. Antonopoulos, Gavin Wood
Stars: ✭ 11,663 (+15246.05%)
Mutual labels:  ethereum, smart-contracts
Homework
HomeWork is an autonomous utility for finding, sharing and reusing home addresses for contracts.
Stars: ✭ 50 (-34.21%)
Mutual labels:  ethereum, smart-contracts
Remix
This has been moved to https://github.com/ethereum/remix-project
Stars: ✭ 1,063 (+1298.68%)
Mutual labels:  ethereum, smart-contracts
Awesome Ethereum Cn
Web3.js、Solidity、Truffle开发教程及以太坊开发资源汇总
Stars: ✭ 54 (-28.95%)
Mutual labels:  ethereum, truffle

Supply Chain Management

⚠️ Attention
This project is not maintained anymore. And may not work with latest ethereum.

Supply chain management on blockchain using Angular 4 + Truffle + IPFS + Ethereum

How to use

There are 2 small parts to successfully running this project.

Prerequisite

  1. Node.js
  2. IPFS
  3. Truffle Framework (npm install -g truffle or on linux sudo npm install -g truffle)
  4. Testrpc (npm install -g ethereumjs-testrpc or on linux sudo npm install -g ethereumjs-testrpc)

Part 1

  1. git clone https://github.com/shekhar-shubhendu/supply-chain.git
  2. cd supply-chain
  3. npm install
  4. npm install -g @angular/[email protected] (linux users might have to do: sudo npm install -g @angular/[email protected])

Part 2

  1. Open a new terminal and start IPFS daemon with ipfs daemon
  2. Start testrpc in new terminal with testrpc -l 47000000000000.
  3. From inside the project directory run truffle compile to compile your contracts
  4. And truffle migrate to deploy those contracts to the network
  5. Now finally, start the project with npm start. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
  6. Make sure there are no errors in browser console

Login

  1. This project uses your keystore file to login to the application.
  2. For now, the accounts that can login are hardcoded in auth.service.ts with there role. Future builds will feature a screen for proper role and account management.
  3. You can find the keystore for default accounts and there password in 'keys' folder.

URLs

  1. /login
  2. /retailer
  3. /distributor
  4. /manufacturer
  5. /supplier

Todo:

  1. Access IPFS from browser (Remove separate script for IPFS upload).

Technologies & Languages Used:

  1. Angular4 (Typescript/Javascript)
  2. Truffle (Solidity)
  3. IPFS
  4. Node.js
  5. Express

Acknowledgments

License

GNU GPLv3

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].