How to use the @0xcert/ethereum-utils.normalizeAddress function in @0xcert/ethereum-utils

To help you get started, we’ve selected a few @0xcert/ethereum-utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github 0xcert / framework / packages / 0xcert-ethereum-generic-provider / src / core / provider.ts View on Github external
public set accountId(id: string) {
    this._accountId = normalizeAddress(id);
    this.emit(ProviderEvent.ACCOUNT_CHANGE, id);
  }
github 0xcert / framework / packages / 0xcert-ethereum-generic-provider / src / core / provider.ts View on Github external
public set orderGatewayId(id: string) {
    this._orderGatewayId = normalizeAddress(id);
  }
github 0xcert / framework / packages / 0xcert-ethereum-generic-provider / src / core / provider.ts View on Github external
    this._unsafeRecipientIds = (ids || []).map((id) => normalizeAddress(id));
  }

@0xcert/ethereum-utils

General Ethereum utility module with helper functions for the Ethereum blockchain.

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis