blockchain (13)

My thoughts on FireFly

This is mostly a placeholder for now. I've already shared what I like about it and why it was selected in Why Firefly? This article will be about my findings along the way, and perhaps a summary at the end.

Putting It All Together

We started with an idea, then some sample code, and now we have a fully operational Death Star contract. Now we just need a network to deploy it to, and a way to talk to the contract.

Adapting the Code - Writing Fabric Code

Hyperledger Fabric does not use the term "smart contract", but instead "chaincode". I prefer this term for two reasons: My previous team and I built an entire SDK to soften up some of the sharp edges in the TypeScript Fabric SDK and make it faster…

Adapting the Code - v1 Data Structure

Let's take a look at how the objects ended up: In addition to the improvements made above in v0.1, we have also added a key (indicated by PK in the diagram) and arrays to track the characters and dungeons owned by the player. There are…