-
Notifications
You must be signed in to change notification settings - Fork 529
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
Create lastic-milestone-1&2.md #1164
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
2ffd948
Create lastic-milestone-3-4.md
poppyseedDev ed0b5c9
Update lastic-milestone-3-4.md
poppyseedDev 0a28706
Update deliveries/lastic-milestone-3-4.md
poppyseedDev 07ea643
Update lastic-milestone-3-4.md
poppyseedDev 095f6af
Update lastic-milestone-3-4.md - image fix
poppyseedDev 2c47cde
Update lastic-milestone-3-4.md
poppyseedDev 421d62d
Update deliveries/lastic-milestone-3-4.md
poppyseedDev c1451e7
Update deliveries/lastic-milestone-3-4.md
poppyseedDev 38858bf
Update deliveries/lastic-milestone-3-4.md
poppyseedDev 0a933f7
Update lastic-milestone-3-4.md - changing urls
poppyseedDev ec7ce22
Update deliveries/lastic-milestone-3-4.md
poppyseedDev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,218 @@ | ||
# Milestone Delivery :mailbox: | ||
|
||
**Submission Reminder:** | ||
> Only the GitHub account that submitted the original application is permitted to submit milestones. Please adhere to this rule to ensure a smooth review process. | ||
|
||
**Mandatory Guidelines:** | ||
> It is crucial to follow the [official milestone delivery guidelines](https://github.com/w3f/Grants-Program/blob/master/docs/Support%20Docs/milestone-deliverables-guidelines.md) closely. Do not remove any sections marked as mandatory or outlined with bold letters or headlines. Optional advisory comments, like this one, can be removed for clarity. | ||
|
||
* **Application Document:** https://github.com/w3f/Grants-Program/blob/master/applications/lastic-grant3.md | ||
* **Milestone Number:** 1 and 2 | ||
|
||
### Context (Optional) | ||
Lastic's milestones 3 and 4 aims to enhance the functionality and user experience of the Coretime Chain indexing process through Subsquid, along with providing basic visualization capabilities. | ||
|
||
### Deliverables | ||
This section lists all deliverables for Milestone 3 and 4, as outlined in the original application. Each deliverable includes a link to its implementation, with additional notes provided where applicable. | ||
|
||
### Milestone 1: Indexing Coretime Chain with Subsquid - Functioning Indexer and Basic Visualization | ||
|
||
This milestone focuses on establishing a robust infrastructure for indexing the Coretime Chain using Subsquid, along with the initial steps towards visualizing Coretime data. Each deliverable is detailed below, complete with relevant links to implementations and additional notes for clarity. | ||
|
||
| Number | Deliverable | Link | Notes | | ||
|----------|--------------------------------------------------|---------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------| | ||
| **0a.** | License | [subsquid-sdk LICENSE](https://github.com/LasticXYZ/squid-sdk/blob/main/LICENSE) and [subsquid LICENSE](https://github.com/LasticXYZ/subsquid/blob/main/LICENSE) | The project is licensed under GPLv3, ensuring open-source accessibility and compliance. | | ||
| **0b.** | Documentation | [subsquid-sdk README.md](https://github.com/LasticXYZ/squid-sdk) and [subsquid README.md](https://github.com/LasticXYZ/subsquid)| Provides extensive documentation in README and dedicated docs site, facilitating user understanding. | | ||
| **0d.** | Error Logging | [Lastic UI/issues](https://github.com/LasticXYZ/LasticUI/issues) | Errors are thoroughly documented as issues on GitHub, set for future resolution. We also set up a community bounty program. | | ||
| **0d.** | Article Publishing | [Article link](https://blog.lastic.xyz/revolutionizing-blockchain-interactivity-unveiling-lastics-groundbreaking-developments-042225bb0b72) | Discusses Lastic's latest breakthroughs, enhancing blockchain interaction. | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @poppyseedDev just a reminder to follow our announcement guidelines and submit the draft article to the grants pr address as well, so we can proof-read it and consider it for promotion on W3F's X profile. 👍 |
||
| **0e.** | Dockerfile | [GitHub for Subsquid](https://github.com/LasticXYZ/subsquid) | See README on how to run - Simplifies indexer deployment through a Dockerfile setup, promoting ease of use. | | ||
| **1.** | A Functioning Indexer | [Subsquid GraphQL](https://squid.subsquid.io/rococo-coretime/v/v1/graphql) | Offers a GraphQl endpoint for seamless access to indexed data. | | ||
| **1a.** | Setup and Configuration of Subsquid with Rococo | [Subsquid GraphQL Endpoint](https://squid.subsquid.io/rococo-coretime/v/v1/graphql) | Details the successful deployment of the indexer on Rococo, showcasing setup and indexing efforts. | | ||
| **1b.** | Indexing Broker Pallet Events | [Subsquid GraphQL](https://squid.subsquid.io/rococo-coretime/v/v1/graphql), [Appendix 1b](#1b.-appendix)| Explains the indexing of all events within the `broker pallet`, including a list and retrieval methods. | | ||
| **1c.** | Indexing Broker Pallet Calls | [Subsquid GraphQL](https://squid.subsquid.io/rococo-coretime/v/v1/graphql), [Appendix 1c](#1c.-appendix)| Covers the indexing of all calls within the `broker pallet`, complemented by a comprehensive list and retrieval techniques. | | ||
| **2.** | Connecting the Indexer with the Frontend | [GitHub Repository](https://github.com/LasticXYZ/squid-sdk) | Describes the creation of an SDK to facilitate GraphQL calls from the frontend. | | ||
| **3.** | SDK and Frontend Integration | [GitHub Repository](https://github.com/LasticXYZ/squid-sdk), [Appendix 3](#3.-appendix) | Integrates extrinsic interaction capabilities within the SDK and the frontend, enhancing user engagement. | | ||
| **4.** | Visualization of Coretime Prices | [See Appendix 4](#4-appendix) | Provides a preliminary visualization of Coretime price trends, illustrating data in a digestible format. | | ||
|
||
#### 1b. Appendix: | ||
List of all `broker pallet` events on the Coretime Chain | ||
``` | ||
HistoryInitializedEvent , | ||
SaleInitializedEvent, | ||
SalesStartedEvent, | ||
PurchasedEvent, | ||
RenewableEvent, | ||
RenewedEvent, | ||
TransferredEvent, | ||
PartitionedEvent, | ||
InterlacedEvent, | ||
AssignedEvent, | ||
PooledEvent, | ||
CoreCountRequestedEvent, | ||
CoreCountChangedEvent, | ||
ReservationMadeEvent, | ||
ReservationCancelledEvent, | ||
LeasedEvent, | ||
LeaseEndingEvent, | ||
RevenueClaimBegunEvent, | ||
RevenueClaimItemEvent, | ||
RevenueClaimPaidEvent, | ||
CreditPurchasedEvent, | ||
RegionDroppedEvent, | ||
ContributionDroppedEvent, | ||
HistoryDroppedEvent, | ||
HistoryIgnoredEvent, | ||
ClaimsReadyEvent, | ||
CoreAssignedEvent, | ||
AllowedRenewalDroppedEvent | ||
``` | ||
And their coresponding graphQl calls to retrieve them | ||
``` | ||
historyInitializeds, | ||
saleInitializeds, | ||
salesStarteds, | ||
purchaseds, | ||
renewables, | ||
reneweds, | ||
transferreds, | ||
partitioneds, | ||
interlaceds, | ||
assigneds, | ||
pooleds, | ||
coreCountRequesteds, | ||
coreCountChangeds, | ||
reservationMades, | ||
reservationCancelleds, | ||
leaseds, | ||
leaseEndings, | ||
revenueClaimBeguns, | ||
revenueClaimItems, | ||
revenueClaimPaids, | ||
creditPurchaseds, | ||
regionDroppeds, | ||
contributionDroppeds, | ||
historyDroppeds, | ||
historyIgnoreds, | ||
claimsReadys, | ||
coreAssigneds, | ||
allowedRenewalDroppeds | ||
``` | ||
|
||
To retrieve the relevant data find the event with it's data and then click the ▶️ button as can be seen on the image below. | ||
 | ||
|
||
|
||
#### 1c. Appendix: | ||
List of all `broker pallet` calls on Coretime Chain | ||
``` | ||
ConfigureCall, | ||
ReserveCall, | ||
UnreserveCall, | ||
SetLeaseCall, | ||
StartSalesCall, | ||
PurchaseCall, | ||
RenewCall, | ||
TransferCall, | ||
PartitionCall, | ||
InterlaceCall, | ||
AssignCall, | ||
PoolCall, | ||
ClaimRevenueCall, | ||
PurchaseCreditCall, | ||
DropRegionCall, | ||
DropContributionCall, | ||
DropHistoryCall, | ||
DropRenewalCall, | ||
RequestCoreCountCall | ||
``` | ||
|
||
And their coresponding graphQl calls to retrieve them | ||
``` | ||
configureExts, | ||
reserveExts, | ||
unreserveExts, | ||
setLeaseExts, | ||
startSalesExts, | ||
purchaseExts, | ||
renewExts, | ||
transferExts, | ||
partitionExts, | ||
interlaceExts, | ||
assignExts, | ||
poolExts, | ||
claimRevenueExts, | ||
purchaseCreditExts, | ||
dropRegionExts, | ||
dropContributionExts, | ||
dropHistoryExts, | ||
dropRenewalExts, | ||
requestCoreCountExts | ||
``` | ||
|
||
|
||
#### 3. Appendix | ||
The frontend is successfully retrieving the indexed data. An example of this can be seen with the display of the relevant indexed past purchases users have made. [Link: test.lastic.xyz/bulkcore1](https://test.lastic.xyz/rococo/bulkcore1]) | ||
 | ||
|
||
#### 4. Appendix | ||
Price per core on Rococo over time. Real time graph can be viewed [here: test.lastic.xyz/bulkcore1](https://test.lastic.xyz/rococo/bulkcore1]) | ||
 | ||
|
||
### Milestone 2 - Visualizations + Added Interactivity | ||
|
||
| Number | Deliverable | Link | Notes | | ||
|--------|--------------------------------------------|------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------| | ||
| **0a.**| License | [LICENSE](https://github.com/LasticXYZ/LasticUI/blob/main/LICENSE) | Licensed under GPLv3. | | ||
| **0b.**| Documentation | [README.md](https://github.com/LasticXYZ/LasticUI/blob/main/README.md) and [docs.lastic.xyz](https://docs.lastic.xyz/) | Comprehensive documentation available in the README files of corresponding folders. | | ||
| **0d.**| Error logging | [Lastic UI/issues](https://github.com/LasticXYZ/LasticUI/issues) | All identified errors are documented as issues and will be addressed iteratively. | | ||
| **0d.**| Article Publishing | [Article link](https://blog.lastic.xyz/revolutionizing-blockchain-interactivity-unveiling-lastics-groundbreaking-developments-042225bb0b72) | Article about the latest developments at Lastic | | ||
| **1.** | Visualizations | 1a.-1d. | Development of visualizations for Polkadot and Kusama. This includes auction history, a timer view of the auction process, a list of all connected parachains and parathreads, and detailed information on different PARA IDs. Includes steps 1a. - 1d. | | ||
| **1a.** | Auction History | [can be viewed](https://test.lastic.xyz/rococo/bulkcore1), [See appendix 1a](#2-1a-appendix) | Includes visualizations and a list detailing the teams who won the slot over time, the duration of that slot, and other relevant information. | | ||
| **1b.** | Timer View | [can be viewed](https://test.lastic.xyz/rococo/bulkcore1), [See appendix 1b](#2-1b-appendix) | A visualization showing the current status and timeline of ongoing sales of coretime | | ||
| **1c.** | Parachain Connectivity | [can be viewed](https://test.lastic.xyz/rococo/bulkcore1), [See appendix 1c](#2-1c-appendix) | List and visualization of all connected parachains, parathreads, and registered PARA IDs. | | ||
| **1d.** | PARA ID Details | [can be viewed](https://test.lastic.xyz/rococo/bulkcore1), [See appendix 1d](#2-1d-appendix) | Information on which PARA ID is connected to which parachain. | | ||
| **2.** | Figma Designs in Code and Functional | 2a.-2c. | Implementing Figma designs into functional code for various features such as personal wallet/address page, core-specific pages, the core buying process, and network selection. | | ||
| **2a.** | Personal Wallet/Address Page | [can be viewed](https://test.lastic.xyz/rococo/my-cores), [See appendix 2a](#2-1c-appendix) | Development of the user interface for personal wallet or address management. | | ||
| **2b.** | Core Page | [can be viewed](https://test.lastic.xyz/rococo/core/62/122910/0xffffffffffffffffffff), , [See appendix 2b](#2-2b-appendix) | Interface specific to individual cores, detailing core-specific information. | | ||
| **2c.** | Core Buying Process | [can be viewed](https://test.lastic.xyz/rococo/bulkcore1), [See appendix 2c](#2-2c-appendix) | User interface for the process of purchasing cores. | | ||
| **3.** | Additional Features | 3a.-3c | Implementation of extra functionalities such as the teleport asset feature and creation of a foldable sidebar. | | ||
| **3a.** | Teleport Asset Functionality | [can be viewed](https://test.lastic.xyz/rococo/teleport), [See appendix 3a](#3-3a-appendix) | Enabling users to teleport assets within the platform. | | ||
| **3b.** | Foldable Sidebar | [can be viewed](https://test.lastic.xyz/rococo/bulkcore1) , [See appendix 3b](#2-3b-appendix) | Development of a user-friendly, foldable sidebar for better navigation. | | ||
| **3c.** | Connect to Different Networks | [can be viewed](https://test.lastic.xyz/rococo/bulkcore1) , [See appendix 3c](#2-3c-appendix) | Feature allowing users to switch between different blockchain networks seamlessly. / Feature to choose between different networks like Roccoco, Kusama, and Polkadot. | | ||
|
||
#### 2-1a Appendix | ||
Visualization of Aucton Prices over time (Subscan API) | ||
 | ||
|
||
#### 2-1b Appendix | ||
Visualization of the current status and timeline of ongoing sales of coretime | ||
 | ||
|
||
#### 2-1c Appendix | ||
List and visualization of all connected parachains, parathreads, and registered PARA IDs. | ||
 | ||
|
||
#### 2-1d Appendix | ||
<img width="500" alt="Screenshot 2024-03-29 at 12 32 06" src="https://github.com/LasticXYZ/Grant-Milestone-Delivery/assets/30662672/232982ce-d0d1-467f-af6a-7f9a33ba04a7"> | ||
|
||
#### 2-2a Appendix | ||
 | ||
|
||
#### 2-2b Appendix | ||
 | ||
|
||
#### 2-2c Appendix | ||
 | ||
|
||
#### 3-3a Appendix | ||
 | ||
|
||
#### 3-3b Appendix | ||
Sidebar and its corresponding folded state: | ||
|
||
<img width="200" alt="Screenshot 2024-03-29 at 12 32 06" src="https://github.com/LasticXYZ/Grant-Milestone-Delivery/assets/30662672/00341e7f-ba68-41cd-991c-957b451c7848"> | ||
<img width="80" alt="Screenshot 2024-03-29 at 12 32 56" src="https://github.com/LasticXYZ/Grant-Milestone-Delivery/assets/30662672/37b78662-5402-4edc-a5e2-96cd14f1d1d5"> | ||
|
||
#### 3-3c Appendix | ||
<img width="710" alt="Screenshot 2024-03-29 at 12 45 52" src="https://github.com/LasticXYZ/Grant-Milestone-Delivery/assets/30662672/bdd45f53-e47e-469a-9769-b9c1b8eba742"> | ||
|
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @poppyseedDev. The spec for 0d reads "In the event of an error, the application will record detailed error information to an event viewer or log file for diagnostics and troubleshooting", but the deliverable links to your UI repo issues. Can you clarify?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@semuelle
If the indexer fails it is usually recorded directly in my subsquid application, however I am unable to open source that account since it has my credit card information link that i am using for running the subsquid indexer this is the link that works for me -> logs link.
In an event that an error happens I usually write an issue about it directly in the issues tab of our Lastic github repository, or if it's a bigger one I mention it in the Lastic group chat.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I'm guessing that's standard subsquid behavior. The link isn't available to me.