├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── package.json ├── scripts ├── create-react-dapp └── merge_package.js ├── template ├── .flowconfig ├── .npmignore ├── TEMPLATE.md ├── dapp │ ├── .eslintrc.js │ ├── README.md │ ├── contracts │ │ ├── Migrations.sol │ │ └── Voting.sol │ ├── helpers │ │ ├── deployInfo.js │ │ └── killAll.js │ ├── lib │ │ ├── github │ │ │ └── Modular-Network │ │ │ │ └── ethereum-libraries │ │ │ │ └── StringUtilsLib │ │ │ │ └── StringUtilsLib.sol │ │ ├── mortal.sol │ │ └── owned.sol │ ├── migrations │ │ ├── 1_initial_migration.js │ │ └── 2_voting.js │ ├── test │ │ └── TestVoting.sol │ └── truffle.js ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json ├── src │ ├── .eslintrc.js │ ├── components │ │ ├── App.css │ │ ├── App.js │ │ ├── App.test.js │ │ └── VotingTable.js │ ├── ethereumLogo.svg │ ├── helpers │ │ ├── Voting.js │ │ ├── fetchContracts.js │ │ └── getWeb3.js │ ├── index.js │ ├── reactLogo.svg │ └── serviceWorker.js └── yarn.lock └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/package.json -------------------------------------------------------------------------------- /scripts/create-react-dapp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/scripts/create-react-dapp -------------------------------------------------------------------------------- /scripts/merge_package.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/scripts/merge_package.js -------------------------------------------------------------------------------- /template/.flowconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/.flowconfig -------------------------------------------------------------------------------- /template/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/.npmignore -------------------------------------------------------------------------------- /template/TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/TEMPLATE.md -------------------------------------------------------------------------------- /template/dapp/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/dapp/.eslintrc.js -------------------------------------------------------------------------------- /template/dapp/README.md: -------------------------------------------------------------------------------- 1 | # Ethereum dApp Template -------------------------------------------------------------------------------- /template/dapp/contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/dapp/contracts/Migrations.sol -------------------------------------------------------------------------------- /template/dapp/contracts/Voting.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/dapp/contracts/Voting.sol -------------------------------------------------------------------------------- /template/dapp/helpers/deployInfo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/dapp/helpers/deployInfo.js -------------------------------------------------------------------------------- /template/dapp/helpers/killAll.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/dapp/helpers/killAll.js -------------------------------------------------------------------------------- /template/dapp/lib/github/Modular-Network/ethereum-libraries/StringUtilsLib/StringUtilsLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/dapp/lib/github/Modular-Network/ethereum-libraries/StringUtilsLib/StringUtilsLib.sol -------------------------------------------------------------------------------- /template/dapp/lib/mortal.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/dapp/lib/mortal.sol -------------------------------------------------------------------------------- /template/dapp/lib/owned.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/dapp/lib/owned.sol -------------------------------------------------------------------------------- /template/dapp/migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/dapp/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /template/dapp/migrations/2_voting.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/dapp/migrations/2_voting.js -------------------------------------------------------------------------------- /template/dapp/test/TestVoting.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/dapp/test/TestVoting.sol -------------------------------------------------------------------------------- /template/dapp/truffle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/dapp/truffle.js -------------------------------------------------------------------------------- /template/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/package.json -------------------------------------------------------------------------------- /template/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/public/favicon.ico -------------------------------------------------------------------------------- /template/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/public/index.html -------------------------------------------------------------------------------- /template/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/public/manifest.json -------------------------------------------------------------------------------- /template/src/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/src/.eslintrc.js -------------------------------------------------------------------------------- /template/src/components/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/src/components/App.css -------------------------------------------------------------------------------- /template/src/components/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/src/components/App.js -------------------------------------------------------------------------------- /template/src/components/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/src/components/App.test.js -------------------------------------------------------------------------------- /template/src/components/VotingTable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/src/components/VotingTable.js -------------------------------------------------------------------------------- /template/src/ethereumLogo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/src/ethereumLogo.svg -------------------------------------------------------------------------------- /template/src/helpers/Voting.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/src/helpers/Voting.js -------------------------------------------------------------------------------- /template/src/helpers/fetchContracts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/src/helpers/fetchContracts.js -------------------------------------------------------------------------------- /template/src/helpers/getWeb3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/src/helpers/getWeb3.js -------------------------------------------------------------------------------- /template/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/src/index.js -------------------------------------------------------------------------------- /template/src/reactLogo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/src/reactLogo.svg -------------------------------------------------------------------------------- /template/src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/src/serviceWorker.js -------------------------------------------------------------------------------- /template/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/template/yarn.lock -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhm/create-react-dapp/HEAD/yarn.lock --------------------------------------------------------------------------------