NuLink SDK
NuLink SDK is a software development kit designed to support privacy computing in the NuLink network.
Build & Install
Build Source
Set up your environment
select a configuration file of your usage environment
Development Environment (.env.dev)
Production Environment (.env.prod)
Custom Environment (.env.example)
Rename configuration file to .env
for Development Environment: rename .env.dev to .env
for Production Environment: rename .env.prod to .env
for Custom Environment: rename .env.example to .env, then you need to modify the configuration file manually
Set configuration for a custom environment
build project
Install via npm
or
API docs
The Classes
NulinkHDWallet
: The module mainly includes interfaces for nulink wallet related operations.AccountManager
: The module mainly responsible for managing multiple Account objects. AccountManager is a property of the NulinkHDWallet wallet object.Account
: The module mainly includes interfaces for nulink wallet account related operations. Account is a property of the AccountManager object.Strategy
: The module is mainly used to encrypt user files for file uploading using private keys.
The Functions
Functions
: The module mainly includes interfaces for file encryption and uploading, as well as operations related to interacting with the blockchain.
Usage Example
See NuLink SDK Examples to get how to use NuLink SDK.
Last updated