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

4.0.0 • 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)

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"

Keywords

none

Install

npm i @celo/base

DownloadsWeekly Downloads

24,799

Version

4.0.0

License

Apache-2.0

Unpacked Size

126 kB

Total Files

66

Last publish

Collaborators

  • viral-sangani
  • soloseng
  • bowd
  • aaron-clabs
  • nicolasbrugneaux
  • timmoreton
  • dckesler
  • nambrot
  • jmrossy
  • mcortesi
  • jeanregisser
  • tkporter
  • yerdua
  • nategraf
  • pontigaston
  • alecps
  • hbandura
  • _isabellewei
  • eelanagaraj