@klyntar/valardohaeris

Preparation for VD release for Klyntar. Feel free to use in your own projects as a useful module🐱‍🚀

Usage no npm install needed!

<script type="module">
  import klyntarValardohaeris from 'https://cdn.skypack.dev/@klyntar/valardohaeris';
</script>

README

Alt Text

ValarDohaeris - all addresses must serve

Supports many formats of top cryptocurrencies to perform standart set of operations-generate, sign(any data), derive keys, make easy to transfer and so on🎅🏻

How to use


import VD from '@klyntar/valardohaeris'


//_______________________________ USE DEFAULT SETS OF FUNCTIONS _______________________________


let keys=await VD.EOS.generate()

console.log(keys)//Make sure format is OK

//Sign data in the string format
let data='SIGN ME',

    signature=VD.EOS.sign(data,keys.privateKey)

console.log('Your signature in transportable format => ',signature)

console.log('Is ok => ',VD.EOS.verify('ANOTHER DATA',signature,keys.address),` (should be ❌)`)

console.log('Is ok => ',VD.EOS.verify(data,signature,keys.address),'(should be ✔️)')



//_______________________________ AND EXPLORE SPECIFIC FUNCTIONS _______________________________

console.log('Address in another format: ',VD.EOS.toPUB_K1(keys.address))