Sharing solidity code with others
You might be required to share your contract files with someone at some point during development, or during any later phase. A well-maintained project will have its own source control repository that can be shared with people. There are some tools and services that you can use to quickly share small contract snippets with others quickly. In this recipe, you will learn about those services, which will make your life easier while sharing code.
Getting ready
This recipe introduces you to some browser-based tools. It is required to have a recent browser (Chrome, Firefox, Edge, and so on) installed in your system to step through this recipe.
How to do it...
To share/store small snippets of code, you can use
gist
. The process is mostly manual and requires you to copy and paste the code and then share it with someone. You can accessgist
from https://gist.github.com/.
- The Remix IDE ships with an option to publish your contract files directly to an anonymous public
gist...