sol2string

September 2, 2021 ยท View on GitHub

This repository contains a Solidity library LibUintToString for efficiently converting uint256 values to strings.

Run tests

npm install
npx hardhat compile
npx hardhat test

Gas benchmark

Gas benchmark results, using OpenZeppelin's implementation as a benchmark.

Contents

  1. 1Run tests
  2. 2Gas benchmark