-
Notifications
You must be signed in to change notification settings - Fork 3
Update REMIXD tutorial #26
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
Conversation
I think we should remove the quick dapp and just use REMIX to show how to compile a contract. But not how to build a Dapp. Because right now it is confusing because we show people two different ways to create a Dapp. We should prepare a template repository that people can clone to follow the ether.js part that sets them up with a basic Dapp. |
I can remove this, but this PR is more about what to do with the local development section
REMIX supports workspaces from GitHub repository or Gist, which allows us to use them as the default workspace for tutorial |
Yes the part about local contract development is good. I just don't want to cover frontend development here. |
I think that local development could be moved outside the tutorial. If we plan to work on template repo, REMIX should probably clone workspace directly from it. The content which is not needed for the tutorial like quick dapp or local development could be moved to separate page or deleted if we do not see a value there. |
The point is to guide people to a workflow to iterate on their contract and frontend. Having the contract in the local file system would be good for that, right? I don't expect people to be keen on editing code inside the browser.
That repo would be concerned with building the frontend. And I don't want to conflate REMIX with frontend development. |
OK, in this case, we need to start the tutorial by cloning the template repository and connecting to the local filesystem from REMIX. The drawback is that you need to install REMIXD on your local machine, which is something we wanted to avoid in the beginning. |
As discussed, we will keep only the basics in the Remix tutorial, without covering DApp deployment or development on the local filesystem. |
docs/tutorial/remix-tips.md
Outdated
Note that switching to a local filesystem will cause all previously deployed contracts, both pinned and unpinned, to become invisible in the **Deploy & Run** tab. If you need to interact with already deployed contracts, make sure to note down their addresses beforehand so you can load them later using the **At Address** button. | ||
|
||
 |
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.
I think we should keep this in the main tutorial. Telling people how to interact with pre-existing contracts is basic knowledge. Just as a separate main heading "## How to interact with already deployed contracts".
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.
done
Came to a similar opinion about both via #27. |
Closes paritytech/contract-issues#7