deadhop

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2026 License: MIT Imports: 29 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

deadhop mark

deadhop client for Go

Create bitcoin invoices on a deadhop service and check that they are paid, from your Go backend.

CI Go Reference Go License

A deadhop service has no web address. Your code reaches it through Nostr relays, with nothing but the service's public key and a relay it listens on. This package handles that connection, the proof of work a public invoice needs, and checking every answer before you see it. It is the Go sibling of @deadhop/client and has no UI: show the invoice with the JavaScript components, or your own page.

go get github.com/deadhop/client-go

Go 1.24 or later. Pure Go, no cgo: the Nostr cryptography (BIP-340 signatures, NIP-44 encryption) is built on btcec and golang.org/x/crypto, and is tested against the official vectors.

Create an invoice and check it is paid

import deadhop "github.com/deadhop/client-go"

client, err := deadhop.New(deadhop.Options{
	ServerPubkey: os.Getenv("DEADHOP_SERVER_PUBKEY"), // hex, npub or nprofile
	Relays:       strings.Split(os.Getenv("DEADHOP_RELAYS"), ","),
	SecretKey:    os.Getenv("DEADHOP_BACKEND_NSEC"), // an operator key: no proof of work
})
if err != nil {
	log.Fatal(err)
}
defer client.Close()

invoice, err := client.CreateInvoice(ctx, deadhop.CreateInvoice{AmountSat: 21_000, Memo: "Order 42"})
if err != nil {
	log.Fatal(err)
}
fmt.Println(invoice.BIP21) // bitcoin:bcrt1q…?amount=0.00021000

// …later, before you ship:
paid, err := client.GetInvoice(ctx, invoice.ID)
if err == nil && paid.Status == deadhop.StatusConfirmed && paid.AmountSat == 21_000 {
	fmt.Println("ship it")
}

Create one Client per process and share it: it is safe for concurrent use. It connects on first use, keeps one connection, and tries again on the next call after a failure. Every call takes a context.Context; a deadline or a cancellation stops it.

Who signs. Leave SecretKey empty and the client makes a throwaway key: a guest. A guest can create invoices only if the service allows public invoicing, and first mines the proof of work it asks for (across every CPU; tens of milliseconds at 16 bits). Set an nsec (or hex) whose public key is in the service's operators (DEADHOP_ADMINS) to skip the work. An operator key can also manage the service: keep it in your server's secrets. See Give your backend a key.

Check before you fulfil

  • detected means the payment was seen, not that it is final: an unconfirmed payment can still disappear. Wait for confirmed.
  • An expired invoice can still become confirmed: the service keeps watching for late payments.
  • Check the amount too, when someone else created the invoice.
  • There are no webhooks. Poll GetInvoice, or wait in a goroutine:
ctx, cancel := context.WithTimeout(context.Background(), time.Hour)
defer cancel()
invoice, err := client.WaitForInvoice(ctx, id, deadhop.WaitOptions{
	Until:    []deadhop.InvoiceStatus{deadhop.StatusConfirmed},
	Interval: 10 * time.Second,
})

Errors

Every failure the service or the client reports is an *deadhop.Error with a stable Code, and a Message fit to show to people:

_, err := client.CreateInvoice(ctx, deadhop.CreateInvoice{AmountSat: 500})
var e *deadhop.Error
if errors.As(err, &e) && e.Code == deadhop.CodeInvalidParams {
	fmt.Println(e.Message) // The service rejected the request as invalid. (amount_sat must be between …)
}
Code Meaning
unauthorized This key may not do that (is it in DEADHOP_ADMINS?)
invalid_params The request was refused as invalid (amount out of range, bad id)
not_found No such invoice
rate_limited, capacity, paused Try again later, or the operator stopped invoicing
pow_rejected, pow_failed The proof of work was refused (check the clock), or the service asks for more than MaxPowBits
timeout, network The service did not answer on these relays
bad_response The answer failed validation and was discarded
internal The service had an internal error

A context deadline gives timeout, which also matches context.DeadlineExceeded with errors.Is; a cancelled context returns context.Canceled. client.Info(ctx) returns the service's limits (MinAmountSat, MaxAmountSat, MaxExpirySecs, …) and the proof of work it asks of your key.

