diff --git a/ticc.js b/ticc.js index 8bd7c2d..8169381 100644 --- a/ticc.js +++ b/ticc.js @@ -552,6 +552,7 @@ class TicCrypto { * @param {Object} option * @return {Object} * @memberof TicCrypto + * 只要提供了 path 或 pathRoot,就创建 bip39 账户。如果都不存在,那就创建主账户。 */ static secword_to_account ({ secword, coin, world, pass, pathRoot, pathIndex, path, tool, hasher } = {}) { // account 比 keypair 多了 address 字段。