harmony-one / bounties

Bounty program is to help the community take part in the development of the Harmony blockchain. It covers from core feature to validator tooling, from dApp development to DeFi integration.
MIT License
59 stars 23 forks source link

Ganache or Hardhat Documentation using Harmony #75

Open toniton opened 3 years ago

toniton commented 3 years ago

Description

Ganache/Hardhat is a development tool that helps fire up a personal Ethereum blockchain which you can use to run tests, execute commands, and inspect state while controlling how the chain operates.

The idea behind this bounty is to create documentation on how to use Ganache or Hardhat in developing smart contract on Harmony.

Context

Harmony is a third generation EVM compatible layer 1 blockchain with 2 secs finality. Building DAPPS on the Harmony network due to is various advantages such as low fees, and fast transaction finality is good for developers. However, for developers who are new to blockchain, it may be hard to find and understand how the pieces connect. The idea is to provide a tutorial that would on-board developers who are new to blockchain easily.

For this bounty, you have to create a step-by-step tutorial on how to develop a simple DAPP on Harmony on a local machine using (truffle, [ganache/hardhat], docker).

You can take some inspirations from:

  1. https://medium.com/ethereum-developers/the-ultimate-end-to-end-tutorial-to-create-and-deploy-a-fully-descentralized-dapp-in-ethereum-18f0cf6d7e0e
  2. https://www.youtube.com/watch?v=3681ZYbDSSk

Acceptance Criteria

Reward

4000 $ONE

LeoHChen commented 3 years ago

Hi, @toniton are you aware of the Ganeche support on harmony is already available here. Also, there is a good video on it already. https://github.com/GabrielNicolasAvellaneda/harmony-one-ganache-support

Would you please check it out?

toniton commented 2 years ago

Hi @LeoHChen! Thanks, I will check them out.

I still think it's nice to have variety of documentations, as this is a continuous process. As the protocol evolves, there will be a need to update the documentations as well.

People have different ways and approach to solving problems, which could mean more choices for developers.

twobitEDD commented 2 years ago

Hi, @toniton are you aware of the Ganeche support on harmony is already available here. Also, there is a good video on it already. https://github.com/GabrielNicolasAvellaneda/harmony-one-ganache-support

Would you please check it out?

I have not been able to get Ganache UI working on MacOS, when I open the application it crashes trying to launch the Fork.

I was able to get everything working with Ganach-Cli and recently created a video explaining how it works and how to use it at different points of deployment on Harmony.

Please check it out! https://youtu.be/qumQnoVL_9U

I would be happy to create a medium article in the future.

DockHunt commented 2 years ago

@toniton a couple questions:

  1. Is this bounty still valid and unclaimed? (or has it been fulfilled by @twobitEDD)
  2. What do you mean by:

    4000 $ONE

Do you means 4000 USD worth of ONE(~12000 ONE) or 1000 ONE (~350 USD)?

  1. Does the documentation need to be specific to any given OS or software (currently running i3 on top of archlinux, it took some effort but I have ganache/brownie working well for SC testing/debugging)?
  2. Will this be handled through gitcoin at all or simply a transaction from your addr to the dev's addr

And to make this comment feel a bit less like an interrogation, hope you're having a good day. I dig this bounty as it's focus is delayed gratification, trying to lower the difficulty curve so Harmony has a larger dev pool to use in the future. I started looking at Harmony docs because a friend is invested and wants help judging viability for (and perhaps setting up) a stablecoin project, and stumbled my way here to the bounties. It'd be nice if I could write these docs while working out the differences between Ethereum and Harmony and then use the newly aquired knowledge to make the project but I'm not sure the timelines will fit together nicely.

toniton commented 2 years ago

Hi @DockHunt!

As at the time of creating this bounty, I was a developer captain. Now the structure has changed and we have a Developer DAO now in place. Please feel free to reachout to Harmony Dev DAO on telegram, or talk.harmony.one, to see if they are willing to sponsor this bounty, otherwise, I'd be happy to close this.

I meant 4000 ONES, as at the time of creation of the bounty.

Apologies for the late response.