0.2.4-alpha.0 • Published 3 years ago
@ringuniversus/types v0.2.4-alpha.0
@ringuniversus/types
This package contains commonly-used data types in the Ring Universus webclient, also accessible in node.js server environments.
Installation
You can install this package using npm or
yarn by running:
npm install --save @ringuniversus/typesyarn add @ringuniversus/typesWhen using this in a plugin, you might want to load it with skypack
import * as types from "http://cdn.skypack.dev/@ringuniversus/types";Table of contents
Type Aliases
Type Aliases
EthAddress
Ƭ EthAddress: Abstract<string, "EthAddress">
This is expected to be a 40-character, lowercase hex string, prefixed with 0x
(so 42 characters in total). EthAddress should only ever be instantiated
through the address function in serde.
0.2.4-alpha.0
3 years ago