Documentation Index
Fetch the complete documentation index at: https://docs.goldsky.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Compose apps are bundled with esbuild and run in secure, auditable sandboxes. The sandboxes disallow OS, filesystem, and direct networking activity. To make external HTTP requests, use the provided fetch function. This keeps compose apps fully auditable, trusted, and secure. Because tasks are bundled with esbuild (not resolved by Deno), you can use any packages installed via npm, yarn, or pnpm. Native Node.js packages, or packages that rely on direct filesystem or network access, will not work inside the sandbox. To use third-party packages:- Make sure your project has a
package.json(runnpm init -yif it doesn’t). - Install packages with your preferred package manager (
npm install viem,yarn add viem, etc.). - Import using bare specifiers in your task files (e.g.
import { keccak256 } from "viem").
Packages must be installed in
node_modules/ — esbuild resolves imports from there, not from Deno’s module cache. Do not use Deno-style npm: prefixes (e.g. "npm:viem") or URL imports like https://deno.land/std@.../... in task files; they won’t resolve at bundle time.Example
Next Steps
Debugging
Debug and monitor your apps
Deploying your App
Learn about deploying your app to the cloud for production use cases.