Skip to content

Hero of the Village v1.0 (づ。◕‿‿◕。)づ #73

@bitflipper19

Description

@bitflipper19

📸 Issue: Hero of the Village v1.0 (づ。◕‿‿◕。)づ


🟢 Objective

Create a Solidity smart contract that implements the ERC-721 standard for non-fungible tokens (NFTs) with basic functions for managing balances. The contract should allow users to deposit, withdraw, and check the balance of NFTs. Implement functions like deposit(address to, uint256 tokenId) for minting tokens, withdraw(uint256 tokenId) to transfer tokens, and getBalance(address owner) to view the number of NFTs owned. Test the contract in Remix IDE to ensure all functions work as intended.


⭐ Step 1: Star & Fork the Repository

If not already, Star ⭐ the repo, then fork 🍴 it to your GitHub account.
If already forked, sync it remotely as well as locally!


📂 Step 2: Navigate to the SmartContracts420 Directory

Navigate to the /SmartContracts420 directory and make a <your_github_user_name.sol> and paste your Solidity code there.

NOTE: .sol extension refers to the Solidity Language


🚀 Step 3: Commit & Open a Pull Request

Commit your changes and raise a PR to the main repository.


Metadata

Metadata

Assignees

No one assigned

    Labels

    Points: 20good first issueGood for newcomersopen-for-allAny one can work on it without getting assigned, every PR can merge

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions