A simple JS(TS) SDK for XuperOS
- Create / Revert account
- Get local account balance and detail
- Make, post and query transaction
- Pre-Execution
- Endorser check and signature
npm install --save @xuperchain/xuper-sdk
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
)
- Support xuperchain/xuperunion