This is an open-source initiative for providing an easy access to on NEO ecosystem.
In particular, we provide simple interact and didactic interfaces for allowing online compiling. In the first moment, we started with C# and Python. Our next steps are moving us towards Java and Solidity (through NeoSol initiative).
- Compile input C# or Python code using reliable and safe servers (backend) compilers;
- Return AVM and ABI codes (more precise of C# compiler);
- Deploy and invoke code to private net (Current in the back);
- Tests with different wallets, synced and with able to provide historic data our activity.
- Integrate with Go
- Integrate with Java
- Integrate with neo-solidity (project in early phases);
- Move towards client-based compiling (more secure, robust and much more scalable).
- Some efforts have been done here already, but many technical challenges are still being dealt with;
- It has not been easy, still, to accomplish all necessary invocatations only in the client side. On the other hand, the server has been responding smooth and nice, providing a nice didactic infrastructure to be used by professors, researchers and those intesred on Neo's multi-language programming interface.
- Ideas? Collaborations are welcome :) The goal is to be didactic and bring it close to citizens and users: Smart Cities, Smart Governance and Smart Blockchain Technologies :P
For Debian-based systems:
apt install npm
apt install nodejs-legacy
npm install
The online commando required to create our own NeoCompiler Ecosystem, suitable for private of public blockchain projects.
This will call a docker-compose with NeoCompiler Private Net+NeoScan. Furthermore, it will set all available compilers and open the fron/backend interface and server, respectively.
./build_everything.sh
cd docker-neo-mono
docker build .
Get latest docker image id and set environment variable:
export DOCKERNEOCOMPILER=$(docker images | awk 'NR==2{print $3}')
./run.sh
./buildRun_WebInterface_CSharpCompiler
In order to use deploy and invoke (also testinvoke, if you want to quicker on your verifications) functionalities, build and run a docker private (namely, docker-privanet).
(cd docker-privnet; ./buildRun_NeoCompiler_PrivateNet.sh)
In order to add NeoScan light wallet
(more is comming...) functionalities, run docker-compose.
Start up the container, checking the messages and following warnings
cd ./javascript-tools/docker-neo-scan
docker-compose up
Start up the container in a detached mode
docker-compose up -d
Fell free to take is down
docker-compose down
However, consider stopping and restarting
docker-compose stop
docker-compose start
Or, simply run:
(cd dockers-neo-scan-neon; ./buildRun_Compose_PrivateNet_NeoScanDocker.sh)
(cd dockers-neo-scan-neon; ./buildRun_Compose_PrivateNet_NeoScanDocker.sh stop)
(cd dockers-neo-scan-neon; ./buildRun_Compose_PrivateNet_NeoScanDocker.sh start)
(cd dockers-neo-scan-neon; ./buildRun_Compose_PrivateNet_NeoScanDocker.sh down)
Check out Neo-Scan + Neon-Db, for instance.
Nowadays, you should check docker docker-compose.yml (pick up a combination of your choice, from dockers-neo-scan-neon
folder, for locally modifying some characteristic of NeoCompiler.
Run build_everything.sh
with an additional parameter (any of your choice) is going to build/call your modified files of the private net (i.e. call (cd docker-privnet; ./buildRun_NeoCompiler_PrivateNet.sh)
).
After that, considering your modified docker_build.sh
you gonna be able to modify the aforementioned docker-compose. Then, any modification that is felt to be good should be communicated as an Issue or Pull Request.
Check out Neo-Scan + Neon-Db, for instance.
-
If you have ideas or issues, you can inform directly at github or contact us directly
- Check the open issues and pull requests for existing discussions.
- Open an issue first, to discuss a new feature or enhancement.
- Write tests, and make sure the test suite passes locally and on CI.
- Open a pull request, and reference the relevant issue(s).
- After receiving feedback, squash your commits and add a great commit message.
- Run
make push-tag
after merging your pull request. - Anyway, you already were part of team... :P
-
Our team is currently formed by researchers/professors, so our time is very constrained... if you feel you can help us, don't hesitate!
-
We created a wallet specially for project donations. That can help us improve our servers and perhaps hire someone for improving graphical interfaces and developing many more interesting features. NEO wallet: AJX1jGfj3qPBbpAKjY527nPbnrnvSx9nCg
LICENSE MIT
This project is part of NeoResearch initiative and it is freely available at NeoCompiler.io. The website is rebooted periodically, in order to keep resource usage low, so that everyone is welcome to use it. Questions regarding the webserver may be directed to @igormcoelho and @vncoelho.
NeoCompiler Eco team @igormcoelho,@vncoelho and @FabioRick
Copyleft 2017-2018