Skip to content
 
 

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Java Examples for NEO

This repository contains resources and quick starts to help Java developers get started on the NEO blockchain.

Setup

You will need to setup a few things before getting started with these examples.

Required

Advised

For instructions on the setup process, see the NEO docs

Development Notes

The Java source code that is written is converted to an avm file (Neo's Virtual Machine bytecode) by the neoj neo-compiler. There are a few limitations with this compiler in its current state that are important to mention.

  1. Method calls while instantiating a field variable will result in runtime errors. Example: Do not do the following
public static final byte[] OWNER =
              Helper.asByteArray"AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y";
  1. Package names cannot start with org.neo as they will be ignored by the neoj neo-compiler.
 var bskip = cc.classfile.Name.IndexOf("org.neo.") == 0 || cc.classfile.Name.IndexOf("src.org.neo.") == 0;

See neo-compiler's JAVAModule

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages