Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions pallets/pitch/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[package]
authors.workspace = true
description = "Ephemeral, consent-gated economic cells keyed by H3 cell references"
edition.workspace = true
license.workspace = true
name = "fc-pallet-pitch"
repository.workspace = true
version = "0.1.0"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec.workspace = true
frame.workspace = true
scale-info.workspace = true
sp-runtime.workspace = true

[dev-dependencies]
pallet-balances.workspace = true
sp-io.workspace = true

[features]
default = ["std"]
runtime-benchmarks = [
"frame/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
std = [
"codec/std",
"frame/std",
"pallet-balances/std",
"scale-info/std",
"sp-io/std",
"sp-runtime/std",
]
try-runtime = [
"frame/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime",
]
21 changes: 21 additions & 0 deletions pallets/pitch/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Pitch Pallet

`fc-pallet-pitch` records time-boxed economic authority over H3 cells.

A pitch is a short-lived claim over the economic membrane of a place: it can be
publicly indexed by raw H3 cell, hidden behind a commitment, gated by a
membership proof, or sealed with only an opaque on-chain residue. The pallet
does not perform H3 geometry. Clients compute H3 cells off-chain and submit
either the raw `u64` cell or a commitment.

This first implementation focuses on the minimal consensus surface:

- claim, amend, join, dissolve, and reap a pitch;
- index public raw-cell pitches for cheap lookup;
- keep private pitches out of the raw-cell index;
- record selective disclosure grants without putting the disclosed secret
on-chain;
- derive a deterministic sovereign account for each pitch.

Fee routing, VOS/Noir verification, and off-chain residue transport are intended
as runtime integrations layered on top of this base.
Loading
Loading