MENU

Hashgraph Hello World on Eclipse

July 1, 2018
0
6427
0
Running the Hashgraph hello world sdk using command line is quite simple and fast but if you want to start building your own applications, using and IDE like Eclipse is the way to go. Step 1: Download the Swirlds SDK. Download the Swirls SDK at https://www.swirlds.com/download/ and extract it. Step 2: Download & Install Eclipse Download the latest version of Eclipse at: http://www.eclipse.org/downloads/. The Hashgraph docs mention Eclipse 4.7 (Oxygen) but 4.8 (Photon) has just been released. We’ll be using Photon here but either will be fine even including older versions. Note: If you get this error: “The JVM shared library “/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/../lib/server/libjvm.dylib” does not contain the JNI_CreateJavaVM symbol“, then check out how to resolve it here. Once the install completes, select Eclipse IDE for Java Developers. The Enterprise Edition (EE) version will work as well. Then select an installation folder and accept the T&Cs and open up the application. Step 3: Import Hashgraph SDK Project Ignore the welcome start up page and click ‘Workbench’ in the top right hand corner. If you can see the package explorer pane on the left hand side navigate to Window > Show View > Project Explorer. Then select File > Import > Maven > Existing […]
Read More ›

NEM testnet faucet mines Monero

June 20, 2018
0
6951
0
Here is a NEM testnet faucet if you are testing the NEM blockchain. You can claim up to 10 XEM (randomly) every 1 hour and your computer’s CPU will shoot to 300% for a minute or two while it solves a proof of work algorithm. It is basically mining Monero for the owner of the site using the cryptonight algorithm. https://xarleecm.com/en/nemfaucet/
Read More ›

Hello World Hashgraph Raspberry Pi

June 17, 2018
0
6427
0
If you have a Raspberry Pi lying around and fancy seeing if you can get the Hashgraph sdk running on it, here is how. Step 1: Check if Java is present and if it is 1.8+ If you are running Raspbian Stretch, it will have Java 8 already on it. Otherwise you’ll have to download it at  Oracle The location of Java on the Pi is: /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt Step 2: Get the sdk Run: > wget https://www.swirlds.com/downloads/Swirlds%20SDK%20-%20version%2018.05.23.zip If you try running the sdk: > jav -jar swirlds.jar and get this error: The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE Make sure you have set JAVA_HOME correctly. To set it run: > nano ~/.profile and add this line at the bottom of the file: export JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt Take care of arm32 if you copied the command from another website. Test by running: > echo $JAVA_HOME > /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt Step 3: Download JCE If you try and run it now, you’ll probably get this error: *************************************************************************** * ERROR: Please install the Oracle JCE Unlimited Jurisdiction Policy files. * They can be downloaded as a single .zip file from: *     […]
Read More ›

Hashgraph Hello World

June 13, 2018
1
5757
2
If you’ve heard about Hashgraph and wondering how to get started, here is a little guide based off the docs provided in the SDK. Running the demo is easy but preparing your system can take a little bit of time. (Just like cooking!) A good place to start is https://www.hederahashgraph.com/ where you can read a bit about it but there is a section for developers which points you to https://dev.hashgraph.com/ which is where the good stuff is. There is a “How do I get started?” section which is where you … start. The instructions are at: https://dev.hashgraph.com/docs/installation/ Pre flight check list Step 1: JDK 8 You need at least JDK 8 otherwise you’ll get an error like this: > cloudnthings$ java -jar swirlds.jar > Exception in thread "main" java.lang.UnsupportedClassVersionError: com/swirlds/platform/Browser : Unsupported major.minor version 52.0 If you are on a Mac, you want to run: > java -version java version "1.8.0_171" Java(TM) SE Runtime Environment (build 1.8.0_171-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode) and make sure you get a response like above. Otherwise go to Oracle and download the Java SE Development Kit. Go through the installation process and you should see a folder called jdk1.8.0_171.jdk at /Library/Java/JavaVirtualMachines/ Run the java -version command again […]
Read More ›

