Git Product home page Git Product logo

Comments (8)

jkneubuh avatar jkneubuh commented on August 25, 2024 2

Hi @timo-kang and @Xingxingyeyouxinshi

I agree that the Chaincode-as-a-Service instructions are "too hard" for working with Java smart contracts.

Would you mind reviewing the draft PR #684 and feature/java-ccaas-slim development branch to see if this meets your needs for a simple, local development environment? The top level instructions have been added to asset-transfer-basic/chaincode-java

from fabric-samples.

mbwhite avatar mbwhite commented on August 25, 2024

Very valid points; I've got some resources ready in preparation for this.
One question:

  • would you prefer the 'asset-transfer-basic' to be both a traditional AND a 'as-a-service' chaincode
  • or leave it as, and create a separate example specifically focussing on the as-a-service model.

/cc @jkneubuh @jt-nti @denyeart @Nanra

from fabric-samples.

Xingxingyeyouxinshi avatar Xingxingyeyouxinshi commented on August 25, 2024

thank you very much.

I'm a little confused when referring to "fabric-samples/test-network-k8s#Working with Chaincode" and "contract-as-a-servcie#java-contract", and this part of the official document about Java is not mentioned, so I hope it can meet the expectations of most Java chaincode developers so that we can use it more conveniently and debug local breakpoints. And the current version of IBM blockchain platform does not support breakpoint debugging.

from fabric-samples.

Xingxingyeyouxinshi avatar Xingxingyeyouxinshi commented on August 25, 2024

When I use "fabric-samples/test-network-k8s#Working with Chaincode", I can't use it successfully according to the existing documents, and the documents are too scattered.

I think it's better to have a very detailed operation step document and code example. We can successfully run the provided code example based on the operation process.

from fabric-samples.

timo-kang avatar timo-kang commented on August 25, 2024

I think you should start with test-network first, both test-network and test-network-k8s is not quite different.
I think You should understand how to deploy a chaincode on network first.

from fabric-samples.

Xingxingyeyouxinshi avatar Xingxingyeyouxinshi commented on August 25, 2024

I did it. Now, I need to build a development env to debug the code on my IDE.

As a developer, Debugging code is enough important.
Having a debugging code env, we can develop and debug chaincode easily and quickly, but it wasn`t.

I had got from the test-network-k8s,it can do this but need some detail docs for directing our Java developer to build it.

I think you should start with test-network first, both test-network and test-network-k8s is not quite different. I think You should understand how to deploy a chaincode on network first.

from fabric-samples.

joshhus avatar joshhus commented on August 25, 2024

https://hyperledger-fabric.readthedocs.io/en/latest/cc_service.html#writing-chaincode-to-run-as-an-external-service is the referenced page and section(s).

from fabric-samples.

jkneubuh avatar jkneubuh commented on August 25, 2024

Fixed with PR #724

from fabric-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.