
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
@olane/o-gateway-interface
Advanced tools
Interface definition for Olane gateway implementations. This package defines the contract that all gateway implementations must satisfy.
In the Olane network, gateways act like DNS registrars for o:// addresses. When a request is made to an address like o://brendon/my-tool, the gateway is responsible for resolving the first term (brendon) to determine how to route the request. Gateways prevent conflicting namespaces, bridge into walled gardens, broker communication, and establish a system of trust for AI agents, humans, and other entities to collaborate safely.
pnpm add @olane/o-gateway-interface
oGateway InterfaceThis package exports a single interface that all gateway implementations must conform to:
import { oGateway } from '@olane/o-gateway-interface';
| Field | Type | Description |
|---|---|---|
name | string | The unique name identifying this gateway (e.g., "olane") |
transports | string[] | List of transport protocols this gateway supports (e.g., ["/olane"]) |
description | string | Human-readable description of the gateway and its purpose |
logo | string | URL or path to the gateway's logo image |
website | string | URL of the gateway's website |
export interface oGateway {
name: string;
transports: string[];
description: string;
logo: string;
website: string;
}
To create a custom gateway, implement the oGateway interface and provide an address resolver that handles routing for your namespace. The resolver is responsible for inspecting incoming addresses and determining the next hop.
For a complete reference implementation, see @olane/o-gateway-olane, which resolves addresses in the olane namespace and routes them through the Olane leader node.
oAddress, oAddressResolver, and transport primitives(MIT OR Apache-2.0)
FAQs
oLane gateway interface
The npm package @olane/o-gateway-interface receives a total of 356 weekly downloads. As such, @olane/o-gateway-interface popularity was classified as not popular.
We found that @olane/o-gateway-interface demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.