How to Build Ethereum Dapp (Decentralized Application Development Tutorial)
Why Ethereum Stack Exchange recommends it
Ethereum Stack Exchange users link it as a beginner-friendly end-to-end dapp walkthrough, and several askers cite it as the tutorial they were following when they hit Truffle errors.
Recommended by 1 people across 1 different months, 2018 to 2021.
What it is
A near two-hour tutorial from Dapp University that walks through building a complete voting dapp on Ethereum. It covers setting up dependencies, writing a Solidity Election contract, a web3.js front end, Truffle and Ganache testing, listing candidates, casting votes and watching events.
What people said
Recommends TheGreatO96 · 2021-08 · Ethereum Stack Exchange · on “how to build Defi app from A to Z”
I'm not sure that using just Java and Solidity will get you very far (at least as a beginner). Solidity "back end"/smart contracts and javascript front end using web3.js is the probably the place to start. I recommend the following: This guys videos seem like a pretty good all round introduction [this video] Interactive solidity tutorial [LINK] The tutorial on compiling and testing with truffle and ganache will help you deploy something fast [this video] Mastering Ethereum is pretty much the definitive texbook on the Ethereum blockchain and is available free on github [LINK]
Cites David Mood · 2018-08 · Ethereum Stack Exchange · on “EVM Contract Testing with JS issue - ReferenceError: artifact is not defined”
There is a problem i have with a new DAPP tutorial i'm looking at from this [this video] : I have an issue from for testing of my contract. when i run the "truffle test": it returns the following error: Using network 'development'. Compiling .\contracts\Election.sol... ReferenceError: artifact is not defined at Object.<anonymous> (C:\DAPP\election\test\election.js:1:16) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at C:\Users\User\AppData\Roaming\npm\node_modules\truf
Cites Dhanya Baid · 2018-10 · Ethereum Stack Exchange · on “Truffle migrate: Could Not Find .sol file from any sources”
I just started onto the blockchain journey a couple of hours back trying to create an elections program on the Ethereum blockchain. While trying to migrate the smart contracts using truffle migrate , I encountered a roadblock which says the following: [LINK] I'm stuck and need some help. I have been following this tutorial: [this video] Thanks!