WorksheetsTTPLT Token Development
Total questions: 15
Worksheet time: 15mins
Which test framework does Hardhat use to write test cases?
Mocha with Chai with their own additional features.
Jest
Pytest
Supertest
Which is not provided by the Hardhat development environment?
Own personal blockchain (node)
Ignition Module for deployment of smart contracts
Testing framework for smart contracts
dApp hosting service
Which folder is not generated when you initialize your project as a Hardhat project?
contracts
test
Ignition
Frontend
You have an NFT Marketplace smart contract deployed on the Polygon Blockchain. There is a feature that allows anyone to create NFTs and list them in the Marketplace. Do users need to pay a fee when they create their NFT?
YES
NO
Which command can you use to access the Hardhat interactive terminal to interact with your smart contract?
npx hardhat compile
npx hardhat test
npx hardhat ignition deploy
npx hardhat console
Which library can you use with a dApp to interact with your smart contract inside the Blockchain?
ethersjs
web3js
nodejs
chai
Is it possible to interact with the blockchain without your wallet?
YES
NO
In order to write on the Blockchain using a smart contract, you need a wallet.
Yes, I agree.
No, I don't agree.
What attributes are required if you want to connect to a smart contract using the ethersjs library from your dApp?
Deployed Contract Address
Contract ABI
Signer/Provider
Account Address
Contract Bytecode
What is the difference between the Signer and Provider when you work with a smart contract?
Signer is used when your smart contract wants to perform a write operation, while the Provider is used when you only try to perform a read operation.
Provider is used when your smart contract wants to perform a write operation, while the Signer is used when you only try to perform a read operation.
There is no difference between the Signer and Provider objects. They are the same thing.
Inside a Solidity program, it is mandatory to mention the version of Solidity that you use and to declare the license. Otherwise, the compilation fails.
True
False
Inside your contract, there is a function defined to set the value of some storage variable; this particular function will only be called from the dApp, which is the most appropriate function access visibility to use with it.
external
public
private
internal
Solidity programming supports multiple inheritance, and it uses the "is" keyword to inherit contracts.
False
True
Select the statement that is not true.
ERC20 token is used to create fungible tokens while ERC721 token is used to create NFTs.
ERC721 token is used to create non-fungible tokens and ERC1155 token allows you to create and manage both fungible and non-fungible tokens.
All the tokens inside the ERC721 are the same. They have the same value.
All the tokens inside the ERC721 token are unique.
All transactions inside the Blockchain, including both wallet transactions and dApp transactions, are signed by the user using their private key for security reasons.
False
True
