Skip to content

sinpapeles/hip2-hns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hip2-hns

Handshake specific implementation of HIP2 with input and output validation.

Usage

import hip2 from 'hip2-hns';

await hip2('iamfernando', { dns: ['203.28.246.143'] }); // hs1qshuyulxra3pqpwr40303t8pn79232zztuk4qgz
await hip2('hs1qshuyulxra3pqpwr40303t8pn79232zztuk4qgz'); // Error: "hs1qshuyulxra3pqpwr40303t8pn79232zztuk4qgz" is a valid address and can't be used as HIP2
await hip2('hs1qshuyulxra3pqpwr40303t8pn79232zztuk4qgz', { strict: false }); // hs1qshuyulxra3pqpwr40303t8pn79232zztuk4qgz

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published