API

Full reference on pkg.go.dev.

Name What it is
New(Options) One service. Returns ErrInvalidConfig, ErrInvalidSecretKey or ErrInvalidServerKey for unusable options
Info(ctx) ServiceInfo: name, network, limits, PowBits, IsAdmin
CreateInvoice(ctx, CreateInvoice{AmountSat, Memo, ExpirySecs}) A new Invoice
GetInvoice(ctx, id) The invoice now. Any key can read any invoice: the id is the capability
WaitForInvoice(ctx, id, WaitOptions{Until, Interval}) Polls until the status is in Until (default confirmed or expired)
CallTool(ctx, name, args) Any other tool, such as the operator tools, as unvalidated JSON
Close() Closes the relay connections; the next call opens them again
ParseInvoice, ParseInfo, ParseConfig, NormalizePubkey, URIMatches The checks behind the client, for your own use

What is checked

The client refuses an answer before you see it when it is not the service's or not what you asked for:

  • Who answered. Anyone can publish an event to your key on a relay. Replies arrive encrypted (NIP-44) in a gift wrap signed by a throwaway key, so the wrap proves nothing. The client reads a reply only when the event inside is signed by the service's key and names your request; it ignores everything else. A relay that asks (NIP-42) gets an AUTH signed by the key the replies are addressed to, so it can keep them from anyone else reading that key.
  • What it says. Invoices and service info must have exactly the expected fields, in range. The bip21 URI must pay exactly the invoice's address and amount, and an answer must be about the invoice id or amount you asked for.

These are the same rules as the JavaScript client's: both are tested against one set of cases (testdata/vectors.json, generated from @deadhop/client by testdata/gen-vectors.mjs).

Develop

Requirements: Go 1.24+ and just.

just check      # gofmt, go vet, staticcheck, go mod tidy, tests with -race
just e2e        # against a running service: see below

The unit tests run against an in-process relay and service, including forged and tampered replies. The end-to-end tests create, pay and confirm a real regtest invoice. They need the regtest stack from deadhop/stack (just up, just server there), then:

export DEADHOP_E2E_SERVER=<the service's hex key> DEADHOP_E2E_RELAY=ws://127.0.0.1:7777
export DEADHOP_E2E_PAY=<path to deadhop/stack>/scripts/dev-pay.sh       # optional: pays and confirms
export DEADHOP_E2E_OPERATOR_NSEC=<an operator nsec>                     # optional: the operator path
just e2e
.
├── .github/workflows/  ci.yml (every push and pull request), release.yml (tags)
├── testdata/           the shared vectors, NIP-44 and BIP-340 vectors, a rust-nostr event
├── client.go           Client, Options, the calls
├── transport.go        relays, gift wraps, matching replies to requests
├── event.go            NIP-01 events: serialize, sign, verify
├── nip44.go            NIP-44 v2 encryption
├── pow.go              NIP-13 proof of work
├── models.go           Invoice, ServiceInfo and their strict parsing
├── config.go, bech32.go, errors.go, doc.go
├── justfile
└── RELEASING.md        versions and tags

A release is a vX.Y.Z tag: see RELEASING.md.

Contributing

Issues and pull requests are welcome here. CI runs the same checks as just check on every pull request. Doc changes go to deadhop/site.

License

MIT.

Documentation

Overview

Package deadhop is a client for deadhop, an on-chain bitcoin invoice service reachable only over ContextVM (MCP JSON-RPC over Nostr).

A Client creates invoices, looks them up and waits for them to be paid:

client, err := deadhop.New(deadhop.Options{
	ServerPubkey: "npub1…",
	Relays:       []string{"wss://relay.example.com"},
})
if err != nil { … }
defer client.Close()
invoice, err := client.CreateInvoice(ctx, deadhop.CreateInvoice{AmountSat: 5000, Memo: "Order 42"})

The client connects lazily on the first call and is safe for concurrent use; share one per process.

Relays

Every request goes to every open relay and succeeds when one accepts it. Connecting gives the relays half of Options.ConnectTimeout (at most 10 s), so an unreachable relay is reported as a network error. A relay that drops later is redialed: in the background while another relay is open, so one dead relay does not slow calls down, and before the send when none is. Open connections are pinged every 20 s so a silently dead one is noticed.

Keys and proof of work

Requests are signed by Options.SecretKey. Without one the client uses a throwaway key: a guest, who must mine the proof of work (NIP-13) the service asks for before creating an invoice. Mining uses every CPU and stops with the context; the client refuses up front work beyond Options.MaxPowBits. An operator's key creates invoices without work.

Trust

Every reply is checked before any of it reaches the caller. A reply is only accepted when it decrypts (NIP-44), the event inside carries a valid id and signature by the service's key, and it names the request it answers. Its content must then have exactly the expected fields, in range, and an invoice's bip21 URI must pay exactly the address and amount shown. Anything else is dropped or reported as bad_response.

Errors

Calls fail with an *Error carrying a stable ErrorCode and a Message fit to show to people. A context deadline gives CodeTimeout (errors.Is it against context.DeadlineExceeded too); a cancelled context gives context.Canceled.

Wire protocol

A request is a JSON-RPC message in a kind 25910 event signed by the caller and addressed to the service with a "p" tag. It is encrypted with NIP-44 v2 from a fresh throwaway key and sent as a kind 21059 gift wrap to every relay. Replies come back the same way, as kind 21059 or 1059 wraps.

When a relay sends a NIP-42 challenge, the client answers it once per connection with a kind 22242 event signed by the key it reads replies for, and subscribes again (once) if the relay closed the subscription with "auth-required:". A relay that only delivers wraps to the key they name needs this; others never ask.

Index

Examples

Constants

View Source
const (
	// DefaultConnectTimeout is how long connecting waits for the service to
	// answer before giving up.
	DefaultConnectTimeout = 20 * time.Second
	// DefaultCallTimeout is how long a call waits for its answer.
	DefaultCallTimeout = 60 * time.Second
	// DefaultClientName is the name sent in the handshake.
	DefaultClientName = "deadhop-client-go"
	// DefaultWaitInterval is how often WaitForInvoice polls.
	DefaultWaitInterval = 5 * time.Second
)
View Source
const DefaultMaxPowBits = 28

DefaultMaxPowBits is the most proof of work the client attempts unless Options.MaxPowBits says otherwise. Each bit doubles the time.

View Source
const MaxMoneySat int64 = 21_000_000 * 100_000_000

MaxMoneySat is the most satoshis any amount can be: 21 million bitcoin.

View Source
const ProtocolVersion = "2025-03-26"

ProtocolVersion is the MCP protocol version the client speaks.

View Source
const Version = "0.1.0"

Version is this client's version, sent to the service in the handshake.

Variables

View Source
var ErrInvalidConfig = errors.New(`Invalid deadhop service config: it needs "server_pubkey" (hex or npub) and "relays" (ws:// or wss:// URLs).`)

ErrInvalidConfig is returned by ParseConfig and New when the service's key or relays are unusable.

View Source
var ErrInvalidSecretKey = errors.New("Enter an nsec or a 64-character hex secret key")

ErrInvalidSecretKey is returned by New when Options.SecretKey is neither an nsec nor a 64-character hex secret key.

View Source
var ErrInvalidServerKey = errors.New("Invalid deadhop service config: the server key is not a valid public key.")

ErrInvalidServerKey is returned by New when the server key has the right form but is not a valid public key (no point on the curve has it as x).

Functions

func LeadingZeroBits

func LeadingZeroBits(hexID string) int

LeadingZeroBits is the number of leading zero bits of a hex string (NIP-13). It stops at the first character that is not a hex digit.

func NormalizePubkey

func NormalizePubkey(value string) (hexKey string, ok bool)

NormalizePubkey accepts a hex key, npub or nprofile (with or without a "nostr:" prefix) and returns lowercase hex. ok is false if value is none of those.

func URIMatches

func URIMatches(address string, amountSat int64, bip21 string) bool

URIMatches reports whether bip21 pays exactly address and amountSat: "bitcoin:<address>?amount=<whole>.<8 digits>".

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is a deadhop service. It connects on first use and is safe for concurrent use by multiple goroutines; share one per process. Call Close when done.

func New

