Submissions
# Simple Bank Canister on the Internet Computer 🏦 A smart contract implementing a basic banking system on the Internet Computer. ## About This project provides a foundation for decentralized banking on the IC, allowing users to: * Create accounts with an initial balance 🎁 * Check their account balance and ID 🕵️♀️ * Verify the existence of an account ✅ * Transfer funds between accounts 💸 ## Setup 1. Clone the repository 2. Install `dfx` 3. Run `dfx start --background` 4. Deploy with `dfx deploy` ## Usage Interact with the canister using these commands: * **Create an account:** ```bash dfx canister call simple_bank make_account '("your_secure_password")' ``` * **Check account info:** ```bash dfx canister call simple_bank account_info '("your_secure_password")' ``` * **Check if an account exists:** ```bash dfx canister call simple_bank check_account '("destination_account_id")' ``` * **Transfer money:** ```bash dfx canister call simple_bank transfer_money '("your_secure_password", amount_to_transfer, "destination_account_id")' ``` ## Project Structure * `src/simple_bank/`: Canister code * `src/simple_bank/simple_bank.did`: Candid interface * `dfx.json`: Project configuration ## Development To make changes: 1. Edit the code in `src/simple_bank/src/lib.rs` 2. Rebuild and redeploy: ```bash dfx build dfx canister install simple_bank --mode upgrade ``` ## Future Work 🚀 * Enhance security with advanced cryptography & multi-factor authentication 🛡️ * Store & provide access to transaction history 📜 * Implement interest & fee calculations 📈 * Develop a user-friendly frontend 🖥️
Dacade е отворена платформа и е създадена в сътрудничество с множество приносители. Отидете на хранилището , за да започнете да допринасяте.