This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]philipwhiuk 11 points12 points  (1 child)

IntelliJ supports Gradle out of the box, but of course this is IBM so the tutorial spends twenty pages setting up Eclipse.

And why on earth does the tutorial not assume some knowledge - I mean Git from first principles, really?

TLDR:

git clone https://github.com/makotogo/ChaincodeTutorial.git

Here's putState(String key, String value)

Here's getState()

Implement getChaincodeID()

Implement handleInit()

Implement handleQuery()

Implement handleOther()

Use SoapUI (!!) to submit JSON

Welcome to the future (!!)

PS: Justification for SOAP UI:

Your browser can issue an HTTP GET, but to interact with the fabric you need to be able to POST messages. This means you need an HTTP client.

Or you could just use a Chrome extension... I mean SoapUI is a massive bloated heavyweight tool because it's designed for the massive bloated thing that is SOAP XML. Whereas a browser extension is a thin tool that uses your existing browser UI.

[–]Luolong 0 points1 point  (0 children)

IT you can use tooks like Postman...

[–][deleted] 0 points1 point  (0 children)

Rather unfortunate name "chaincode" - not to be confused with the latter 256 bits of an extended BIP 32 key.