Browsed by
Category: blockchain

Getting Contract Logs from IBM Blockchain Platform

Getting Contract Logs from IBM Blockchain Platform

The Problem: with IBM Blockchain Platform running in a Kubernetes cluster how do you get the logs to find out what happened with your contract? Setup This is command line stuff, so make sure that you have the kubectl command installed and it’s able to access the K8S Cluster. Or alternatively use the ‘web cli’.. your choice. Access either from the ‘Actions…’ menu on the cluster summary page. The steps What is the k8s namespace? Within K8S, each IBP instance…

Read More Read More

Early Access Coffee on the Blockchain

Early Access Coffee on the Blockchain

Supply chains are one great usecase for Blockchain and DLT; tracing coffee beans to be able to assert the provence of their origin is just one example. It’s also a very bad pun to bridge to Java (the language). Being a long time Java Developer (Java 1.1.3 anybody?) I’m pleased to be able to write this short guide to using Java with the Fabric Smart Contract programming model. The updated programming model was first delivered within Hyperledger Fabric in Node.js…

Read More Read More

Using custom dockerfiles for managing Hyperledger Composer Network Cards

Using custom dockerfiles for managing Hyperledger Composer Network Cards

Using Docker to help access Composer Cloud Wallets Within a cloud application, eg a nodejs app pushed to Cloud Foundary (other clouds are available) to access a Composer Smart Contract running on Hyperledger Fabric, then you need the ability to store the network cards in some location that’s not your laptop. Using the ‘Cloud wallets’ feature it’s quite easy to do this. You have the choice of S3, IBM Cloud Object Store, Cloudant, REDIS etc. To use one of these…

Read More Read More

Getting outside-in with docker-compose[r] networks

Getting outside-in with docker-compose[r] networks

  I had several docker containers spun up, all happily talking to each other on their own network. All happy for me to talk to them from the host Ubuntu system as well. Slight issue of when a configuration is exported from one of the docker containers, it was referring to the others by the domain it knew, example.com – not so great to use it from the host that knew it via localhost. Ah, I can use sed to…

Read More Read More

“Tell me and I forget, teach me and I may remember, involve me and I learn.”

“Tell me and I forget, teach me and I may remember, involve me and I learn.”

“Tell me and I forget, teach me and I may remember, involve me and I learn.” Benjamin_Franklin Often we do a ‘group QA’ session to validate the quality of Hyperledger Composer; we have QA scripts that we follow but also this gives the opportunity do some freestyle testing. This gives the opportunity to use the code for real, and also allows people to learn about parts of the product they haven’t worked on recently. This is good – but sometimes…

Read More Read More