This repository is used for the development of the Neo contracts for the bridge between Neo N3 and Neo X.
| Contract | Hash |
|---|---|
| NeoXBridgeManagement | 0x148b3e0ca4f77476252862645e58f06b2562c414 |
| NeoXBridge | 0xbb19cfc864b73159277e1fd39694b3fd5fc613d2 |
| MessageBridge | 0xde9cc59df7484ae2f2d2c1ce7a66dccbd5c8bd11 |
| ExecutionManager | 0x1c8a07253c148555bb22cfd514ef7f8777b0dfea |
| Contract | Hash |
|---|---|
| NeoXBridgeManagement | 0x7c83816fb00b95b87119f7e28f7b044e4ac7bac8 |
| NeoXBridge | 0x2ba94444d43c9a084a5660982a9f95f43f07422e |
| MessageBridge | 0xde9cc59df7484ae2f2d2c1ce7a66dccbd5c8bd11 |
| ExecutionManager | 0x1c8a07253c148555bb22cfd514ef7f8777b0dfea |
Java 8 (or higher) is required.
Docker is required for running smart contract tests.
git clone https://github.com/bane-labs/bridge-neo-contracts.gitcd bridge-neo-contracts./gradlew neow3jCompile -PclassName=network.bane.bridge.BridgeContract$ ls -la build/neow3j
total 24
drwxr-xr-x 5 user wheel 160 23 Feb 17:40 .
drwxr-xr-x 7 user wheel 224 23 Feb 17:40 ..
-rw-r--r-- 1 user wheel 425 23 Feb 17:40 NeoXBridge.manifest.json
-rw-r--r-- 1 user wheel 94 23 Feb 17:40 NeoXBridge.nef
-rw-r--r-- 1 user wheel 430 23 Feb 17:40 NeoXBridge.nefdbgnfo./gradlew neow3jCompile -PclassName=network.bane.management.BridgeManagementContractThen, similar to the bridge contract before, you will see the following output in the directory ./build/neow3j:
$ ls -la build/neow3j
total 24
drwxr-xr-x 5 user wheel 160 23 Feb 17:40 .
drwxr-xr-x 7 user wheel 224 23 Feb 17:40 ..
-rw-r--r-- 1 user wheel 425 23 Feb 17:40 NeoXBridgeManagement.manifest.json
-rw-r--r-- 1 user wheel 94 23 Feb 17:40 NeoXBridgeManagement.nef
-rw-r--r-- 1 user wheel 430 23 Feb 17:40 NeoXBridgeManagement.nefdbgnfo./gradlew test- Run a local Neo Express instance. The project includes a Neo Express configuration file.
- Fund Alice's account:
neoxp transfer 100 GAS genesis alice - Go to the
network.bane.scripts.deploy.DeployAllclass and run it.
Neow3j is a Java SDK and smart contract devpack that provides easy and reliable tools to build Neo dApps and Smart Contracts using the Java platform (Java, Kotlin, Android).
Check out neow3j.io for more information on neow3j and the technical documentation.
Neow3j is an open-source project developed by the community and maintained by AxLabs.