tollgate

TIP-01 - Base Events

draft mandatory kind=21021 kind=21000


TollGate Details

Tollgate details are expressed through the following Nostr event

{
    kind: 21021,
    pubkey: "24d6...3662", // TollGate identity
    content: "", 
    created_at: UNIX_TIMESTAMP,
    tags: [
        ["metric", "milliseconds"],
        ["step_size", "60000"],
        ["price_per_step", "210", "sat"],
        ["mint", "https://mint.domain.net"],
        ["mint", "https://mint.anotherdomain.net"],
        ["tips", "1", "2", "5", "..."]
    ]
}

Tags:

Payment

{
	kind: 21000,
	pubkey: "63gy...9xvq", // Can be randomly generated
	content: "", 
	created_at: UNIX_TIMESTAMP,
	tags: [
		["p", "24d6...3662"], // TollGate identity (pubkey)
		["device-identifier", "mac", "00:1A:2B:3C:4D:5E"],
		["payment", "cashuB..."]
	]
}

Tags: