Assignment: Build your own Fungible Token

Now that you have some experience with smart contracts, it's time to build your own and share them!

Objective:

  • To develop a fungible token on the Solana blockchain that adheres to security best practices.

  • To gain experience with writing and deploying smart contracts on the Solana blockchain.

  • To share the smart contract with the Solana community.

Task:

  1. Create a Fungible Token contract via token program

  2. The token should have the following properties:

    • A unique identifier (e.g., symbol)

    • A total supply

    • A balance for each individual account

    • Functions to transfer the token from one account to another

  3. Write comprehensive test cases for the smart contract to ensure that it works as expected.

  4. Write a security report that details any potential security risks and vulnerabilities in the smart contract and how they can be mitigated.

  5. Deploy the smart contract to a testnet and test it using the test cases you have written.

  6. Share the smart contract code, test cases, and security report with the community on Discord.

Resources:

Last updated