{"_id":"@caict/bif-core-sdk","_rev":"4-a3df353fb548b22eb09a110220b641aa","name":"@caict/bif-core-sdk","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@caict/bif-core-sdk","version":"1.0.0","author":{"name":"caict"},"license":"ISC","_id":"@caict/bif-core-sdk@1.0.0","maintainers":[{"name":"caict","email":"949552983@qq.com"}],"dist":{"shasum":"c0ed12db1db1db8b103d683b11068999fbb7d691","tarball":"https://registry.npmjs.org/@caict/bif-core-sdk/-/bif-core-sdk-1.0.0.tgz","fileCount":36,"integrity":"sha512-Zb19IMi3r0xtkVbgrtbRmteGJ/2DV6VNKmLyBiZRLKZvsTbh8D4g5Pnnaj2wwSxSxpJ+/MVsmRv2Z13PJgXzeQ==","signatures":[{"sig":"MEUCIQDKonfY5EEqMX6zE0YPeLmyHZdKEEXTcPGhjuNlu/fvoQIgcpMqIRKk7hM4fXF1xRdLSULP7Cd0q8cMfGQnB9PChnA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":183681},"main":"index.js","gitHead":"49c7130e718894b1acaf1b8bed5e6963e1a003bc","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"caict","email":"949552983@qq.com"},"_npmVersion":"8.15.0","description":"该包主要功能是实现与链的交互，以及新增随机nonce","directories":{},"_nodeVersion":"16.17.0","dependencies":{"jest":"^29.7.0","long":"^5.2.3","assert":"^2.1.0","crypto":"^1.0.1","is-type-of":"^2.1.0","co-wrap-all":"^1.0.0","json-bigint":"^1.0.0","randombytes":"^2.1.0","bignumber.js":"^9.1.2","@caict/bif-core":"^1.0.1","request-promise":"^4.2.6","merge-descriptors":"^2.0.0","@caict/bif-encryption":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bif-core-sdk_1.0.0_1718865389888_0.9600759276248378","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@caict/bif-core-sdk","version":"1.0.1","author":{"name":"caict"},"license":"ISC","_id":"@caict/bif-core-sdk@1.0.1","maintainers":[{"name":"caict","email":"949552983@qq.com"}],"dist":{"shasum":"c68263e9c6db5e3814aa90d198dc92cc0ec8424f","tarball":"https://registry.npmjs.org/@caict/bif-core-sdk/-/bif-core-sdk-1.0.1.tgz","fileCount":36,"integrity":"sha512-HXGruR03qQrF2K8SvnKpgqD8bs87JgJqSM9L5cN0TB5awkgY4HGoecbNHxX8TrzjDQTUGl2GC2qQeB/NWtVWKQ==","signatures":[{"sig":"MEUCIQDtgdtV2uR83SiudMJJ9dZ7eF7FjwWbEHFypUIYjOMoQgIgdTBnAsgJCmwY0Qgtpk6fd0L4bJ+LF5GnydvHR2mlZdk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":183747},"main":"index.js","gitHead":"7817df068c291925382a04cdc8e59e177883734d","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"caict","email":"949552983@qq.com"},"_npmVersion":"8.15.0","description":"该包主要功能是实现与链的交互，以及新增随机nonce","directories":{},"_nodeVersion":"16.17.0","dependencies":{"jest":"^29.7.0","long":"^5.2.3","assert":"^2.1.0","crypto":"^1.0.1","is-type-of":"^2.1.0","co-wrap-all":"^1.0.0","json-bigint":"^1.0.0","randombytes":"^2.1.0","bignumber.js":"^9.1.2","@caict/bif-core":"^1.0.2","request-promise":"^4.2.6","merge-descriptors":"^2.0.0","@caict/bif-encryption":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bif-core-sdk_1.0.1_1718869573774_0.6504419841560765","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@caict/bif-core-sdk","version":"1.0.2","author":{"name":"caict"},"license":"ISC","_id":"@caict/bif-core-sdk@1.0.2","dist":{"shasum":"ca83772774d02c8287711755c79a48e13b2f490e","tarball":"https://registry.npmjs.org/@caict/bif-core-sdk/-/bif-core-sdk-1.0.2.tgz","fileCount":36,"integrity":"sha512-x+ciQpX2+ZXK8FnAk9aRYAiUUCKBX4qDOAyyx6MczTie8i/tTqXvDoHl1AAPy0yS0G7QVK8Ho3sbZf1OOn9qIw==","signatures":[{"sig":"MEQCIF2Gn8JvWNHp0gYE5i7q1VRmZwi0uynfVC46dUdQ4/atAiAK9NYvSTE53zbZPfLrC8BusJ43W6/e5pKi3+cKJjuU3A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":182728},"main":"index.js","gitHead":"168ff2dcd659375f2652494e9edaf31d161611a4","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"caict","email":"949552983@qq.com"},"_npmVersion":"8.15.0","description":"该包主要功能是实现与链的交互，以及新增随机nonce","directories":{},"_nodeVersion":"16.17.0","dependencies":{"jest":"^29.7.0","long":"^5.2.3","assert":"^2.1.0","crypto":"^1.0.1","is-type-of":"^1.4.0","co-wrap-all":"^1.0.0","json-bigint":"^1.0.0","randombytes":"^2.1.0","bignumber.js":"^9.1.2","@caict/bif-core":"^1.0.2","request-promise":"^4.2.6","merge-descriptors":"^2.0.0","@caict/bif-encryption":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bif-core-sdk_1.0.2_1719907571640_0.17628435378086982","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@caict/bif-core-sdk","version":"1.0.3","author":{"name":"caict"},"license":"ISC","_id":"@caict/bif-core-sdk@1.0.3","maintainers":[{"name":"caict","email":"949552983@qq.com"}],"dist":{"shasum":"d3ad6c0de81f0baafedd187603d65458b3592f79","tarball":"https://registry.npmjs.org/@caict/bif-core-sdk/-/bif-core-sdk-1.0.3.tgz","fileCount":36,"integrity":"sha512-KF4rMtlSE3V0xeRVzFFzscmpHaGMhSy1MGnJTGEsVLjKJ7FDZNh2mlekXVysvoHK72R8C+AcPnWIyIx5fUf/9A==","signatures":[{"sig":"MEUCID9gBJtx6gFetwqITyt2TEC77vsUwVPrJepOvPlx77zUAiEAyxnQTg8uzfm7ZDGcenC1qr/zwTAoIFS6VzJ/u45MoiM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":183113},"main":"index.js","gitHead":"ffa51acee34db0ab150027e61e57569b4b3e5b45","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"caict","email":"949552983@qq.com"},"_npmVersion":"8.15.0","description":"该包主要功能是实现与链的交互，以及新增随机nonce","directories":{},"_nodeVersion":"16.17.0","dependencies":{"jest":"^29.7.0","long":"^5.2.3","assert":"^2.1.0","crypto":"^1.0.1","is-type-of":"^1.4.0","co-wrap-all":"^1.0.0","json-bigint":"^1.0.0","randombytes":"^2.1.0","bignumber.js":"^9.1.2","@caict/bif-core":"^1.0.2","request-promise":"^4.2.6","merge-descriptors":"^2.0.0","@caict/bif-encryption":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/bif-core-sdk_1.0.3_1719975916268_0.8842400664851358","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@caict/bif-core-sdk","version":"1.0.4","description":"该包主要功能是实现与链的交互，以及新增随机nonce","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"caict"},"license":"ISC","dependencies":{"@caict/bif-core":"^1.0.2","@caict/bif-encryption":"^1.0.0","assert":"^2.1.0","bignumber.js":"^9.1.2","co-wrap-all":"^1.0.0","crypto":"^1.0.1","is-type-of":"^1.4.0","jest":"^29.7.0","json-bigint":"^1.0.0","long":"^5.2.3","merge-descriptors":"^2.0.0","randombytes":"^2.1.0","request-promise":"^4.2.6"},"_id":"@caict/bif-core-sdk@1.0.4","gitHead":"d0eb02d00b5dcfaacfde1d3cf055a05f7fd4bc6c","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-cHGuI7HqJUitKTvJEVuKfOdFU5ND6k8g9mMLow22qDx68i9TJ8aW1horhSQK2bPZTmx+1EpxnVzbWLTWIZklBw==","shasum":"e90ad6028b2699d9d5128449ca404b4e2912c870","tarball":"https://registry.npmjs.org/@caict/bif-core-sdk/-/bif-core-sdk-1.0.4.tgz","fileCount":36,"unpackedSize":183113,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICpHddzP4U0UXYw3KoyYdYL4oBsPPuBF97utiA6oPBuRAiASgR1mVGkJ9ZT4xEcDuLNlsOpj7bVbmvZQMW2puuIyvA=="}]},"_npmUser":{"name":"caict","email":"949552983@qq.com"},"directories":{},"maintainers":[{"name":"caict","email":"949552983@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bif-core-sdk_1.0.4_1729843003194_0.8925157813159876"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-20T06:36:29.764Z","modified":"2024-10-25T07:56:43.533Z","1.0.0":"2024-06-20T06:36:30.047Z","1.0.1":"2024-06-20T07:46:13.933Z","1.0.2":"2024-07-02T08:06:11.798Z","1.0.3":"2024-07-03T03:05:16.436Z","1.0.4":"2024-10-25T07:56:43.363Z"},"author":{"name":"caict"},"license":"ISC","description":"该包主要功能是实现与链的交互，以及新增随机nonce","maintainers":[{"name":"caict","email":"949552983@qq.com"}],"readme":"# 星火包\r\n\r\n该包主要功能是实现与链的交互，以及新增随机nonce\r\n\r\n## node版本\r\n\r\nv20.0.0\r\n\r\n## 功能接口\r\n\r\n**一、**    **账户服务接口**\r\n\r\n| **序号** | **接口**                | **说明**                                  |\r\n| -------- | ----------------------- | ----------------------------------------- |\r\n| **1**    | **createAccount**       | **生成主链数字身份**                      |\r\n| **2**    | **getAccount**          | **该接口用于获取指定的账户信息**          |\r\n| **3**    | **getNonce**            | **该接口用于获取指定账户的nonce值**       |\r\n| **4**    | **getAccountBalance**   | **该接口用于获取指定账户的星火令的余额**  |\r\n| **5**    | **setMetadatas**        | **设置metadatas**                         |\r\n| **6**    | **getAccountMetadatas** | **该接口用于获取指定账户的metadatas信息** |\r\n| **7**    | **setPrivilege**        | **设置权限**                              |\r\n| **8**    | **getAccountPriv**      | **获取账户权限**                          |\r\n\r\n**二、**    **区块服务接口列表**\r\n\r\n| **序号** | **接口**                | **说明**                                   |\r\n| -------- | ----------------------- | ------------------------------------------ |\r\n| **1**    | **getBlockNumber**      | **该接口用于查询最新的区块高度**           |\r\n| **2**    | **getTransactions**     | **该接口用于查询指定区块高度下的所有交易** |\r\n| **3**    | **getBlockInfo**        | **该接口用于获取区块信息**                 |\r\n| **4**    | **getBlockLatestInfo**  | **该接口用于获取最新区块信息**             |\r\n| **5**    | **getValidators**       | **该接口用于获取指定区块中所有验证节点数** |\r\n| **6**    | **getLatestValidators** | **该接口用于获取最新区块中所有验证节点数** |\r\n\r\n**三、**    **合约服务接口列表**\r\n\r\n| **序号** | **接口**                 | **说明**                               |\r\n| -------- | ------------------------ | -------------------------------------- |\r\n| **1**    | **checkContractAddress** | **该接口用于检测合约账户的有效性**     |\r\n| **2**    | **contractCreate**       | **创建合约**                           |\r\n| **3**    | **getContractInfo**      | **该接口用于查询合约代码**             |\r\n| **4**    | **getContractAddress**   | **该接口用于根据交易Hash查询合约地址** |\r\n| **5**    | **contractQuery**        | **该接口用于调试合约代码**             |\r\n| **6**    | **contractInvoke**       | **合约调用**                           |\r\n| **7**    | **batchContractInvoke**  | **批量合约调用**                       |\r\n\r\n**四、**    **交易服务接口列表**\r\n\r\n| **序号** | **接口**               | **说明**                               |\r\n| -------- | ---------------------- | -------------------------------------- |\r\n| **1**    | **gasSend**            | **交易**                               |\r\n| **2**    | **getTransactionInfo** | **该接口用于实现根据交易hash查询交易** |\r\n| **3**    | **evaluateFee**        | **该接口用于交易费用评估**             |\r\n| **4**    | **submitTrans**        | **提交交易**                           |\r\n| **5**    | **getTxCacheSize**     | **该接口用于获取交易池中交易条数**     |\r\n| **6**    | **batchEvaluateFee**   | **该接口为批量费用评估接口**           |\r\n| **7**    | **parseBlob**          | **blob****数据解析**                   |\r\n| **8**    | **batchGasSend**       | **批量转移星火令**                     |","readmeFilename":"README.md"}