@celo/base
TypeScript icon, indicating that this package has built-in type declarations

6.0.1 • Public • Published

@celo/base

This package contains shared classes and functions used by other celo packages. It was designed to have minimal external dependencies. (for shared celo functions that have big external dependencies see the @celo/utils, @celo/cryptographic-utils, @celo/phone-utils, @celo/network-utils packages)

How we work

We are a GitHub-first team, which means we have a strong preference for communicating via GitHub. Please use GitHub to:

🐞 File a bug report

💬 Ask a question

Suggest a feature

🧑‍💻 Contribute!

🚔 Report a security vulnerability

[!TIP]

Please avoid messaging us via Slack, Telegram, or email. We are more likely to respond to you on GitHub than if you message us anywhere else. We actively monitor GitHub, and will get back to you shortly 🌟

Notable Types

// enums StableTokens and Token are enums, CeloTokenType is the type that must be one of the 2 enums
import { StableTokens, Token, CeloTokenType } from "@celo/base"

StableTokens.cUSD

StableTokens.cREAL

Token.CELO

Notable Functions

import { eqAddress, normalizeAddress, isNullAddress } from "@celo/base"

Readme

Keywords

none

Package Sidebar

Install

npm i @celo/base

Weekly Downloads

16,257

Version

6.0.1

License

Apache-2.0

Unpacked Size

78.6 kB

Total Files

59

Last publish

Collaborators

  • app-tooling
  • pputman684
  • soloseng
  • aaron-clabs
  • nicolasbrugneaux
  • timmoreton
  • mcortesi
  • alecps