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

Tutorial out of date #60

Open
baron0426 opened this issue Dec 15, 2021 · 7 comments
Open

Tutorial out of date #60

baron0426 opened this issue Dec 15, 2021 · 7 comments

Comments

@baron0426
Copy link

Hello, I'm currently building a smart contract using go api from scratch and I'm reading this....
https://github.com/hyperledger/fabric-contract-api-go/blob/main/tutorials/getting-started.md
It involves a step where I need files from fabric-samples/chaincode-docker-devmode
but this folder doesn't exist in the latest fabric-samples.
Can someone please tell me the newest way to implement this?

@jt-nti
Copy link
Member

jt-nti commented Dec 16, 2021

Hi @baron0426, thanks for the issue. You should be able to use the Fabric Test Network instead. That's different in that you will need to package and install the chaincode instead of running it yourself. For a similar developer experience, you could try using chaincode as a server, which might the best option for updating the getting started guide when PR hyperledger/fabric-samples#560 gets merged. Hope that helps.

@ionicsolutions
Copy link

ionicsolutions commented Dec 19, 2021

Just as a note: According to hyperledger/fabric-samples#314, the preferred way is to use https://github.com/hyperledger/fabric/blob/main/docs/source/peer-chaincode-devmode.md

However, it requires several adaptions and tweaking of parameters to work.

@mock123456
Copy link

Hope to update the tour !

@mbwhite
Copy link
Member

mbwhite commented Dec 12, 2022

thanks @mock123456 - just to clarify - are you saying you yourself would be able to update the tour?

PRs most welcome :-)

@shashank-priyadarshi
Copy link
Contributor

shashank-priyadarshi commented Sep 8, 2023

Hi @mbwhite based on hyperledger/fabric-samples#314, sample has been removed. The documentation is outdated still. I would like to take this up, can you please suggest if a sample is required or just the README needs to be updated.

@bestbeforetoday
Copy link
Member

From my perspective, a new sample is not required. Just an update to the tutorial.

The preferred approach to debug and do rapid development of smart contracts is to use chaincode as an external service. The asset-transfer-basic/chaincode-external sample demonstrates this and perhaps could be used if you need to refer to sample code.

The full-stack-asset-transfer-guide sample describes this approach and has a practical walk-through (using Node.js) in probably too much detail for this tutorial. There might be information there you can draw on for a tutorial update though.

If you'd like to work on an update to the tutorial in this repository, I can assign this issue to you.

@shashank-priyadarshi
Copy link
Contributor

Yes I would like to take this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants