-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moonstream: Basic functionality #5
Comments
Launch ready by: August 2, 2021 |
Ethereum blockchain crawl can use the rubric set by our Spire API must allow callers to specify Spire issue: bugout-dev/spire#6 |
When a user creates a subscription for a new contract, the state of the subscription should be The frontend should distinguish between these states to manage user expectations. |
Something we should think about for post-alpha: How should we handle contracts that are only part of inactive subscriptions? Should we stop collecting information about them from mined transaction blocks? Most likely we wouldn't collect information about them from transaction pool. |
When we are crawling blockchain data, we will start at the current transaction block and work our way back to genesis block so that we can show live events to users. |
Riskiest feature is smart contract context. We will need information about the smart contract on which operations are being executed in order to display the context correctly. There are a few different ways we can get the smart contract code:
When Moonstream is more mature, we should allow all of these. For now, we will probably set up a crawl or at least crawl Open Zeppelin contracts. The context will have to be generated by the API, and the frontend will only handle display logic (React component). It may take us some time to decide the right architecture for crawling the data and caching it/storing it. This may not make it into Alpha. |
Crawling blockchain data: We should probably store all transaction information inside a database so that we don't have to repeat crawls over and over again. This will require some infrastructure work - we should set up a Postgres instance with a LOT of storage (~10TB?) but with cheap storage class - HDD should be okay. |
Moonstream discord server is up. Invitation link |
Features:
ethereum_blockchain
streams) for free. This matches Etherscan watchlist functionality. (@kompotkot for API, @peersky for frontend)ethereum_blockchain
streams). (@Andrei-Dolgolev )program
tag to the entries, which will be a signal to the frontend that it should present context about smart contract calls to the user.) Contraxt context information #10 (@Yhtiyar )Post-alpha features:
ethereum_blockchain
andethereum_txpool
subscriptions.ethereum_txpool
).ethereum_txpool
streams) from a CLI. This will be useful for onboarding alpha customers.The text was updated successfully, but these errors were encountered: