City of Zion (CoZ) has announced the winners of the third CoZ Competition, which aimed to improve the technical resources available to NEO developers and increase community knowledge of the ecosystem through guides and tutorials.
The competition awarded 10 participants with 1,350 GAS each for their submissions, and noted three runners up for their contributions. Participants were required to submit tutorials focused on the topics outlined in the initial announcement. The award winners are as follows:
How to write NEO Smart Contracts — A complete step-by-step guide
The first winner, @abalu, created a full tutorial on writing NEO smart contracts. In addition to providing a resource for new developers to build simple or complex smart contracts, the tutorial also walks the reader through the process of setting up a local development environment, and how to connect to the CoZ private network for test deployment.
Creating a turn based game with NeoContract, ASP.NET Core, SignalR and AngularJS
Award winner Zdravko Georgiev wrote a guide on creating a turn-based game on the NEO blockchain. As with the previous tutorial, Zdravko walks the reader through the process of setting up the development environment and network. The guide then demonstrates the creation of a blockchain-based ‘Bulls and Cows’ game.
Step-by-step guide on issuing your NEP-5 token on NEO’s Private net using Go
Developer Richie Chong entered the competition with a step-by-step guide to issuing a NEP-5 token on a NEO private network. The tutorial is also notable as one of the first to focus on Golang, using the new neo-storm Go smart contract framework.
Tutorial: Designing and developing a DApp on NEO
The fourth award winner, Jeffrey Lewis, earned his spot with a tutorial teaching readers how to design and develop a NEO dApp. The tutorial uses Visual Studio to create a smart contract for a bookstore dApp, which would allow authors to add books to be sold over blockchain.
NEO ICO tutorial video series
Developer DaveOnBlocks created a 6-part video tutorial series on creating an ICO on the NEO blockchain. The videos cover ICO planning, using triggers, implementing KYC and minting the tokens. Dave also demonstrates withdrawal invocations and troubleshooting steps.
How to generate random numbers using a smart contract
@generalkim00 created a unique tutorial on how to generate random numbers using a smart contract. Current dApps rely on future block hashes for randomness, but this is not sufficiently random as consensus nodes could potentially determine the result. The tutorial demonstrates randomness through the use of a blockchain lottery.
Practical tips in developing NEO smart contracts
Instead of the usual guide format, @jing0825 opted to list some practical tips for developing NEO smart contracts. The tutorial goes in depth on the C# language features supported by NeoVM, as well as discussing use of the storage functionality and generation of random values.
NEO smart contract developer environment setup for Java
Christian Witchger’s submission is a walkthrough of how to set up a development environment for building NEO smart contracts in Java. Note that the tutorial is targeted to Mac/Linux users, but examples are linked for those using Windows.
NEO C# smart contract development tutorial — Part 1
A C# smart contract development tutorial in video format by Harry Pappas. This first part covers topics such as structuring smart contracts with a main method that calls other functions, different trigger points, and an explanation of the checkWitness function.
Making a game with NEO + Unity
The final award winner Tim Riley produced a written guide on making a game using NEO and the Unity engine. The guide uses the popular Survival Shooter Unity tutorial and adds functionality that will make use of the NEO blockchain.