Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.77 KB

File metadata and controls

38 lines (30 loc) · 1.77 KB

Examples

Commands

All commands below are to be run from typescript directory.

To run it directly, ensure nvm 0.39+ is installed. Before proceeding, please be sure to have your linora Account (ACCOUNT_ADDRESS), your Ethereum Account and look up your linora Account PUBLIC_KEY1 and PRIVATE_KEY2

Environment variables:

export ACCOUNT_ADDRESS=
export PUBLIC_KEY=
export PRIVATE_KEY=
export ETHEREUM_ACCOUNT=
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
nvm install
yarn install
yarn run app
yarn run bench

Benchmarks

┌─────────┬─────────────┬─────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name   │ ops/sec │ Average Time (ns) │ Margin   │ Samples │
├─────────┼─────────────┼─────────┼───────────────────┼──────────┼─────────┤
│ 0       │ 'signs/sec''50'    │ 19777384.0392157  │ '±0.28%' │ 51      │
└─────────┴─────────────┴─────────┴───────────────────┴──────────┴─────────┘

Footnotes

  1. To find this value go to https://voyager.prod.linora.trade/, search for your linora Account, and under Contract data choose the getSigner function from Read Contract

  2. This is available directly in linora. PLEASE NEVER SHARE THIS WITH ANYONE EVEN IF THEY SAY THEY WORK FOR linora