Repository navigation
@odatano/nightgate 0.30.0
@odatano/nightgate 0.30.0
An information market for offer files and contract lineages as packages. Schema delta: three new tables.
-
Contract lineages as npm packages from
ODATANO/NIGHTGATE-CONTRACTS:@odatano/contract-attestation-vault,-attestation-vault-32,-holder-registry,-shielded-token,-token-factory(new lineage: shielded tokens on demand, named by their issuer),-counter, companion code in@odatano/contract-kit. Config entries take{ "package": "<name>" }; prover keys come from the package's release assets (nightgate-fetch-keys <name>prefetches).contracts/left this package;./browser/attestation-vault[-32]re-exports the packages for one release line. Vault and holder-registry digests unchanged;counterandshielded-tokenrecompiled. -
postSwapOffer(offer, expiresAt?, tags?),listSwapOffers(givesType?, wantsType?, tag?, limit?),retireSwapOffer(offerId): a posted maker half is checked like a sponsored half, terms read from the half; closed by a landed input nullifier, expiry or the poster.sponsorSwap(offerId)fills from the board. -
NIGHTGATE_SPONSOR_SHARE_MINTED_TOKEN_TYPES/ policy fileshareMintedTokenTypes: types a landed sponsored mint created count as listed for every grant (tableLearnedTokenTypes). -
Contract
holder-registry:registerHolder(coin, claim_key)proves holding by passing a coin of the type through the contract; the chain carriesholderEntry(type, claim_key)only. -
grantDisclosureToHolders(payloadHash, tokenType, registryAddress, content?, contentType?, expiresAt?),revokeHolderDisclosure(holderGrantId),claimDisclosure(payloadHash, tokenType, claimSecret): content stored encrypted, must hash to the payload; a claim reads the registry live. -
Codes
SWAP_OFFER_INVALID(400),SWAP_OFFER_NOT_OPEN(409). Worker RPCdescribeSwapHalf; swap results carry input nullifiers. -
@odatano/nightgate-tx0.10.0:holderClaimKey(secret),HOLDER_REGISTRY_CIRCUITS; depends on@odatano/contract-kitand the vault packages.
Full Changelog: v0.29.2...v0.30.0