diff --git a/components/NetworkResources.tsx b/components/NetworkResources.tsx index b1188eb..25c483d 100644 --- a/components/NetworkResources.tsx +++ b/components/NetworkResources.tsx @@ -34,8 +34,8 @@ const NETWORK_DATA = { property: "EVM Explorer", value: { type: "link", - url: "https://explorer.tangle.tools", - text: "explorer.tangle.tools", + url: "https://basescan.org", + text: "basescan.org", }, }, { property: "Asset Details", value: "" }, diff --git a/components/TokenContracts.tsx b/components/TokenContracts.tsx index 1e578b9..3fd4ee7 100644 --- a/components/TokenContracts.tsx +++ b/components/TokenContracts.tsx @@ -891,13 +891,7 @@ const TokenRow = memo(({ token }: { token: Token }) => ( {token.isNative ? ( "-" ) : ( - - {token.address} - + {token.address} )} diff --git a/pages/sandbox/quickstart.mdx b/pages/sandbox/quickstart.mdx index 082f47c..e0a0b0b 100644 --- a/pages/sandbox/quickstart.mdx +++ b/pages/sandbox/quickstart.mdx @@ -33,7 +33,7 @@ const client = new Sandbox({ baseUrl: process.env.SANDBOX_BASE_URL ?? "https://sandbox.tangle.tools", }); -const box = await client.create({ image: "universal", name: "agent-smoke" }); +const box = await client.create({ environment: "universal", name: "agent-smoke" }); try { const result = await box.exec("node --version && npm --version"); @@ -51,7 +51,7 @@ Each sandbox runs one coding harness. Choose it with `backend.type`. `opencode` ```typescript const box = await client.create({ - image: "universal", + environment: "universal", backend: { type: "opencode" }, }); diff --git a/pages/sandbox/sdk-reference.mdx b/pages/sandbox/sdk-reference.mdx index e7e76c6..559711d 100644 --- a/pages/sandbox/sdk-reference.mdx +++ b/pages/sandbox/sdk-reference.mdx @@ -30,7 +30,7 @@ Create a sandbox and get back a `SandboxInstance`. Common options: ```typescript const box = await client.create({ name: "my-project", - image: "node:20", + environment: "node:20", backend: { type: "opencode" }, // coding harness; see supported harnesses below env: { NODE_ENV: "development" }, resources: { cpuCores: 2, memoryMB: 4096, diskGB: 20 }, @@ -41,6 +41,9 @@ const box = await client.create({ }); ``` +`environment` accepts a named environment from `client.environments.list()`, a container image reference, or an SDK-built image ID. +Omit it to use the server default. + `backend.type` picks the coding harness. OpenCode is the default; Claude Code, Codex, and the other [supported harnesses](/infrastructure/harnesses) are selected the same way. ### `client.list(options?)` · `client.get(id)` · `client.usage()`