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

Build simple Substrate runtime modules with a tutorial #60

Open
EdwardAThomson opened this Issue Jan 8, 2019 · 10 comments

Comments

Projects
None yet
4 participants
@EdwardAThomson
Copy link
Member

EdwardAThomson commented Jan 8, 2019

We need more tutorials that help developers get acquainted to building for Polkadot. In this bounty we desire the creation of a tutorial that leads fellow community members through the necessary steps of creating a Substrate runtime module.

Example project 1:
Create a simple module that hashes a piece of data and stores it on chain (please include a timestamp). The module must be also be able to check the hash and timestamp.

This task should include a simple UI plus a tutorial.

Example project 2:
Taking inspiration from Gavin Wood’s talk at W3S, we would like a tutorial that teaches the community how to build a simple game that uses a Substrate runtime module.

This task should include a simple UI (e.g. in a web browser) and include a tutorial.

Example project 3:
Take inspiration from the above example projects and come up with your own Substrate runtime modules.

It is likely that you will have to create a simple UI, plus you need to write an accompanying tutorial.

Requirements

When undertaking the work for this bounty, be advised that a correct submission will:

  • Be open source. This work will be shared widely with the community.
  • Have a step-by-step tutorial that explains how to write the module. The tutorial will explain the reasoning as to why the module is designed as it is.
  • The module must function as requested and contain no compiler errors.

Bounty

This issue now has a funding of 900.0 DAI (900.0 USD @ $1.0/DAI) attached to it as part of the Web 3 Foundation fund.

Just as an FYI for all bounty hunters: the total pot of funds is 900 Dai, but we are looking for 3 submissions. That means that each individual submission is eligible for 300 Dai.

Keep this in mind while applying! Thanks and good luck!

@gitcoinbot

This comment has been minimized.

Copy link

gitcoinbot commented Jan 15, 2019

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 900.0 DAI (900.0 USD @ $1.0/DAI) attached to it as part of the Web 3 Foundation fund.

@gitcoinbot

This comment has been minimized.

Copy link

gitcoinbot commented Jan 15, 2019

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 5 months from now.
Please review their action plans below:

1) alogishetty has been approved to start work.

I don't have much experience with polkadot but I am willing to learn and complete this bounty.

Learn more on the Gitcoin Issue Details page.

2) srisankethu has been approved to start work.

I am interested on working on this!

Learn more on the Gitcoin Issue Details page.

3) aj07 has been approved to start work.

I would like to work on this. I have already seen live of Gav talk and very interested on web3 framework

Learn more on the Gitcoin Issue Details page.

@EdwardAThomson

This comment has been minimized.

Copy link
Member Author

EdwardAThomson commented Jan 16, 2019

This issue now has a funding of 900.0 DAI (900.0 USD @ $1.0/DAI) attached to it as part of the Web 3 Foundation fund.

Just as an FYI for all bounty hunters: the total pot of funds is 900 Dai, but we are looking for 3 submissions. That means that each individual submission is eligible for 300 Dai.

Keep this in mind while applying! Thanks and good luck!

@pbteja1998

This comment has been minimized.

Copy link

pbteja1998 commented Jan 25, 2019

@EdwardAThomson Is this issue still open? I want to work on this. I don't know much about Substrate run time modules or polkadot, but I think I can figure it out. I think I can write the tutorial better as I will also be trying to figure out how to create the module myself, and the tutorial is targeted for the first timers like me.

Tell me if it is available to work on. Also should the three example projects listed needs to be created or any one of them is fine?

@EdwardAThomson

This comment has been minimized.

Copy link
Member Author

EdwardAThomson commented Jan 25, 2019

@EdwardAThomson Is this issue still open? I want to work on this. I don't know much about Substrate run time modules or polkadot, but I think I can figure it out. I think I can write the tutorial better as I will also be trying to figure out how to create the module myself, and the tutorial is targeted for the first timers like me.

Tell me if it is available to work on. Also should the three example projects listed needs to be created or any one of them is fine?

Hey @pbteja1998 this bounty is definitely still open! Thanks for reaching out and good luck with your submission.

@pbteja1998

This comment has been minimized.

Copy link

pbteja1998 commented Jan 25, 2019

@EdwardAThomson
Where can I contact you if I need any clarifications, is there some slack or gitter channel that I can join?

Also Should I make tutorials for all the three example projects listed or just any one of them?

@EdwardAThomson

This comment has been minimized.

Copy link
Member Author

EdwardAThomson commented Jan 25, 2019

@EdwardAThomson
Where can I contact you if I need any clarifications, is there some slack or gitter channel that I can join?

Also Should I make tutorials for all the three example projects listed or just any one of them?

Any one of them is fine. We just wanted to provide some example ideas.

I recently joined the Gitcoin Slack but I barely visit. We do prefer to use Riot at W3F. I can also ping you an email, I see the address in your profile.

Polkadot Riot channel: https://riot.im/app/#/room/#polkadot-watercooler:matrix.org
My Riot handle: @edwardt:matrix.org

@pbteja1998

This comment has been minimized.

Copy link

pbteja1998 commented Jan 25, 2019

@EdwardAThomson thanks. I just joined the riot channel.

@burrrata

This comment has been minimized.

Copy link

burrrata commented Jan 25, 2019

This is awesome!

I'm currently exploring building web2/web3 data bridges to enable on-chain voting mechanisms. If I got this to work on Substrate, explained how to replicate it, and created a way for people to get involved to improve the architectures/protocols would that count for the bounty?

Also, does the Polkadot testnet pool security/validator actors yet, because that might change design decisions?

Thanks :)

@EdwardAThomson

This comment has been minimized.

Copy link
Member Author

EdwardAThomson commented Jan 28, 2019

This is awesome!

Thanks! @burrrata :-) I'm appreciating the enthusiasm.

I'm currently exploring building web2/web3 data bridges to enable on-chain voting mechanisms. If I got this to work on Substrate, explained how to replicate it, and created a way for people to get involved to improve the architectures/protocols would that count for the bounty?

If I understood correctly, yes.

Almost any tutorial that shows people how to build a module on Substrate is acceptable!

Also, does the Polkadot testnet pool security/validator actors yet, because that might change design decisions?

In theory yes, but there has been a few hiccups getting our new hybrid consensus mechanism working. This has slowed down the deployment of test parachains, although we did see a couple on the previous test net.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment