OneGate
NEO GLOBAL RESOURCES v1.1.0
Publisher description
From the marketplace listing
Open a DApp at its original URL with a document-start OneGate-compatible NEP-21 Browser Mock, or act as one compatible remote debugger for an installed OneGate app's encrypted remote-debug interface. Inspect page state, console output, screenshots, approval requests, and dAPI traces. OneGate can also gather public project metadata, validate it against the official catalog form, prepare the exact listing request, and submit it to the public OneGateApp issue tracker only after user review and confirmation.
Language: English · Automatically detected from descriptions.
Publisher keywords
Search terms declared by the publisher.
Files & skills
File archives
Skill instructions
onegate-dapp-debug6.3 KB
--- name: onegate-dapp-debug description: Launch and debug Neo N3 DApps with either the local OneGate Browser Mock or a paired real OneGate app. Use for NEP-21/NEP-20 testing, real-wallet development sessions, persistent development-account signing, and inspecting page state, logs, screenshots, approval requests, and dAPI traces without changing the DApp Origin. --- # OneGate DApp Debug Run the platform launcher from this skill directory: `scripts\onegate.cmd` on Windows, or `sh scripts/onegate.sh` on macOS and Linux. In the commands below, `<launcher>` means that platform-specific command. The launcher finds a compatible Node runtime on `PATH`, through `ONEGATE_NODE`, or in the Codex bundled-runtime cache. It emits exactly one JSON envelope on stdout. If no Node.js 22-or-newer runtime with built-in WebSocket support is available, report the launcher's prerequisite error instead of substituting a proxy or changing the DApp URL. The CLI automatically starts a loopback-only authenticated local daemon. That daemon owns Browser Mock processes, paired debug-target connections, sessions, and persistent local identities across separate CLI calls. For real-app sessions, it is the remote debugger implementation bundled with this plugin. OneGate's app-side remote-debug interface is not tied to Codex or any specific debugger and can also be implemented by other trusted tools. Browser Mock remains the default target and registers the provider before navigation. The optional `onegate` target controls a real OneGate DApp window over an end-to-end encrypted same-LAN connection. ## Start and inspect 1. Use target `browser` unless the user explicitly asks for a real installed OneGate app, real wallet state, or platform WebView behavior. 2. For Browser Mock, run `<launcher> identity` when the public development address matters, then `<launcher> debug start --target browser --url <url>`. Add `--headless` for automated checks. 3. For a real app, first run `<launcher> debug-target list`. If no trusted debug target is online, run `<launcher> debug-target pair start --output <png>`, have the user enable OneGate Developer Tools and scan that QR code, then poll `debug-target pair status --id <pairing-id>`. Start with `<launcher> debug start --target onegate --debug-target <debug-target-id> --url <https-url>`; omit `--debug-target` only when exactly one debug target is connected. 4. If browser discovery fails, run `<launcher> targets discover` and pass an absolute compatible executable with `--browser-executable`. Never assume a browser brand or fixed installation path. 5. Use `session status`, `session logs`, `session trace`, and `session screenshot --output <path>` for evidence. Pass the `--id` returned by `debug start`. 6. In a real-app session, poll `session requests` and approve or reject each pending dAPI request explicitly with `session approve` or `session reject`; never script blanket approval. OneGate decides which calls require approval, and any method can appear as pending, so do not infer approval policy from the method name. If the user explicitly chooses a return value, pass that exact JSON with `session approve --result <json>`; do not invent a result or interpret it in the plugin. A disconnect or approval timeout rejects the pending request. Other calls continue and remain visible in `session trace`. 7. Use `session evaluate --expression <javascript>` only for explicit interaction or targeted diagnostics. Add `--defer` for a long-running expression and poll `session operation`. Evaluation executes in the DApp main world and can mutate page state. 8. Use `session reload` after DApp changes. Always run `session stop` when finished. Do not stop the daemon while other sessions are active. Browser Mock start includes the session id, final URL and Origin, provider metadata, development address, transaction mode, browser path, and injection identifier. Real-app start includes the session id, debug-target id, HTTPS URL and Origin, and startup state. A changed Origin should be explained by a DApp redirect. ## Interpret results - `getAccounts`, `pickAddress`, `getBalance`, `signMessage`, and valid transaction-context `sign` calls use the persistent generated account. `authenticate` additionally validates the top-level hostname and signs the response data in the exact NEP-20 field order. - The bundled `offline` profile returns zero for unspecified balances. Transfer and invocation requests normally reject with `10007 INSUFFICIENT_FUNDS`; calls requiring an RPC connection reject with `10008 RPC_ERROR`. - A custom profile with `transactionMode: "simulate"` explicitly enables fake call and transaction-success paths. Never describe simulated hashes or relay results as chain activity. - Missing read fixtures reject with `10003 NOTFOUND`. Exact profile fixtures and forced errors override default behavior. - Treat the account as development-only. The plugin never exports its private key and never broadcasts in Browser Mock. - A real OneGate app uses its actual selected wallet and network. In a remotely started DApp session, explicit approval delegates authority to the trusted remote debugger and replaces ordinary in-app confirmation on every network. Treat pairing and remote sessions as high-trust operations. - Pairing creates persistent mutual trust. Session stop does not erase it. Use `debug-target forget --id <debug-target-id> --confirm` and the OneGate Developer Tools trust list when trust must be removed. For a self-contained installation check, run `<launcher> review start --headless`. This serves the bundled reviewer DApp on a temporary loopback URL, opens it in Browser Mock, and returns the session id and fixture URL. Stop the returned session when finished; its fixture server closes with it. Regenerate the address only when the user explicitly asks. Stop all sessions, then run `<launcher> identity regenerate --confirm`. Read [references/cli.md](references/cli.md) for commands and JSON envelopes. Read [references/browser-mock.md](references/browser-mock.md) for identity storage, profile schema, method behavior, and the injection/bridge model. Read [references/onegate-app.md](references/onegate-app.md) for pairing, trust, approval, network, and real-app security behavior. Read [references/reviewer-testing.md](references/reviewer-testing.md) when validating an installation without an external DApp.
Referenced files: 23
onegate-submit-dapp3.84 KB
--- name: onegate-submit-dapp description: Prepare, validate, and submit a public DApp, game, tool, or project listing request to OneGate through the canonical neoorder/OneGateApp GitHub issue workflow. Use when a user asks to list, publish, add, register, or submit a project to the OneGate catalog, wants a listing draft reviewed, or asks for a DApp 上架 or 上架申请. --- # Submit a DApp to OneGate Use one public GitHub issue per listing. Read [references/submission-fields.md](references/submission-fields.md) before collecting data or drafting the issue. If the live form is reachable, compare it with the bundled field reference and follow the live form when they differ. ## Prepare the request 1. Inspect the user's repository, manifest, documentation, and public site when available. Reuse verifiable public facts and URLs instead of asking for them again. 2. Track which values are observed, supplied by the user, or still unknown. Never infer contact information, URL ownership, audits, licenses, legal rights, or the submitter confirmations. 3. Ask only for missing required values. For a Game, also require the game-specific review fields described in the reference, even if the GitHub form currently renders them as optional. 4. Keep the form headings in English. Write values in the user's requested language; otherwise match the language of the supplied listing content. ## Validate before drafting - Accept only an exact documented option for each choice field. Require at least one supported network and one wallet-integration choice. - Require public HTTPS launch, website, and icon URLs. Check that required URLs resolve without authentication when network tools are available. Explain redirects or unreachable assets instead of silently replacing them. - Prefer a square 512x512 PNG or WebP icon. Treat a different usable square size as a review note, not an automatic rejection. - If no wallet connection is required, use that integration option and write `None` under wallet permissions and methods. - Search existing OneGateApp issues by project name and launch URL before submission. Show likely duplicates and ask whether the user wants to update an existing request or proceed with a new one. - Exclude private keys, seed phrases, credentials, tokens, unpublished API keys, private endpoints, and other secrets. If supplied material contains a secret, do not quote it into the draft or submit the issue; tell the user what category of data must be removed and recommend rotating exposed credentials when appropriate. ## Review and confirm Build the exact title and Markdown body using the reference. Leave the three confirmation boxes unchecked until the user confirms them. Show the title and body to the user before any external write. Do not create the issue until the user has authorized the public submission and explicitly confirmed all three statements from the form: the URLs are official or authorized, OneGate may reject or remove the listing, and the issue contains no secrets. A clear confirmation already given in the current conversation counts; do not ask twice. Check the three boxes in the final body only after that confirmation. If the user requested only a draft or review, stop after returning the draft. ## Submit Create the issue in `neoorder/OneGateApp` with an available authenticated GitHub connector. If no connector can create issues, use authenticated GitHub CLI with the reviewed title and a body file. If neither route is authenticated, open or return the canonical issue-form URL and preserve the completed draft for the user; do not claim the request was submitted. Do not retry after an ambiguous network failure until checking whether the issue was created. On success, return the issue URL and identify any optional fields that were omitted. Treat the request as submitted only when GitHub returns a stable issue URL.
Referenced files: 2
Package details
Publisher declarations from the archived package. These are separate from our research and the live service's terms.
- Package license
- MIT
- Package author
- NEO GLOBAL RESOURCES
- Keywords
- See publisher keywords
Declared capabilities
- Interactive
- Write
Package observed Oct 2, 2026.
Technical details
- First seen
- Sep 30, 2026 · 22:02 UTC
- Last seen
- Oct 3, 2026 · 00:00 UTC
- Collection status
- Collected
plugins_6a5867c0ca4081919f2191a3f6c319bf
Download plugin data (JSON)