1.2.0 • Published 4 years ago
bitnum-xuper-sdk v1.2.0
Xuper SDK JS
A simple JS(TS) SDK for XuperOS
Features
- Create / Revert account
- Get local account balance and detail
- Make, post and query transaction
Support Xuper OS
- Pre-Execution
- Endorser check and signature
Usage
Install package
npm install --save @xuperchain/xuper-sdk
Example
import XuperSDK, {Cryptography, Language, Strength} from '@xuperchain/xuper-sdk'
const xsdk = new XuperSDK({
node,
chain,
needEndorse: true,
endorseConf
})
xsdk.createAccount(
Language.SimplifiedChinese,
Strength.Easy,
Cryptography.EccFIPS
)
Documents
Todos
- Support xuperchain/xuperunion