0.2.4-alpha.0 • Published 12 months ago

@ringuniversus/types v0.2.4-alpha.0

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

@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/types
yarn add @ringuniversus/types

When 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

12 months ago