Skip to content
NBC '19 Hackathon Winner - Decentralized Crowdfunding with Harberger Crypto-Collectibles
Branch: master
Clone or download
Pull request Compare This branch is even with Happytreat:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
contracts
migrations
test
.env.sample
.gitignore
README.md
package.json
truffle.js

README.md

Patronage Collectibles

A decentralized Patreon using the Truffle development suite, Solidity smart contracts, and React.

Prerequisites

To get started, install the following on your machine:

Solidity Learning Materials

New to Solidity? Here are some recommended resources to start with.

  • Truffle Pet Shop tutorial: An end-to-end walkthrough of the basics of building a dApp.
  • Solidity in Depth: It's important to familiarize yourself with the Solidity language.
  • ERC20 Token Standard Interface: Other than the Solidity, you'll want to get familiar with the ERCX standards and EIP proposals within the ecosystem. The ERC20 standard is a widely adopted interface for tokens.
  • OpenZeppelin: Once you have a firm grasp of the language and standards, start going through open source Solidity projects. The OpenZeppelin project is a useful (albeit incomplete) overview of what's possible with smart contracts.
  • Smart Contract Best Practices: Helps you understand non-functional requirements within the smart contract ecosystem: design patterns, security, upgradability, and tooling.
  • Ethernaut: Advanced security topics. Optional, but important.

Getting Started

  • Make sure that Ganache is up and running locally at port 8545.
  • Go to Settings > Accounts & Keys
  • Disable Autogenerate HD Mnemonic and enter a Mnemonic you wish to use.
  • Then, do the following:
git clone https://github.com/yosriady/dapp-boilerplate
npm install

truffle migrate

cd app/
yarn
npm run start
  • Import the mnemonic you used in Ganache to Metamask.
  • On Metamask, use a 'Custom Network' pointing to localhost:8545.
  • Open your browser at localhost:3000.

Thanks

dapp-boilerplate © 2019+, Yos Riady. Released under the MIT License.
Authored and maintained by Yos Riady with help from contributors (list).

yos.io  ·  GitHub @yosriady

You can’t perform that action at this time.