20.3.0 β’ Published 2 years ago
@klyntar/valardohaeris v20.3.0
How to use
//CRYPTO is klyntar,algorand,arweave,eos,eth_like,filecoin,harmony,helium,mina,polkadot,ripple,solana,stellar,zilliqa(unimplemented)
//TIP: Check the directories of package to get available formats or https://github.com/KLYN74R/ValarDohaeris
import VD from '@klyntar/valardohaeris/<CRYPTO>/vd.js'
//_______________________________ USE DEFAULT SETS OF FUNCTIONS _______________________________
let keys=await VD.generate()
console.log(keys)//Make sure format is OK
//Sign data in the string format
let data='SIGN ME',
signature=await VD.sign(data,keys.privateKey)
console.log('Your signature in transportable format => ',signature)
console.log('Is ok => ',await VD.verify('ANOTHER DATA',signature,keys.address),` (should be β)`)
console.log('Is ok => ',await VD.verify(data,signature,keys.address),'(should be βοΈ)')
//_______________________________ AND EXPLORE SPECIFIC FUNCTIONS _______________________________
console.log('Address in another format: ',VD.toPUB_K1(keys.address))
19.1.0
2 years ago
19.0.0
2 years ago
19.3.0
2 years ago
19.2.0
2 years ago
19.4.0
2 years ago
18.0.0
2 years ago
17.1.0
2 years ago
20.1.0
2 years ago
20.0.0
2 years ago
20.3.0
2 years ago
20.2.1
2 years ago
20.2.0
2 years ago
15.1.1
2 years ago
15.0.0
2 years ago
15.1.0
2 years ago
13.1.3
2 years ago
13.0.2
2 years ago
14.0.0
2 years ago
13.0.3
2 years ago
13.0.0
2 years ago
13.0.1
2 years ago
12.0.0
2 years ago
17.0.0
2 years ago
16.0.1
2 years ago
16.0.0
2 years ago
10.0.0
2 years ago
9.0.0
2 years ago
8.0.0
2 years ago
7.0.0
2 years ago
6.0.0
2 years ago
5.0.0
2 years ago
4.0.0
2 years ago
3.0.0
2 years ago
2.0.0
2 years ago
1.0.0
2 years ago