func New(opts Options) (*Client, error)

New checks the options and returns a Client. It does not connect: the first call does. It returns ErrInvalidConfig, ErrInvalidServerKey or ErrInvalidSecretKey if the options are unusable.

func (*Client) CallTool

func (c *Client) CallTool(ctx context.Context, name string, args map[string]any) (json.RawMessage, error)

CallTool calls any tool and returns its structuredContent unvalidated, as raw JSON ("null" when there is none). It is meant for operator tools.

func (*Client) Close

func (c *Client) Close() error

Close closes the relay connections, and stops a connection being opened. Calls in flight fail with a network error. The client stays usable: the next call connects again.

func (*Client) Config

func (c *Client) Config() ServiceConfig

Config is where the client reaches the service.

func (*Client) CreateInvoice

func (c *Client) CreateInvoice(ctx context.Context, req CreateInvoice) (Invoice, error)

CreateInvoice creates an invoice. A guest key first mines the proof of work the service asks for, on every CPU; an operator's key does not.

Example

A guest (no secret key) creates an invoice. The client mines the proof of work the service asks for first.

package main

import (
	"context"
	"errors"
	"fmt"
	"log"
	"time"

	deadhop "github.com/deadhop/client-go"
)

func main() {
	client, err := deadhop.New(deadhop.Options{
		ServerPubkey: "npub1…", // the service's key: hex, npub or nprofile
		Relays:       []string{"wss://relay.example.com"},
	})
	if err != nil {
		log.Fatal(err)
	}
	defer client.Close()

	ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
	defer cancel()
	invoice, err := client.CreateInvoice(ctx, deadhop.CreateInvoice{AmountSat: 5000, Memo: "Order 42"})
	var apiErr *deadhop.Error
	if errors.As(err, &apiErr) {
		// apiErr.Message is fit to show to people; apiErr.Code is stable.
		log.Fatalf("%s: %s", apiErr.Code, apiErr.Message)
	} else if err != nil {
		log.Fatal(err)
	}
	fmt.Println("Pay", invoice.BIP21)
}
Example (Operator)

An operator's key creates invoices without proof of work, and can call the operator tools.

package main

import (
	"context"
	"fmt"
	"log"
	"os"

	deadhop "github.com/deadhop/client-go"
)

func main() {
	client, err := deadhop.New(deadhop.Options{
		ServerPubkey: "npub1…",
		Relays:       []string{"wss://relay.example.com"},
		SecretKey:    os.Getenv("DEADHOP_OPERATOR_NSEC"), // nsec or hex
	})
	if err != nil {
		log.Fatal(err)
	}
	defer client.Close()

	ctx := context.Background()
	info, err := client.Info(ctx)
	if err != nil {
		log.Fatal(err)
	}
	if !info.IsAdmin {
		log.Fatal("this key is not an operator of the service")
	}
	invoice, err := client.CreateInvoice(ctx, deadhop.CreateInvoice{AmountSat: 100_000, ExpirySecs: 600})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(invoice.ID, invoice.Address)
}

func (*Client) GetInvoice

func (c *Client) GetInvoice(ctx context.Context, id string) (Invoice, error)

GetInvoice looks an invoice up by id. It works for any key: the id is the capability.

func (*Client) Info

func (c *Client) Info(ctx context.Context) (ServiceInfo, error)

Info is the service's name, network and limits, and the proof of work it asks of this key. It is read once, when the client connects.

func (*Client) Pubkey

func (c *Client) Pubkey() string

Pubkey is the hex public key requests are signed with.

func (*Client) WaitForInvoice

func (c *Client) WaitForInvoice(ctx context.Context, id string, opts WaitOptions) (Invoice, error)

WaitForInvoice polls an invoice until its status is one of opts.Until and returns it. Bound it with a context deadline: when the deadline is reached, or the next poll would come after it, it returns an *Error with code timeout.

Example

Wait until an invoice is paid and confirmed, or it expires, or an hour has passed.

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	deadhop "github.com/deadhop/client-go"
)