Crypto Estate Planning, Tokenizing the World and Social Impact with Choice

June 1, 2018
0
6214
0
A great turn out to the Wellington Blockchain Meetup last night where we had three talks. Wendy and Lauchie from Wakefields Lawyers presented on Crypto Estate Planning. Some really good questions to think about even though most of the time we may not want to. The title of the presentation sparked interest. “Logging out of Life, Digital Estate Planning”. For more info contact www.wakefieldslaw.com I presented next on the Tokenization of Everything and touched on my research at www.theicotrain.com and how everything is going to be tokenized. I compressed all this knowledge into a book called Tokenomics with co-author and good friend Thomas Power. There were lots of other contributors to the book as well to make this happen. I then finished off by announcing the idea of the creation of a book worm loyalty token for book purchasers but the bigger play was a social impact cause to help take a portion of the profits to help fund primary school reading programs. The main event was Ossie and Fraser from Choice talking about social impact on the blockchain. $461 million in transaction fees from giants such as Visa and Mastercard go overseas. Choice is a new payment system based on […]
Read More ›

Token Summit I with Sia, Storj, Filecoin and Blockstack

May 17, 2018
0
6281
0
A really neat video from Token Summit I in New York on May 25 2017 talking about decentralized storage. The guys on stage are William Mougayar (moderator), Muneeb Ali, co-founder of Blockstack, Juan Benet, founder of Protocol Labs, Shawn Wilkinson, founder of Storj and David Vorick co-founder of Siacoin.
Read More ›

Wellington Blockchain Meetup Summary

May 11, 2018
0
7495
0
It was good to get everyone out of the woodworks for another Wellington Blockchain Meetup. Morne talked about Hashgraph and had a great presentation zooming in and out of the various points and his fancy logitech pointer that could also zoom as well! Jevon presented CryptoFolio which is a web application allowing anyone to keep track of their cryptocurrency portfolio. Finally we had Del Rajan from Victoria University talking about a paper he co-wrote with Matt Visser on Quantum Blockchain Entanglement in Time. Just the title is enough to make you think wow. Keep an eye out for the next meetup, everyone is welcome and if you have something to share, get in touch!
Read More ›

Wellington Blockchain Meetup

May 6, 2018
0
6264
0
We’ve got some great presenters at Wednesdays Wellington Blockchain meetup. 5:30pm at BizDojo, 115 Tory St. Catch you guys there. Blockchain Meetup Wednesday, May 9, 2018, 5:30 PM Bizdojo115 Tory Street Wellington, NZ 90 Members Attending Hi guys, It’s been a while. Looking to get things going again with all things blockchains, ICOs and smart contracts. Come along to meet others in the space, share and connect. Agenda: 5:30 pm: Welcome 5:35 pm: What is Hashgraph? – Morne Smart. Hashgraph is an interesting new technology created by Leemon Baird. Morne will help explain what it is all… Check out this Meetup →
Read More ›

Blockchain and ICO Udemy courses

April 21, 2018
0
6446
1
There is a growing amount of courses appearing on Udemy around blockchain and ICOs. 140 to be exactly on blockchains and 35 for ICOs. If you are looking for the basics of ICOs check out the course below from Jonny Fry. The course is clear and concise and provides a great intro into ICO and Investment. “Jonny Fry is a blockchain, crypto economics, ICO and funds specialist, with over 25 years experience as CEO of an asset management business which he floated in London with over £1 Billion under management . His focus has been on the dynamics of financial innovation, advising on ICOs, Tokenomics, Crypto funds,he is a regular speaker and writer on these topics and is co-founder of TeamBlockchain Ltd.“
Read More ›

NZ a participating member in ISO/TC307 Blockchains

April 18, 2018
0
6429
0
New Zealand is now a participating member of ISO/TC307 Blockchain and distributed ledger technologies. There are 34 participating members in all and 12 observing members. Being a participating member means NZ gets to contribute and vote on decisions related to this technology.  
Read More ›

