Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
98 lines (61 sloc) 3.27 KB


The nebulasj library is a Java implementation of the Nebulas protocol, which allows it to maintain a wallet and send/receive transactions without needing a local copy of go-nebulas.

Add as dependency


repositories {

dependencies {
    compile "io.nebulas:nebulas:0.2"



Building from source


Components Version Description
Java >= 1.8.0_171 Java8
Gradle >= 4.6 Gradle is a dependency management tool for Java.


it is best to have the latest JDK and Gradle installed. The HEAD of the master branch contains the latest development code and various production releases are provided on feature branches.

./gradlew clean build

Building from an IDE

Alternatively, just import the project using your IDE. IntelliJ has Gradle integration built-in and has a free Community Edition.


Documents of NebulasJ is here: Public API documentation

http nebulasio-client

Http client is used to access the RPC API of Nebulas, such as mainnet and testnet.

We haven't written examples for http-client now, please refer to the test cases to learn how to use it.

    private NebulasClient nebulasClient = HttpNebulasClient.create("");

    public void testGetNebState() {
        Response<NebState> response = nebulasClient.getNebState();

    public void testGetAccountState() {
        Response<AccountState> response = nebulasClient.getAccountState(new GetAccountStateRequest("n1Z6SbjLuAEXfhX1UJvXT6BB5osWYxVg3F3"));


Please check our Wiki to learn more about Nebulas.


We are very glad that you are considering to help Nebulas Team or go-nebulas project, including but not limited to source code, documents or others.

If you'd like to contribute, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base. If you wish to submit more complex changes though, please check up with the core devs first on our slack channel to ensure those changes are in line with the general philosophy of the project and/or get some early feedback which can make both your efforts much lighter as well as our review and merge procedures quick and simple.

Please refer to our contribution guideline for more information.



The go-nebulas project is licensed under the GNU Lesser General Public License Version 3.0 (“LGPL v3”).

For the more information about licensing, please refer to Licensing page.