5.7.1 Java  Script
5.7.1.1 Types
5.7.1.2 loader.mjs
5.7.1.3 Account Handles
5.7.1.4 Contract Handles
5.7.1.5 Network Utilities
5.7.1.6 Provider Selection
5.7.1.7 Utilities
5.7.1.8 ask.mjs
On this page:
stdlib
0.1.5
5.7.1 JavaScript

The Reach JavaScript standard library, stdlib, is provided by either
  • the module @reach-sh/stdlib/ETH.mjs;

  • the module @reach-sh/stdlib/ALGO.mjs;

  • the async function loadStdlib from @reach-sh/stdlib/loader.mjs.

These modules are available in the @reach-sh/stdlib npm package, which you can install via:
  $ npm install @reach-sh/stdlib
Although, if you use reach run, you don’t need to install this package, because reach automatically manages your standard library install behind the scenes. You only need to install the package directly if you are running your frontend without reach or using a tool like webpack for deployment.

These libraries provide a standard interface that support developing frontends.

    5.7.1.1 Types

    5.7.1.2 loader.mjs

    5.7.1.3 Account Handles

      5.7.1.3.1 EVM-specific (Ethereum and Conflux)

      5.7.1.3.2 Conflux-specific

    5.7.1.4 Contract Handles

    5.7.1.5 Network Utilities

    5.7.1.6 Provider Selection

    5.7.1.7 Utilities

    5.7.1.8 ask.mjs