Giter Club home page Giter Club logo

neo-compiler-docker's Introduction

neo-compiler-docker

Compile NEO smart contracts using Docker.

What?

  • A set of Docker images
  • Each provide a cross-platform mechanism for compiling NEO smart contracts
  • No need to setup NEO development environment ๐ŸŽ‰

Setup

Clone the repo, including submodules:

git clone --recursive [email protected]:CityOfZion/neo-compiler-docker.git

If you have already cloned the project, then use:

git submodule init
git submodule update

Usage

This repo includes a number of different Docker images. The Images section below describes what each Docker image does.

Each image has a README within the directory, which describes how to use it. Please note that for security reasons, all Docker images have to first be built locally.

Images

neo-boa-compiler

This image builds Python code (.py) into NEO AVM code (.avm), using the neo-boa compiler.

neoj-builder

This image builds Java code (.java) into Java bytecode (.class).

neoj-compiler

This image compiles Java bytecode (.class) into NEO AVM code (.avm).

Help

  • Open a new issue if you encountered a problem.
  • Or ping @revett on the NEO Slack.
  • Submitting PRs to the project is always welcome! ๐ŸŽ‰
  • Check the Changelog for recent changes.

License

neo-compiler-docker's People

Contributors

fabwa avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

neo-compiler-docker's Issues

org.neo.smartcontract.framework.jar is old

Hello,

org.neo.smartcontract.framework.jar is old. It is necessary to find better way to use this jar and its new versiona. So dockerfile needs to be changed a little.

  • it is possible to download neo-devpack-jar from maven repository
  • it is possible to create submodule for project neo-devpack-jar and build jar file each time

What do you think ? With current cofiguration the jar file is old (even now) and with new versions of neo-devpack-jar it will getting old (older) and additional maintanance would be required each new neo-devpack-jar release.

Could not build neoj compiler

OS: macOS
make publish-neoj

Publishing neo-compiler/neoj to neoj.dll...

MSBUILD : error MSB1009: Project file does not exist.
Switch: neoj.csproj
make: *** [publish-neoj] Error 1

execution command:

docker run -it --rm -v /Users/abv/Work/block/nos/neo-contracts-workspace-kotlin/vendor/neo-compiler-docker/neoj-compiler/submodule-neo-compiler/neoj/:/usr/src -w /usr/src microsoft/dotnet:2.0.0-sdk dotnet publish neoj.csproj -o out/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.