This GitHub repository contains the smart contract implementation of the Drex Central Bank Digital Currency (CBDC) using Solidity. The contract provides functionalities for managing the digital currency, including minting, transferring, burning, freezing, and checking balances.
Other
49
stars
15
forks
source link
Task: Development of Smart Contracts in Solidity using ABI provided by Central Bank #4
As a Blockchain Developer,
I want to create a smart contract using the Application Binary Interface (ABI) provided by the Central Bank in the repository at https://github.com/bacen/pilotord-kit-onboarding/tree/main/abi,
So that I can help facilitate secure, self-executing contracts in our financial system and strengthen our open-source community.
Acceptance Criteria:
The system should allow for accessing the ABI files from the provided Central Bank repository.
I should be able to draft a smart contract in Solidity utilizing the provided ABIs.
The smart contract I develop should be deployable on a test network for initial validation.
The smart contract should interact seamlessly with the ABI, ensuring all contract functions are correctly executed.
The developed smart contract should be able to facilitate secure transactions, ensuring full traceability and adherence to established rules.
The smart contract, once fully tested and verified, should be deployable on the main Ethereum network.
I should also create unit tests for each function in the smart contract to validate their proper functioning.
Proper documentation for the developed smart contract should be written and maintained, including function descriptions and usage examples.
Potential errors or exceptions should be well-handled within the contract to prevent any transaction failure.
Notes:
The Solidity version I use should be consistent with the one used by the Central Bank.
I should ensure the smart contract follows best practices for security and efficiency.
User Story:
As a Blockchain Developer, I want to create a smart contract using the Application Binary Interface (ABI) provided by the Central Bank in the repository at https://github.com/bacen/pilotord-kit-onboarding/tree/main/abi, So that I can help facilitate secure, self-executing contracts in our financial system and strengthen our open-source community.
Acceptance Criteria:
Notes: