Skip to content

bitbill/ethereumjs-lib-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ethereumjs-lib-bridge

安装依赖

npm install

转译命令

npm start

函数调用格式

bridge.methodName('param1', 'param2')

公开的函数

名称 功能 参数 返回值
seedToAddress seed生成地址 seed: buffer buffer,不是hex字符串
seedHexToAddress seed生成地址 seedHex: hex字符串 地址
isValidAddress 校验地址 address: 地址 字符串
seedHexToPrivateHex seed生成私钥 seedHex: hex字符串
path: 可选,默认eth地址路径
Hexed-privateKey
generateMnemonicStore 生成mnemonicStore password: 密码
mnemonic: 助记词
mnemonicStore,类似于keystore
getMnemonicFromMnemonicStore 生成助记词 password: 密码
mnemonicStoreContent: 类似于keystore内容
助记词

About

ethereum js lib bridge for app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published