@polkadot/util-rlp

Utility methods for encoding and decoding Ethereum RLP structures. This is port adapted from the original EthereumJS RLP implementation to cater for Uint8Array outputs (instead of Buffer) in addition to typings.

Usage

Installation -

yarn add @polkadot/util-rlp
1

Functions can be imported as follows:

import { decode } from '@polkadot/util-rlp';
import { encode } from '@polkadot/util-rlp';
1
2

Utilities

Utilities

Last Updated: 2/26/2019, 11:08:42 AM