Importing Libraries
Your function runs inside a sandbox, and so cannot import libraries that are not already installed in our environment. The following libraries are already installed:
Name | Version | Import source | Documentation |
---|---|---|---|
big.js | 6.2.1 | https://cdn.skypack.dev/[email protected] | https://www.skypack.dev/view/big.js |
ethers | 5.7.2 | https://cdn.skypack.dev/[email protected] | https://docs.ethers.org/v5/ |
6.13.1 | https://cdn.jsdelivr.net/npm/[email protected]/+esm | https://docs.ethers.org/v6/ | |
math.js | 12.4.3 | https://cdn.skypack.dev/[email protected] | https://www.skypack.dev/view/mathjs |
OsmoJS | 16.14.0 | https://cdn.jsdelivr.net/npm/[email protected]/+esm | https://docs.osmosis.zone/osmojs/ |
starknet | 5.24.3 | https://cdn.jsdelivr.net/npm/[email protected]/+esm | https://www.jsdelivr.com/package/npm/starknet |
std/io/util | 0.105.0 | https://deno.land/[email protected]/io/util.ts | https://deno.land/[email protected]/io/util.ts |
x/logger | 1.1.3 | https://deno.land/x/[email protected]/logger.ts | https://deno.land/x/[email protected]/logger.ts |
We will support more libraries in the future. If you have a specific library that you would like to see supported, please let us know!
Updated 29 days ago