Mesh Presents: “An Aiken Library To Make Devs’ day-to-day Lives Easier” | Today’s contract: Giftcard

mesh cover 2

What use case more susceptible to touch the nerve of the real economy than facilitating the usage of Giftcards?

:credit_card:Giftcards: practical for all occasions.

Let’s explore this scenario by deploying one of the Aiken contracts from the MeshJS library.

:white_check_mark: Step 1: Go to https://meshjs.dev/smart-contracts/giftcard

:white_check_mark: Step 2: Go to the “Create Giftcard” section.

:white_check_mark: Step 3: Connect your preprod wallet funded with test Adas.

:white_check_mark: Step 4: Click on the “Run code snippet” button.

:rotating_light: You can customize the “Gitfcard amount” and the “Gitfcard name” fields.

:white_check_mark:Step 5: If the Transaction is successful, copy the Tx Hash generated in the “Result” field.

:white_check_mark:Step 6: Go to the “Redeem Giftcard” section.

:white_check_mark:Step 7: In the “Tx Hash” field, paste the Tx Hash from the previous operation.

:white_check_mark:Step 8: Click on the “Run code snippet” button.

:golf: And that’s it!

:flashlight: Would you like to take a look at the source code of the contract? For sure! Go to https://github.com/MeshJS/mesh/tree/main/packages/mesh-contract/src/giftcard

MeshJS: making life :sun_behind_small_cloud: easier for Developers.

1 Like

How are you doing
If you have experience with Web and smart contract development, I want to collaborate with you in my project. If you are interesting, please contact here or support@trustpad.work
This is my work email