ELECTIONS

所属分类:以太坊
开发工具:Jupyter Notebook
文件大小:2593KB
下载次数:0
上传日期:2022-12-26 07:25:28
上 传 者sh-1993
说明:  一个去中心化的以太坊投票应用程序
(A Decentralized Ethereum Voting Application)

文件列表:
End_to_End_Titanic_(1).ipynb (3074172, 2022-12-26)
LICENSE (1075, 2022-12-26)
bs-config.json (67, 2022-12-26)
build (0, 2022-12-26)
build\contracts (0, 2022-12-26)
build\contracts\Election.json (108310, 2022-12-26)
build\contracts\Migrations.json (36664, 2022-12-26)
contracts (0, 2022-12-26)
contracts\Election.sol (1243, 2022-12-26)
contracts\Migrations.sol (538, 2022-12-26)
migrations (0, 2022-12-26)
migrations\1_initial_migration.js (129, 2022-12-26)
migrations\2_deploy_contracts.js (122, 2022-12-26)
package-lock.json (109338, 2022-12-26)
package.json (361, 2022-12-26)
src (0, 2022-12-26)
src\css (0, 2022-12-26)
src\css\bootstrap.min.css (121200, 2022-12-26)
src\css\bootstrap.min.css.map (542194, 2022-12-26)
src\fonts (0, 2022-12-26)
src\fonts\glyphicons-halflings-regular.eot (20127, 2022-12-26)
src\fonts\glyphicons-halflings-regular.svg (108738, 2022-12-26)
src\fonts\glyphicons-halflings-regular.ttf (45404, 2022-12-26)
src\fonts\glyphicons-halflings-regular.woff (23424, 2022-12-26)
src\fonts\glyphicons-halflings-regular.woff2 (18028, 2022-12-26)
src\index.html (2496, 2022-12-26)
src\js (0, 2022-12-26)
src\js\app.js (3743, 2022-12-26)
src\js\bootstrap.min.js (37045, 2022-12-26)
src\js\truffle-contract.js (259579, 2022-12-26)
src\js\web3.min.js (141091, 2022-12-26)
test (0, 2022-12-26)
test\election.js (3813, 2022-12-26)
truffle-config.js (411, 2022-12-26)

# Election - Built my first decentralized application, or Dapp, on the Ethereum Network Followed the steps below to download, install, and run this project. ## Dependencies Install these prerequisites - NPM: https://nodejs.org - Truffle: https://github.com/trufflesuite/truffle - Ganache: http://truffleframework.com/ganache/ - Metamask: https://metamask.io/ ## Step 1. Clone the project https://github.com/sastragna/ELECTIONS ## Step 2. Install dependencies ``` $ cd election $ npm install ``` ## Step 3. Start Ganache Open the Ganache GUI client that you downloaded and installed. This will start your local blockchain instance. ## Step 4. Compile & Deploy Election Smart Contract `$ truffle migrate --reset` You must migrate the election smart contract each time your restart ganache. ## Step 5. Configure Metamask - Unlock Metamask - Connect metamask to your local Etherum blockchain provided by Ganache. - Import an account provided by ganache. ## Step 6. Run the Front End Application `$ npm run dev` Visit this URL in your browser: http://localhost:3000

近期下载者

相关文件


收藏者