Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server #19

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

37 changes: 0 additions & 37 deletions .eslintrc.js

This file was deleted.

11 changes: 9 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
chaincode
chaincode/go/chaincode-go/vendor/
chaincode/go/chaincode-go/pkg
node_modules
supply-network/bin/
supply-network/channel-artifacts/
supply-network/crypto-config/
wallet/
supply-network/organizations/
supply-network/log.txt
supply-network/*.gz
wallet/

7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"workbench.colorCustomizations": {
"activityBar.background": "#2C2461",
"titleBar.activeBackground": "#3E3288",
"titleBar.activeForeground": "#FBFBFE"
}
}
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# hlf1.4-supply-chain

```
PATH=$PATH:/$(pwd)/supply-network/bin
chmod +x supply-network/bin/*
```

Supply chain proof of concept in Hyperledger Fabric. Network with four companies and a specific chaincode exposed as rest API

More info in Medium tutorials
Expand Down Expand Up @@ -303,3 +309,12 @@ curl --request GET \
--url 'http://localhost:3000/api/getHistorySushi/<SushiId>' \
--header 'content-type: application/json' \
```
```
sed -i -e 's/\r$//' network.sh
```

./network.sh deployCC -ccn erc721 -ccp ../chaincode/token-erc-721/chaincode-go -ccl go
peer lifecycle chaincode querycommitted --channelID mychannel --name erc721

# ReactJS
npx create-react-app react-nft-app
10 changes: 0 additions & 10 deletions chaincode/index.js

This file was deleted.

61 changes: 0 additions & 61 deletions chaincode/lib/supplyChain.js

This file was deleted.

Loading