perama-v / gamb Goto Github PK
View Code? Open in Web Editor NEWGeneric Attributable Manifest Broadcaster
License: Creative Commons Zero v1.0 Universal
Generic Attributable Manifest Broadcaster
License: Creative Commons Zero v1.0 Universal
If the GAMB contract is deployed on mainnet, then it could at times be prohibitively expensive to maintain a publishing cadence.
For example, at 21 Gwei/gas a publish transaction
costs $1. If gas price is 100 Gwei/gas, this would be $5.
This could reduce participation, and at a minimum reduce the frequency that a publisher chooses to broadcast.
One-time "I'm a publisher for this topic" transactions.
A publisher could use IPNS as the pointer for their published manifests.
This would entail a one-time Ethereum mainnet transaction to the Broadcaster contract containing two elements:
k52...abc
)Then generate the manifest (which contains immutable CIDs for the database) and compute its manifest_CID
.
Then publish the manifest CID (ipfs name publish mainfest_CID
).
A few hours later they may have a new discrete piece to add to the database:
manifest_CID
ipfs name publish mainfest_CID
No on chain transaction necessary!
If the publisher loses their IPNS key they can submit a new transaction registering themselves as a new publisher.
Wants up to date manifests for topic: my-special-database
. Consults the Broadcaster contract and 3 publisher IPNS
IDs are returned:
> k52...abc
> k51...123
> k54...456
Looks up each one using IPFS to get the manifest from each publisher. Makes an informed decision about which is most up
to date using the info within the manifest (e.g., pick the one with most pieces or the highest block number).
Uses the CIDs from the favourite manifest to get the data.
Can a single IPFS node maintain different IPNS keys?
E.g., a single node might want to publish different topics, and could
perhaps create a new key (and hence IPNS name) for each.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.