Image for post
Image for post
Photo by Chris Ried on Unsplash

Technical Intro to Blockchain (Part 2)

“Remember, Solidity is a typed language.”

— Laurence Kirk of Extropy.io

On the 3rd of November, the Oxford Blockchain Society hosted its third event of the year — an Intro to Blockchain (for technical folk) in collaboration with OxWEST. This event was led by Laurence Kirk, Founder of Extropy.io — a blockchain development consultancy based in Oxford, and is part of a four-part series on blockchain. Join us for a look into how blockchain works and how to start understanding and using the technology. We’ll go through everything from smart contracts to running nodes and building dapps (decentralised apps).

About the talk

Before we got into the nitty gritty blockchain stuff, Anthony Beaumont from Encode Club introduced an upcoming 10-week long hackathon. We greatly encourage you to take part as the prizes available are huge and last year’s winner came from Oxford! Remember to register by the 9th of November. Laurence delved deeper into the topics (cryptography, trust, and consensus) introduced in Part 1, with their application to smart contracts. We got our feet wet with a bit of coding in Solidity using the Remix Integrate Development Environment (IDE). Not before long, Laurence had taken us through Constructors to events and logging. Questions included: what role does identity play when taking part in a game of rock paper scissors on blockchain, how easy is it to setup your own token and what happens if your smart contract written is wrong. The session was rounded off with the “Do’s and Don’ts” of smart contract writing. The slides and video are below. There is more excellent educational material at http://extropy.foundation. We hope to see you at the next one!

Slides

Code

Some key code snippets pasted in the chat by Laurence which you can use in the Remix IDE:

The score.sol file:

As always remember to comment your code, here Nikki helped us all out with a tip using “///”:

Here is the link to the Open Zeppelin library for blockchains:

https://github.com/OpenZeppelin?page=1

Free ETH

We gave out 0.1 ETH to one lucky attendee! We’ll do this at each event!

Future events

We have 3 more technical workshops on how to code with blockchain planned as well as a ‘how to buy/maintain/invest in crypto’ event. Stay tuned and visit our Eventbrite!

Join us!

This year’s President is Brandon Severin, a PhD student researching A.I. for Quantum Computing. We’re looking for keen beans to join the committee and help advance and educate about blockchain. If you’re interested, email president@oxfordblockchain.co.uk

Mailing List

Sign up via our new website (ooo) — www.oxfordblockchain.co.uk

Looking forward to seeing you at the next one. — Best, Brandon Severin

Written by

Fostering Oxford’s blockchain ecosystem by maintaining a distributed “Oxford Blockchain Network” of students, academics and industry actors since 2016.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store