bounded-sh/skill

bounded-frontend

- Wire a web or React Native frontend to Bounded: the @bounded-sh/client SDK (reads, writes, subscriptions, queries), hosted static frontends, and end-user auth UI (email OTP, OAuth, browser guest/anonymous accounts and upgrade).

Ver código-fonte
Documento original do Skill

Renderizado do repositório de origem, preservando títulos, exemplos, código, tabelas, links e imagens.

Bounded frontend

The client side of a Bounded app: the SDK your web or mobile app calls, how end users authenticate, and how the hosted frontend is served. Policy still governs every write from the client, so pair this with the bounded-backend skill when a client action needs a rule or invariant, and bounded-deploy for hosting and domains. To route across the family, see the root bounded skill.

Reference Router

Read only the row matching the current task or term.

Task or termRead
SDK reads, writes, subscriptions, paging, queryAggregate, count, filters, sort, cursor, setMany, set(path, null)SDK reference
Build a web frontendweb app guide
Local dev server (npm run dev, Vite, localhost), login popup fails, redirect_uri origin is not a registered origin, CORS during local developmentdevelop on localhost
Build for React Native / mobileReact Native guide
App-user email OTP, OAuth, openBoundedWidget, unified login widget, default Turnkey authapp auth
Bring-your-own wallet login; walletLogin, authMethod:'phantom', Phantom / Wallet-Standardwallet login
Wallet login lost on refresh, getCurrentUser() null after reload, bounded_last_auth_method, session restore methodwallet login - "Wallet sessions survive reloads"
Guests, anonymous users, invite links, account upgradeanonymous accounts
Hosted frontend and app URLsfrontend hosting
CLI developer login or bounded logindeveloper accounts
Embedded wallet, auth.wallets, @user.address after email/social loginembedded wallets
onramp(), buy SOL/USDC by card, Coinbase Onramp, wallet top-uponramp

Rules Of Thumb

  • Every client write is governed by policy; a 403 on a write is a rule denial, not a client bug. See the bounded-backend skill for the rule.
  • Denied reads return empty 200 responses, never 403.
  • Batch reads for lists of computed values with runQueryMany; never map runQuery over a list. See sdk-reference.md.
  • Put provider API keys in Bounded secrets (backend), never in frontend code.
  • A moderate `uuid` advisory (GHSA-w5hq-g745-h8pq) rides in transitively through `@solana/web3.js -> jayson`, with no upstream fix. Do not chase it through dependency bumps; add the app-level overrides/resolutions snippet in sdk-reference.md, which makes npm audit --omit=dev exit 0. The vulnerable code path is unreachable through the SDK.
  • Keep the auth defaults for most apps. Do not add authMode or auth.wallets to "enable wallets": default Turnkey email/social login already carries @user.address. Deploy "auth": { "wallets": true } only for an EXTERNAL-keypair session (bring-your-own wallet login, a server-SDK keypair client, the CLI keypair data lane). Full rule and the opt-outs: embedded-wallets.md.
  • `@user.id` (the account id) is identity/ownership; `@user.address` is the wallet. Key ownership, membership, and auth guards on @user.id (always present). Reach for @user.address only for wallet/onchain semantics - never as the identity key.
do mesmo repositório

Mais Skills

Todos os Skills
bounded-sh
Comunidade

bounded

- Build and use Bounded (bounded.sh), the full-stack app platform and policy-enforced realtime runtime for coding agents. Start here for a complete app, then load the focused Bounded skill for backend, frontend, deployment, or onchain work.

instalações
1
GitHub Stars
0
Atualizado
3 de set.
bounded-sh
Comunidade

bounded-backend

- Author a Bounded backend: policy.json rules and invariants (rollingSum/windowSum/flowBound/conserve/tenantTag/tenantEdge/bound), functions (ctx.user/ctx.bounded/ctx.ai/ ctx.services/ctx.secrets), the actor and identity model (@user, runAs/actAs, @origin, service keys, reserved identity sets), data and queries, realtime/live rooms, and the proof loop (bounded verify, counterexamples, proof coverage). Use when writing or changing server-side Bounded logic, policies, or the rules that govern who can do what. Part of the Bounded skill family; see the bounded skill to route across frontend, deploy, onchain, teams, and cross-cutting Action Boundaries guidance.

instalações
1
GitHub Stars
0
Atualizado
3 de set.
bounded-sh
Comunidade

bounded-deploy

- Ship and configure a Bounded app: CLI setup, browser-backed developer login, verify and deploy, hosted frontend publishing, environments, source sync, domains, bounded.json, collaborators, and release recovery. Part of the Bounded skill family.

instalações
1
GitHub Stars
0
Atualizado
3 de set.
bounded-sh
Comunidade

bounded-onchain

- Add onchain to a Bounded app: Solana collections, embedded non-custodial wallets for email/social users (@user.address, Turnkey by default), client- and server-signed transactions, DEX/perps trading patterns, and crypto payments (accept USDC/crypto non-custodially). Use for wallet, token, on-chain transaction, or crypto payment work. Part of the Bounded skill family; policy and the actor model live in bounded-backend.

instalações
1
GitHub Stars
0
Atualizado
3 de set.