caivega / ipfslib

Other
2 stars 1 forks source link

S4 - jt_createWallet,当参数为Sm2时,生成ECDSA的帐号 #128

Closed foreso-GitHub closed 3 years ago

foreso-GitHub commented 3 years ago

jt_createWallet,当参数为Sm2时,生成ECDSA的帐号

请求:

{
    "jsonrpc": "2.0",
    "method": "jt_createWallet",
    "params": ["Sm2"],
    "id": 1
}

结果:

{
    "id": 1,
    "jsonrpc": "2.0",
    "result": [
        {
            "address": "jBTx7hz2GuKFetdjMcPLKFxxjZqviGf2hD",
            "secret": "sn49ZrXDqmsrGJEHR53kuQbMx9NNr",
            "type": "ECDSA"
        }
    ]
}
caivega commented 3 years ago

已经修复, 可以在下一个build验证,见issue #129

foreso-GitHub commented 3 years ago

版本:20201130-v0.5.3-dev已经修复。