shekhar-shubhendu / Supply Chain
Licence: gpl-3.0
Supply chain management on blockchain using Angular 4 + Truffle + IPFS + Ethereum
Stars: ✭ 76
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
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
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
- Node.js
- IPFS
- Truffle Framework (
npm install -g truffle
or on linuxsudo npm install -g truffle
) - Testrpc (
npm install -g ethereumjs-testrpc
or on linuxsudo npm install -g ethereumjs-testrpc
)
Part 1
git clone https://github.com/shekhar-shubhendu/supply-chain.git
cd supply-chain
npm install
-
npm install -g @angular/[email protected]
(linux users might have to do:sudo npm install -g @angular/[email protected]
)
Part 2
- Open a new terminal and start IPFS daemon with
ipfs daemon
- Start testrpc in new terminal with
testrpc -l 47000000000000
. - From inside the project directory run
truffle compile
to compile your contracts - And
truffle migrate
to deploy those contracts to the network - Now finally, start the project with
npm start
. Navigate tohttp://localhost:4200/
. The app will automatically reload if you change any of the source files. - Make sure there are no errors in browser console
Login
- This project uses your keystore file to login to the application.
- 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. - You can find the keystore for default accounts and there password in 'keys' folder.
URLs
/login
/retailer
/distributor
/manufacturer
/supplier
Todo:
- Access IPFS from browser (Remove separate script for IPFS upload).
Technologies & Languages Used:
- Angular4 (Typescript/Javascript)
- Truffle (Solidity)
- IPFS
- Node.js
- Express
Acknowledgments
License
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].