func main() {
	client, err := deadhop.New(deadhop.Options{
		ServerPubkey: "npub1…",
		Relays:       []string{"wss://relay.example.com"},
	})
	if err != nil {
		log.Fatal(err)
	}
	defer client.Close()

	ctx, cancel := context.WithTimeout(context.Background(), time.Hour)
	defer cancel()
	invoice, err := client.WaitForInvoice(ctx, "0123456789abcdef0123456789abcdef", deadhop.WaitOptions{
		Until:    []deadhop.InvoiceStatus{deadhop.StatusConfirmed, deadhop.StatusExpired},
		Interval: 10 * time.Second,
	})
	if err != nil {
		log.Fatal(err)
	}
	switch invoice.Status {
	case deadhop.StatusConfirmed:
		fmt.Println("paid", invoice.ConfirmedSat, "sat")
	case deadhop.StatusExpired:
		fmt.Println("expired; received", invoice.ReceivedSat, "sat")
	}
}

type CreateInvoice

type CreateInvoice struct {
	// AmountSat is the amount in satoshis.
	AmountSat int64
	// Memo is shown to whoever pays; up to 200 characters. Empty sends none.
	Memo string
	// ExpirySecs is the invoice's lifetime in seconds. Zero means the
	// service's default; the maximum is the service's MaxExpirySecs.
	ExpirySecs int64
}

CreateInvoice is what to invoice.

type Error

type Error struct {
	// Code is why the call failed.
	Code ErrorCode
	// Message is the fixed text for Code, sometimes followed by a detail in
	// parentheses (the relay's refusal, the service's reason for invalid params).
	Message string
	// contains filtered or unexported fields
}

Error is every failure a call reports: a stable Code and a Message fit to show to people. Use errors.As to get at it.

func (*Error) Error

func (e *Error) Error() string

func (*Error) Unwrap

func (e *Error) Unwrap() error

