-
Notifications
You must be signed in to change notification settings - Fork 13
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
ChainIDE + Polkaholic.io WASM Contract Explorer Integration - Milestone 1 delivery #8
Conversation
ChainIDE uses a containerized build process, where tiny variations in configuration may result in different codehashes. This is acceptable for the above security model where ChainIDE is currently assumed to be a trusted IDE. However, to standardize WASM Contract compilation such that multiple parties (in particular Colorful Notion and ChainIDE as well as others) can use identical build processes to derive the exact same code hash, in July 2023 Parity released the following "cargo contract build --verifiable" functionality: | ||
**[https://github.com/paritytech/cargo-contract/releases/tag/v4.0.0-alpha](https://github.com/paritytech/cargo-contract/releases/tag/v4.0.0-alpha)** | ||
The official version is expected to be launched by the end of the year. Both teams researched the usability of this (ChainIDE to incorporate into its build process, Polkaholic to replicate and arrive). See issue [here](TODO). | ||
|
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.
@wufengtao1 Add link to followup issue here use-ink/cargo-contract#1148
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.
Looks like this PR has been merged
deliveries/chainide-polkaholic-integrated-wasm-contract-explorer-integration-milestone_1.md
Outdated
Show resolved
Hide resolved
deliveries/chainide-polkaholic-integrated-wasm-contract-explorer-integration-milestone_1.md
Show resolved
Hide resolved
…ion-milestone_1.md
Hey, we haven't had time to review this yet, but we'll try to soon 🙇 |
|---|---|--| | ||
|Retrieve indexed code hashes by code hash | https://api.polkaholic.io/wasmcode/`{network}` | https://api.polkaholic.io/wasmcode/shiden | | ||
|Retrieve contract addresses | https://api.polkaholic.io/wasmcontracts/`{network}` | https://api.polkaholic.io/wasmcontracts/shibuya | | ||
| Retrieve contract calls of a contract address | https://api.polkaholic.io/wasmcontract/`{network}`/`{contractAddress}` | https://api.polkaholic.io/wasmcontract/shiden/XRcGZzdH841dHySiM62BfJDbQfXXYex3U7LYooRJt8EgJeX | |
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.
This example URL is throwing a 404 error
Cannot GET /wasmcontract/shiden/XRcGZzdH841dHySiM62BfJDbQfXXYex3U7LYooRJt8EgJeX
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.
Ya this is still an issue for me
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.
Apologies, this is fixed -- url is actually
https://api.polkaholic.io/wasmcontract/shibuya/XRcGZzdH841dHySiM62BfJDbQfXXYex3U7LYooRJt8EgJeX
|
||
The ChainIDE-Polkaholic unit tests are comprehensively demonstrated in the following video link: | ||
|
||
[Comprehensive ChainIDE Walkthrough, including Polkaholic.io integration (Video Link)](https://www.dropbox.com/scl/fi/tf0jgxsmss5b52uk0nbw7/Astar-ChainIDE-M2-New.mp4?rlkey=ts3tpvzvxpbfg7wrl7f4va1yl&dl=0) |
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.
Super cool 😎
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.
This looks very nice. Thanks for the easy-to-follow updates, links, and videos
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.
Great submission!
Thanks for laying out all the features and providing links and videos, super helpful during my review!
What are the blockers before this can be put into production? I'd love to see developers start to leverage the IDE as well as all the APIs behind it
| 0b. | Polkaholic Documentation | See 0b. Polkaholic Documentation below | See Polkaholic screenshots and URLs | | ||
| 0c. | Testing and Testing Guide | See 0c. below | See ChainIDE video walkthrough | | ||
| 1. | Repository | https://github.com/colorfulnotion/polkaholic | | | ||
| 2. | Repository | https://staging-9589904a8a.chainide.com/s/dashboard/projects | ChainIDE is only semi-open source. This is [the open-source plugin template for ChainIDE](https://github.com/WhiteMatrixTech/chainide-plugin-doc). If you need other open-source plugins, please let us know. | |
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.
Can you link to some of the other ink! relevant components of ChainIDE? It's unclear to me what's open-source and what's not
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.
Hi, I come from ChainIDE, and as of now, the only open-source component is the open-source plugin template, allowing users to develop plugins on ChainIDE. However, {the other modules](https://chainide.gitbook.io/chainide-english-1/chainide-modules), including the backend, are not open-source. If you need other parts to be open-source as well, I believe we can discuss the possibility further.
ChainIDE uses a containerized build process, where tiny variations in configuration may result in different codehashes. This is acceptable for the above security model where ChainIDE is currently assumed to be a trusted IDE. However, to standardize WASM Contract compilation such that multiple parties (in particular Colorful Notion and ChainIDE as well as others) can use identical build processes to derive the exact same code hash, in July 2023 Parity released the following "cargo contract build --verifiable" functionality: | ||
**[https://github.com/paritytech/cargo-contract/releases/tag/v4.0.0-alpha](https://github.com/paritytech/cargo-contract/releases/tag/v4.0.0-alpha)** | ||
The official version is expected to be launched by the end of the year. Both teams researched the usability of this (ChainIDE to incorporate into its build process, Polkaholic to replicate and arrive). See issue [here](TODO). | ||
|
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.
Looks like this PR has been merged
|
||
The ChainIDE-Polkaholic unit tests are comprehensively demonstrated in the following video link: | ||
|
||
[Comprehensive ChainIDE Walkthrough, including Polkaholic.io integration (Video Link)](https://www.dropbox.com/scl/fi/tf0jgxsmss5b52uk0nbw7/Astar-ChainIDE-M2-New.mp4?rlkey=ts3tpvzvxpbfg7wrl7f4va1yl&dl=0) |
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.
Ya!
One piece of advice here. I'd split the video out into a series of shorter (1-3min) videos to make it easier for people to find what they need quickly.
I'd also like to see this on YouTube or something more accessible
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.
This is a good suggestion, and I believe I can have it completed by next week.
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.
Ya!
One piece of advice here. I'd split the video out into a series of shorter (1-3min) videos to make it easier for people to find what they need quickly.
I'd also like to see this on YouTube or something more accessible
By the way, do you think using the original video directly is sufficient, or do we need to optimize the original video to meet the specifications for the promotional video?
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.
Ya!
One piece of advice here. I'd split the video out into a series of shorter (1-3min) videos to make it easier for people to find what they need quickly.
I'd also like to see this on YouTube or something more accessible
|
||
1. Try ChainIDE at [https://staging-9589904a8a.chainide.com/s/dashboard/projects](https://staging-9589904a8a.chainide.com/s/dashboard/projects) using Shibuya and the SBY faucet. We recommend using PSP22, PSP34 or the UniswapV2 contract templates, and then using your own WASM Contract. | ||
|
||
2. For bug reports and feature requests, submit them [here](TODO) or join our open group here [ChainIDE+Colorful Notion+Astar]() |
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.
There's a TODO linked here
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.
We have adjusted it to point to the inkubator matrix room. If you have a better idea, pls advise.
Hey team! Here's the form for payment details: https://forms.gle/BUCKfygkiEvpdYna6. Should you have any questions, don't hesitate to ask. Thank you so much! Important Note: PLEASE VERIFY YOUR ADDRESS, WHERE YOU WILL RECEIVE THE FUNDS, BEFORE FILLING OUT THE FORM! |
Hi, Tomo. I come from ChainIDE. According to the contract, the grant amount is allocated as follows: 120,000 USD Total: 60,000 USD (Colorful Notion), 60,000 USD (ChainIDE). Does this mean that both Colorful and ChainIDE need to fill out this form? |
a2b0b9d
to
1883305
Compare
@wufengtao1 We did our part [for Colorful Notion], you can do your part [for ChainIDE] -- thanks! |
@TtomaS7 @sourabhniyogi ChainIDE has submitted the form for payment details, and the email is wufengtao2@gmail.com :) |
As per your request, we resubmitted with just 1 address to receive payment for both teams. Thank you! |
You can claim your rewards in 7 days!! |
@HCastano Can you suggest a non-Astar production path that we can explore with you by the end of the year, which we can address in Milestone 2. Ready to have a "next steps" discussion. We need to get coordinated on the verification process, PolkaVM, Rococo => ____, and the basic "Who are the top 10 WASM Contract devs who build what that users actually use" question? |
@sourabhniyogi Hey sorry, just saw your last message. Is this something that you still need help with? |
I believe we should chart
|
No description provided.