ISO/TC307 Blockchains and New Zealand

April 6, 2018
0
6938
0
I had the opportunity to give a brief presentation on Blockchains and the NZ landscape to the Standards Approval Board (https://www.standards.govt.nz/about-us/approval-board/) as part of Standards NZ proposal for NZ to move from an observer membership (O) status to participation (P) status for “ISO/TC 307 Blockchain and distributed ledger technologies”. Steve Lowe from Standards NZ is leading the charge where the standards covers the following scope: ISO/TC 307/SG 1 Reference architecture, taxonomy and ontology ISO/TC 307/SG 2 Use cases ISO/TC 307/SG 3 Security and privacy ISO/TC 307/SG 4 Identity ISO/TC 307/SG 5 Smart contracts ISO/TC 307/SG 6 Governance of blockchain and distributed ledger technology systems ISO/TC 307/SG 7 Interoperability of blockchain and distributed ledger technology systems ISO/TC 307/WG 1 Foundations ISO/TC 307/WG 2 Security, privacy and identity ISO/TC 307/WG 3 Smart contracts and their applications SG: Study Group, WG: Working Group. Participation status means NZ will have a voice and a vote to help contribute to the future direction of blockchain technologies. Currently there are 32 participating members and 14 observing members. ISO/TC 307 has met twice, most recently in Tokyo. Work is progressing in many areas including reference architecture, terminology, smart contracts, and security and identity. Separate study groups were established […]
Read More ›

Cryptocurrencies and Tax in NZ

April 3, 2018
0
5561
0
This is how to official handle cryptocurrencies and tax in New Zealand. https://media.ird.govt.nz/articles/cryptocurrency-investors-reminded-of-their-tax-obligations/
Read More ›

Great resources for learning about NEO

March 9, 2018
0
6121
0
Here are some great links to learn about NEO. The analogies are very good. https://steemit.com/cryptocurrency/@basiccrypto/almost-everything-you-wanted-to-know-about-neo-part-1-of-2 https://steemit.com/cryptocurrency/@basiccrypto/almost-everything-you-wanted-to-know-about-neo-part-2-of-2 https://steemit.com/neo/@basiccrypto/neo-s-consensus-protocol-how-delegated-byzantine-fault-tolerance-works
Read More ›

Raspberry Pi 3, Node and Ethereum

March 6, 2018
0
11234
0
Ever wanted to receive payment with a cryptocurrency and then enable an action such as open a door or turn on a light? Here is a quick overview of how this can be done with Ethereum, a Raspberry Pi and Nodejs. Summary The idea is to display a QR code on a tablet where payments can be made with crypto and upon receipt of payment an LED is turned on. The webpage is running on a Raspberry Pi which is also running geth which is the Ethereum blockchain client. The neat thing is that there is an experimental “light” sync mode that only obtains the current blockchain state and only requires ~400Mb of disk space. See it in action In the video above I use Metamask to make the test ether payment. It takes about 30 seconds for the transaction to be acknowledge and the LED to light up. Html Payment Page The payment page basically consists of a QR code for the user to make a crypto payment and in the background, it connects to the local Ethereum blockchain to get the current balance and to listen for the next block to arrive. When it does, it queries the […]
Read More ›

How to run Ethereum on a Raspberry Pi 2

March 2, 2018
1
9792
0
Interested in getting Ethereum running on a Raspberry Pi 2? Here are some simple steps: Step 1: You get, I get, We get >> wget https://gethstore.blob.core.windows.net/builds/geth-linux-arm7-1.8.1-1e67410e.tar.gz Of course this means you know what wget is (a way to download files using cmd) and you have already ssh’d into your raspberry pi with something like ssh pi@192.168.x.x Where did this link come from? It came from https://geth.ethereum.org/downloads/ Search for Linux -> armv7 for the Raspberry Pi 2 and you’ll find the link. This is important to know because you’ll want to change the link to retrieve the latest binary. Step 2: Lay down the tar-seal and zip it up >> tar -xvf geth-linux-arm7-1.8.1-1e67410e.tar.gz The file downloaded is a tar or a “Tape Archive” in reference to the good old days when files would be put on “tapes” and then archived for storage. It is also known as a tarball. It stores multiple files together as a single file. gz  stands for GNU zip which compresses it. This is the equivalent of Winzip in the windows world. The x flag extracts it, v stands for verbose output, telling the user what is happening in more details and f tells tar to use the file […]
Read More ›

CustomContracts is not defined at

February 20, 2018
0
9534
0
Trying to delete a contract in Mist and getting this error? VM659:1 Uncaught ReferenceError: CustomContracts is not defined at <anonymous>:1:1 There is a work around you’ll find useful. Right click in the Contracts window and click Open developers tools. It should have an autocomplete and you should be able to run CustomContracts.find().fetch(). Expand an object, grab the _id and run CustomContracts.remove(“put_id_here”)  
Read More ›

The Subtleties of Siacoin

February 16, 2018
0
6233
0
First of all, I’m a fan of Siacoin. The team appears upfront and transparent. They’ve had a working product for a long time now and the concept is good, monetising spare hard disk space. But it’s not until you go through the process that you really understand some of the subtleties of Siacoin. The main one being, it’s not really designed for the average Joe to rent a few Gb of disk space and make some money. It’s for the professionals and here is why. When I heard of monetising spare disk space, I quickly started hunting for the old spare hard drives I had lying around. A few 2.5 40Gb from old laptops 5 years ago, an 80Gb and a 160Gb. Great. I downloaded the client and then discovered I needed to buy Siacoin to make Siacoin. This is because wannabe hosters like myself need to put some Siacoins on the line because if I don’t keep my hard drives running, my customers (renters) will lose their files they store with me. This is called collateral and that’s fair. So I got set up with some Siacoins and managed to connect to the network and make 40Gb + 40Gb […]
Read More ›

Schnorr Signatures by Pieter Wuille

February 12, 2018
0
7556
0
Another neat video by Pieter explaining Schnorr Signatures Another useful reference link: http://diyhpl.us/~bryan/papers2/bitcoin/bitcoin-tech-dev-talks-schnorr-signatures.2018-02-01.pdf    
Read More ›

Connecting Geth to MetaMask and Mist

February 8, 2018
0
10330
1
If you have geth, the Go Ethereum client running and you want to connect Mist or MetaMask to you get a nice front end, here is how you do it. Start geth with: > geth --datadir ./chaindata init ./myGenesisFile.json Note: If you don’t have a genesis file, one is provided at the end. The run > geth --datadir ./chaindata --networkid 1994 to spin up the private Ethereum blockchain Mist The easiest way to connect Mist to this private blockchain is to start it via command line and passing in the location of the ipc file with the rpc flag. > ./Mist --rpc /Users/cloudnthings/privatechain/chaindata/geth.ipc You should get the word PRIVATE-NET at the top. Click Launch Application and you should be away. If you get this error: NCAUGHT EXCEPTION { Error: connect ENOENT Users/cloudnthings/privatechain/chaindata/geth.ipc Then it means you have your syntax wrong. The most common mistake is not having a double dash before rpc (- – rpc) MetaMask To connect to MetaMask, you need to start the private Ethereum blockchain with an extra rpc flag. > geth --datadir ./chaindata --networkid 1994 --rpc You can connect to the blockchain as per normal via geth attach like so: > geth attach http://127.0.0.1:8545 or in MetaMask, simple choose localhost […]
Read More ›

Talking Bitcoin on NewstalkZB

February 6, 2018
0
7440
0
It was a great experience going into the NewstalkZB studio and doing a brief radio interview with Heather Du Plessis-Allan on Bitcoin. http://www.newstalkzb.co.nz/on-air/wellington/wellington-mornings-with-heather-du-plessis-allan/audio/sean-au-bitcoin/ In case that link breaks, click below. Managed to garner a pic as well!  
Read More ›