1.0.7 • Published 5 years ago

@clar/mykey v1.0.7

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

mykeyjs

Basic Usage

    const fetch = require('node-fetch');  
    const {JsonRpc} = require('eosjs');

    let mykey = new Mykey() // use default jsonrpc
    // let mykey = new Mykey(new JsonRpc('https://public.eosinfra.io', { fetch }))
    
    let account = 'mykeyhulu511'
    console.log(await mykey.getSignkey(account))
    console.log(await mykey.getAdminKey(account))
    console.log(await mykey.getOpKeys(account))

    let txid = 'd65431c2aa72631cbeec80a16bd5605bf490a84d77df70768afe88f8741c4492' // mykey tx id
    let action_data = await mykey.getMykeyActionData(txid)
    console.log(await mykey.deserializeMykeyActionData(action_data))
1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago