
EC-CouncilBlockchain Developer Certification
Domain 6Objective 1
Blockchain Development Frameworks (Truffle, Hardhat) BDC Practice Questions (Page 2)
Part of the Development Tools, Web3, and dApps domain, which makes up ~11% of our current practice bank.
51questions here
11free pages
12concepts
Questions 6–10
- 6
A developer is writing a Hardhat test for a contract that has a function which can only be called by the owner. The test needs to verify that a non-owner cannot call the function. Which approach is correct?
Select an answer first - 7
A developer has deployed a contract using Hardhat and wants to interact with it from a React frontend. They have the contract address and ABI. Which approach is correct?
Select an answer first - 8
A developer is debugging a smart contract that behaves unexpectedly during a test. They want to see the values of local variables and the call stack at a specific point in the contract execution. Which Hardhat feature should they use?
Select an answer first - 9
Which command runs the automated tests in a Truffle project?
Select an answer first - 10
A developer wants to use a Hardhat plugin that adds a new task to the CLI. After installing the plugin and requiring it in `hardhat.config.js`, the task is not available when running `npx hardhat`. What is the most likely cause?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “BDC” is a trademark of its owner, used for identification only.