JuicEchain SDK

EthereumService SDK contains functions which are used for communication with the Contracts on the chain. Wallets created on the chain are network specific and can operate only on the network they are created in. Created assets and publishers on other hand are unique, meaning they can not be created with the same identifier.

The management of digital assets is already an essential part of new business models and is closely connected to their success. Our JuicEchain solution is the best tool to enable and guarantee that continued success. As a cloud service, JuicEchain represents the easiest possible way to access blockchain technology without the need to worry about any technical/infrastructure (node-network) requirements.

This SDK manages a node in the JuicEchain blockchain network. It is basically a wrapper over the node API, which provides convenient functions and calls for easy adoption and integration into existing projects.
It enabled users to create and control Wallets, issue digital assets and non-fungible assets (NFAs). All wallets created by the same users can be monitored and tracked.

Requirements / Prerequisite

For accessing API functions, you need to have a valid account for either the production or demo chain!

  • Node: The Node name to which you want to connect
  • Username: Username of your API user
  • ApiKey: API key of the user


Good to know

ALL function calls require sender object as a parameter.



const sender: IAccount = {
    privateKey: String = "private-key";
    publicKey: String = "public-key"; // Optional
    publisher: String = "PublisherId":, // Optional
    address = 'account-address';
};                        

Create an instance of EthereumService


const ethereumService:EthereumService = new EthereumService();
                    

For NodeJS, we provide a package via the npm repository.

Install the JuicEchain SDK


$ npm install juicechain --save
                    

For Java, we are working on integration and publishing on the Mavon repository. For the moment, the library and sources can just be cloned from GitHub


$ git clone https://github.com/JuicEcommerce/juicechain-sdk-java.git
                    

For PHP, we are working on integration and publishing via Composer. For the moment, the library and sources can just be cloned from GitHub

Install the JuicEchain SDK


$ git clone https://github.com/JuicEcommerce/juicechain-sdk-php.git