Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 420 Bytes

readme.sdk.md

File metadata and controls

27 lines (21 loc) · 420 Bytes

云链白泽 SDK

安装SDK

yarn add cloud-chain-sdk

使用

const BaasZeSDKClient = require('cloud-chain-sdk');

const client = new BaasZeSDKClient({
    app_id: '', // 您的APP_ID
    app_secret: '' // 您的APP_SECRET
});

(async () => {
    try {
        const result = await client.getContractList()

        console.log(result);
    } catch (e) {
        console.error(e);
    }
})();