Allowed Packages

A lambda may require specific NPM packagesarrow-up-right that are present in this list. To request any additional NPM packages to be whitelisted, please open an issue on the main Orbs Lambda repoarrow-up-right.

You can see the exact versions of all packages by inspecting package.jsonarrow-up-right in the main Orbs Lambda repo.

web3

Package: https://www.npmjs.com/package/web3arrow-up-right

Provides basic interaction with EVM blockchains and smart contracts through simple JavaScript API. Note that most trigger event handlers receive an initialized web3 object that is ready for mainnet interaction.

const Web3 = require("web3");

ethereum-multicall

Package: https://www.npmjs.com/package/ethereum-multicallarrow-up-right

Multicall allows multiple smart contract constant function calls to be grouped into a single call and the results aggregated into a single result. This reduces the number of separate JSON RPC requests that need to be sent over the network and provides the guarantee that all values returned are from the same block.

const { Multicall } = require("ethereum-multicall");

bn.js

Package: https://www.npmjs.com/package/bn.jsarrow-up-right

Big numbers in JavaScript without floating point support, only integers. Compatible with the numeric types of all EVM blockchains.

const BN = require("bn.js");

bignumber.js

Package: https://www.npmjs.com/package/bignumber.jsarrow-up-right

A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic. Supports floating point numbers, not just integers.

node-fetch

Package: https://www.npmjs.com/package/node-fetcharrow-up-right

A light-weight module that brings Fetch APIarrow-up-right to Node.js and allows to make arbitrary HTTP requests to external websites and endpoints.

axios

Package: https://www.npmjs.com/package/axiosarrow-up-right

Promise based HTTP client for the browser and Node.js. Different package that allows to make arbitrary HTTP requests to external websites and endpoints.

@orbs-network/*

Packages: https://www.npmjs.com/org/orbs-networkarrow-up-right

All packages published by the Orbs organization on NPM are allowed for use.

Last updated