1 Second NEO blocks hosted on Amazon -AWS

Xen
Xen
Mar 5, 2019 · 3 min read

Recently there has been a lot of hype about 1 second block chains so I thought i’d do the same thing .

This is just a demonstration of how easy it is to use NEO and the capabilities it has. Easily the most developer friendly block chain.

I took a copy of the existing main net NEO NODES, modified the Protocols and config. Ran up some AWS EC2 instances and launched my own NEO private net using 1 second block times.

  • AWS EC2 instances
  • Public hosts EC2
  • Private NEO chain running NEO CLI 2.9.4
  • dBFT
Image for post
Image for post

All the documentation is super easy to run through here:

It’s pretty simple, throught he AWS console I spun up 3 instances using Ec2:

  • Setup your VPC, Setup your instances storage, security groups, networking and such and off you go:
Image for post
Image for post

Once the instances are online you just setup a few networking things around the firewall to get your connectivity going if you want it to be public facing.

Adjust your protocol.json files to reflect the nodes and setup some NEO-CLI stuff all mentioned in the NEO document above.

Image for post
Image for post

Now you can adjust the block times using the config:

Image for post
Image for post

Create your wallet:

Image for post
Image for post

Open up NEO CLI on all your nodes, open the wallet and start your consensus:

Image for post
Image for post
Image for post
Image for post

Below you can see the 3 nodes working in consensus, block times operating at 1 second. I do some commands such as list address and then send some assets between the wallets within 1 second.

When typing commands the state of the blocks will not display on the active powershell screen, look at screen 3 for this.

I also opened the clock to show seconds.

Image for post
Image for post

Hope you enjoy!


Follow me — Twitter — https://twitter.com/xenzor1

Check out some of my other work around one of my favorite projects, Travala:

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

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