Draft
Conversation
52bb4af to
538047d
Compare
401a465 to
483982d
Compare
…red bonding Core Contracts: - FleetIdentity (ERC-721): UUID-based fleet ownership with geographic registration - Two-level registration: Country (ISO 3166-1) or Local (admin area) - Geometric bond tiers: BASE_BOND * 2^tier (local), *16 for country - Operator delegation for cold/hot wallet separation - O(1) setOperator via uuidTotalTierBonds tracking - ServiceProvider (ERC-721): Service endpoint URL ownership - SwarmRegistryL1: SSTORE2 filter storage for Ethereum L1 - SwarmRegistryUniversal: Native bytes storage for ZkSync Era Registration Model: - Fresh registration: caller becomes owner+operator, pays BASE_BOND + tierBond - Owned-to-Registered: only operator can register, pays tierBond - Multi-region: same UUID can register in multiple regions at same level - Burn refunds: BASE_BOND to owner (on last token), tierBond to operator Discovery: - buildHighestBondedUuidBundle: priority-ordered bundle (up to 20 UUIDs) - XOR filter membership verification for tag validation - Inclusion hints for optimal tier selection Documentation: - Complete technical specification in src/swarms/doc/ - ISO 3166-2 admin area mappings for 18 countries
3bc4f36 to
540f23a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BLE Swarm Registry System with Geographic Tiered Bonding
A complete BLE tag registry enabling decentralized device discovery using cryptographic membership proofs.
Core Contracts
BASE_BOND * 2^tier(local),*16for countrysetOperatorviauuidTotalTierBondstrackingRegistration Model
BASE_BOND + tierBondtierBondtierBondper regiontierBondtierBond, owner getsBASE_BONDDiscovery
buildHighestBondedUuidBundle: Priority-ordered bundle (up to 20 UUIDs)localInclusionHint,countryInclusionHint) for optimal tier selectionDocumentation
Complete technical specification in
src/swarms/doc/:Checklist