Unwrap returns the underlying cause, if any (context.DeadlineExceeded for a timeout caused by the caller's context).

type ErrorCode

type ErrorCode string

ErrorCode says why a call failed. The first eight come from the service itself; the rest are found by the client.

const (
	CodeInvalidParams ErrorCode = "invalid_params"
	CodeUnauthorized  ErrorCode = "unauthorized"
	CodeNotFound      ErrorCode = "not_found"
	CodePowRejected   ErrorCode = "pow_rejected"
	CodeRateLimited   ErrorCode = "rate_limited"
	CodeCapacity      ErrorCode = "capacity"
	CodePaused        ErrorCode = "paused"
	CodeInternal      ErrorCode = "internal"
	CodeBadResponse   ErrorCode = "bad_response"
	CodePowFailed     ErrorCode = "pow_failed"
	CodeTimeout       ErrorCode = "timeout"
	CodeNetwork       ErrorCode = "network"
)

The stable error codes. Their values never change.

func ErrorCodes

func ErrorCodes() []ErrorCode

ErrorCodes returns every error code, the eight the service sends first.

type Invoice

type Invoice struct {
	// ID is 32 lowercase hex characters. Anyone who has the id can look the
	// invoice up.
	ID string `json:"id"`
	// Address is the native segwit address that receives the payment (fresh
	// per invoice).
	Address   string `json:"address"`
	AmountSat int64  `json:"amount_sat"`
	// Memo is written by whoever created the invoice, possibly a stranger:
	// show it as plain text.
	Memo   string        `json:"memo"`
	Status InvoiceStatus `json:"status"`
	// ReceivedSat is what was paid to the address so far, confirmed or not.
	ReceivedSat int64 `json:"received_sat"`
	// ConfirmedSat is what was paid with at least ConfirmationsRequired
	// confirmations.
	ConfirmedSat int64 `json:"confirmed_sat"`
	// CreatedAt, ExpiresAt and SettledAt are Unix times in seconds.
	CreatedAt int64  `json:"created_at"`
	ExpiresAt int64  `json:"expires_at"`
	SettledAt *int64 `json:"settled_at"`
	// BIP21 is the bitcoin: payment URI for exactly Address and AmountSat.
	BIP21                 string `json:"bip21"`
	ConfirmationsRequired int64  `json:"confirmations_required"`
}

Invoice is an invoice as the service reports it.

func ParseInvoice

func ParseInvoice(raw []byte) (Invoice, error)

ParseInvoice checks an invoice from the service: exactly the expected fields, each of the right type and range, and a bip21 URI that pays exactly the address and amount shown. Anything else is an *Error with code bad_response.

type InvoiceStatus

type InvoiceStatus string

InvoiceStatus is where an invoice is in its life.

const (
	StatusPending   InvoiceStatus = "pending"
	StatusDetected  InvoiceStatus = "detected"
	StatusConfirmed InvoiceStatus = "confirmed"
	StatusExpired   InvoiceStatus = "expired"
)

The statuses an invoice can have.

type Network

type Network string

Network is the bitcoin network the service runs on.

const (
	NetworkBitcoin  Network = "bitcoin"
	NetworkTestnet  Network = "testnet"
	NetworkTestnet4 Network = "testnet4"
	NetworkSignet   Network = "signet"
	NetworkRegtest  Network = "regtest"
)

The networks a service can run on.

type Options

type Options struct {
	// ServerPubkey is the service's public key: hex, npub or nprofile.
	ServerPubkey string
	// Relays are 1 to 8 wss:// (or ws://) relays the service listens on.
	Relays []string
	// SecretKey signs requests, as an nsec or 64 hex characters. Empty means
	// a throwaway key: a guest, who must do proof of work to create invoices.
	// An operator's key creates invoices without proof of work.
	SecretKey string
	// ConnectTimeout bounds connecting and the handshake. Zero means
	// DefaultConnectTimeout.
	ConnectTimeout time.Duration
	// CallTimeout bounds the wait for each answer. Zero means
	// DefaultCallTimeout. A context deadline applies as well.
	CallTimeout time.Duration
	// MaxPowBits is the most proof of work the client attempts. Zero means
	// DefaultMaxPowBits; a negative value refuses any work.
	MaxPowBits int
	// ClientName is sent to the service in the handshake. Empty means
	// DefaultClientName.
	ClientName string
}

Options configures a Client.

type ServiceConfig

type ServiceConfig struct {
	// ServerPubkey is the service's public key, lowercase hex.
	ServerPubkey string
	// Relays are the 1 to 8 ws:// or wss:// relays shared with the service,
	// exactly as given.
	Relays []string
}

ServiceConfig is where to reach a deadhop service.

func ParseConfig

func ParseConfig(serverPubkey string, relays []string) (ServiceConfig, error)

ParseConfig checks where to reach the service. It returns ErrInvalidConfig if the key is not a hex key, npub or nprofile, or the relays are not 1 to 8 ws:// or wss:// URLs.

type ServiceInfo

type ServiceInfo struct {
	Name    string  `json:"name"`
	Version string  `json:"version"`
	Network Network `json:"network"`
	// PublicInvoicing is whether callers that are not operators may create
	// invoices (with proof of work).
	PublicInvoicing bool `json:"public_invoicing"`
	// PowBits is the proof of work asked of this caller for each new invoice
	// (0 for operators).
	PowBits           int64 `json:"pow_bits"`
	PowWindowSecs     int64 `json:"pow_window_secs"`
	MinConfirmations  int64 `json:"min_confirmations"`
	DefaultExpirySecs int64 `json:"default_expiry_secs"`
	MaxExpirySecs     int64 `json:"max_expiry_secs"`
	MinAmountSat      int64 `json:"min_amount_sat"`
	MaxAmountSat      int64 `json:"max_amount_sat"`
	// IsAdmin is whether the signing key is one of the service's operators.
	IsAdmin bool `json:"is_admin"`
}

ServiceInfo is what the service tells every caller about itself and its limits.

func ParseInfo

func ParseInfo(raw []byte) (ServiceInfo, error)

ParseInfo checks the service's description of itself. Anything unexpected is an *Error with code bad_response.

type WaitOptions

type WaitOptions struct {
	// Until is the statuses to stop at. Empty means confirmed or expired.
	// The service keeps watching an expired invoice for late payments, so
	// an expired invoice can still become detected or confirmed: leave
	// expired out to keep waiting past it.
	Until []InvoiceStatus
	// Interval is how often to poll. Zero means DefaultWaitInterval.
	Interval time.Duration
}

WaitOptions says when WaitForInvoice stops.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址