5.7.1 Java  Script
5.7.1.1 Types
5.7.1.2 loader.mjs
5.7.1.3 Accounts
5.7.1.4 Contracts
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.3
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 Accounts

      5.7.1.3.1 Ethereum-specific

    5.7.1.4 Contracts

      5.7.1.4.1 View Access

    5.7.1.5 Network Utilities

    5.7.1.6 Provider Selection

    5.7.1.7 Utilities

    5.7.1.8 ask.mjs