Marbles - PhyrexTsai/marbles GitHub Wiki
Marbles is an IBM Chaincode example about simple transaction between two parties.
- Build on IBM Bluemix by click button.
- This button will create the project automatically, after than the project will show up on the browser.
- Bluemix will fork this project from github than clone to its project bucket named https://hub.jazz.net/
- Bluemix dashboard will show all the project your created, and you can click in to see more detail.
- Project overview
- Edit code
- Bluemix provide online editor, it use github to control the code version.
- https://hub.jazz.net/project/blockchaincode/marbles-blockchaincode-001/code
- Build & Deploy
- Use pipeline to handle the project deploy process.
- https://hub.jazz.net/pipeline/blockchaincode/marbles-blockchaincode-001
- https://github.com/PhyrexTsai/marbles/blob/master/utils/ws_part1.js
- use
chaincode.<method>
to call chaincode, reference : https://github.com/IBM-Blockchain/learn-chaincode
- https://github.com/PhyrexTsai/marbles/blob/master/utils/ws_part2.js
- use
chaincode.<method>
to call chaincode, reference : https://github.com/IBM-Blockchain/learn-chaincode
- Setup routes of this site.
- marbles/routes
- CSS file, handle the style of the website.
- marbles/scss
- Use websocket to create connection.
- marbles/utils
- marbles/views
- Handle all the views on this website.