deweb
v0.0.3
Published
deWeb Library
Readme
deweb
deWeb common library used for Typescript
Installation
Using Yarn:
yarn add dewebor using NPM:
npm install --save dewebQuick Start
import { stringToHash } from "deweb"
const id = stringToHash("[email protected]");
//=> 8945370747656800747API
Table of Contents
stringToHash
String to Id
Parameters
strstring string account name
Examples
import { string_to_id } from "deweb"
const id = stringToHash("[email protected]");
//=> "8945370747656800747"Returns number uint64 account id
