---
title: "Discussion on \"Tokenised Subscriptions on Algorand\" | Hashnode"
description: "Discussion on \"Tokenised Subscriptions on Algorand\". Introduction\nIn this blog post, we'll explore a novel way to implement periodic payments on Algorand.\nThe general idea is to write a smart contract that issues redeemable subscription tokens.\nEach subscription is represented by a unique asset, and ea..."
url: "https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Tokenised Subscriptions on Algorand](https://alexandercodes.hashnode.dev/tokenised-subscriptions-on-algorand?utm_source=hashnode&utm_medium=feed)

Introduction In this blog post, we'll explore a novel way to implement periodic payments on Algorand. The general idea is to write a smart contract that issues redeemable subscription tokens. Each subscription is represented by a unique asset, and ea...

Apr 18, 2024 · 9 min read · alexandercodes.hashnode.dev  
Updated Apr 20, 2024  
Read the article

-   [#algorand](https://hashnode.com/tag/algorand)
-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#smart-contracts](https://hashnode.com/tag/smart-contracts)
-   [#algopy](https://hashnode.com/tag/algopy)

## Written by

[Alexander Codes](https://hashnode.com/@alexandercodes)

@alexandercodes

  
[View profile](https://hashnode.com/@alexandercodes)

Data Engineer

## Responses 2

Markdown supported · ⌘↵ to post

[Alina](https://hashnode.com/@subislav)

[Sep 4, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/66d88c0f45f41bf635297d55)

hello guys !

[Lilian Hunter](https://hashnode.com/@Lilianhunter)

[Aug 17, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/66bfedc0dadbda80813e1af6)

SPEAK WITH A REASONABLE, LICENSED BTC/USDT RECOVERY HACKER - ALPHA KEY

After being unable to withdraw or send money from my block chain wallet address, I became a victim of a crypto investment scam. I found online reviews of Alpha Key Recovery's hacker expert services and how they have been assisting victims of scams involving cryptos. If you have fallen victim to any kind of scam, please contact them using the information below. They continue to be the most dependable crypto hacker that I can recommend to anyone.

WhatsApp Messenger: +15714122170 Signal Message: +18622823879 Alpha Key Recovery Telegram channel

[Emma Raducanu](https://hashnode.com/@raducanue70)

[Aug 16, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/66bf7bb04758db5019603d3a)

I NEED A HACKER TO RECOVER MY LOST CRYPTOS VISIT \[ ROCKET SPEED RECOVERY HACKER \]

My name is Emma Raducanu and I am from Toronto, Canada well known as a Professional Tennis Player. Have you fallen victim to a Ponzi scheme or are you having problems accessing your bitcoin wallet? For a 100% guarantee on the return of your wallet and any lost money, get in touch with ROCKET SPEED RECOVERY HACKER. In addition, ROCKET SPEED RECOVERY HACKER can help you with phone hacking, iCloud breaches, YouTube breaches, removing criminal records, and enhancing your university grades. Captain ROCKET SPEED RECOVERY HACKER has been helping people and businesses secure and retrieve stolen digital currencies like Eth and Bitcoin for years. contact them at...

WhatsApp .. +1 (269) 369–5436 Email… rocketspeedrecoveryhacker@seznam.cz Telegram..[t.me/rocketspeedrecoveryhacker](http://t.me/rocketspeedrecoveryhacker)

[Phyllis Waller](https://hashnode.com/@phylliswaller)

[Aug 15, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/66bda4a31b6eb9c9e5bfef13)

Can you explain how to deploy this contract on Ethereum?

Edited by [slope game](https://slope3.com/) 1 day ago

[Alexander Codes](https://hashnode.com/@alexandercodes)

[Aug 16, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/66bda4a31b6eb9c9e5bfef13#reply-66be97b969c501c948fc507e)

You would have to rewrite it in Solidity/equivalent.

[Jackson David](https://hashnode.com/@jackson943)

[Aug 13, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/66baedec31c9c5f299fe9547)

i live in Canada a friend introduces me to blank atm card which i got from Davidwilson hackers, i believe him so well not like scammers out there i have withdrew $50000 with this card so i decided to share a testimony if you are interested contact him now for Financial Solutions Davidwilson2284@gmail.com

[Jackson David](https://hashnode.com/@jackson943)

[Aug 13, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/66baec4be2f22beb3be3a559)

i live in Canada a friend introduces me to blank atm card which i got from Davidwilson hackers, i believe him so well not like scammers out there i have withdrew $50000 with this card so i decided to share a testimony if you are interested contact him now for Financial Solutions Davidwilson2284@gmail.com

[BRITANY PEDDY](https://hashnode.com/@peddybrit)

[May 14, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/6642c3c4b775dd6ed2fe901c)

TROPICAL DELIGHT RECOVERY IS THE ONLY VERIFIED LICENSE COMPANY.

Are you looking for a way to recover cryptocurrency you misplaced or had stolen? I'm pleased to inform that Tropical Delight Recovery Hacker has resolved the issue that nearly caused my house to fall since I spent the monies my spouse wanted to utilise to start a business. I lost $1.4 million in bitcoin and etherium to these scammers. They excel at what they do and are the leading certified cryptocurrency recovery company. They can be reached instantly at: @ tropicaldelightrecoveryhacker on Telegram and @ tropicaldelightrecoveryhacker.93 on Signal. The email address is TropicalDelightRecoveryHacker @ out look .com.

[Eldar Ahmadov](https://hashnode.com/@EldarAhmadov)

[Apr 18, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/662177983f4bfb2f3b4eeb39)

Great work, as usual. I have a question, what if the redeemer misses a cycle. Would he be able to redeem 2 (or whatever he missed + 1 ) tokens at once? I assume Payment tx with amount equal to = (cycle\_number - current\_balance) \* payment\_amount would cover that scenario.

[Eldar Ahmadov](https://hashnode.com/@EldarAhmadov)

[Apr 19, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/662177983f4bfb2f3b4eeb39#reply-6622ef85b1019c7c0e629941)

Oh, I forgot that returning 0 means Reject ). [Eldar Ahmadov](https://hashnode.com/@EldarAhmadov)

[Alexander Codes](https://hashnode.com/@alexandercodes)

[Apr 19, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/662177983f4bfb2f3b4eeb39#reply-6622eff34127c4c011cc5c15)

[Eldar Ahmadov](https://hashnode.com/@EldarAhmadov)

You would be able to keep depositing tokens until next\_balance == cycle\_number, but you'd only receive a payment for the last one (when next\_balance == cycle\_number).

So for example if it's currently cycle 3 and you haven't claimed any payments yet, you could either:

1.  Transfer 2 tokens to the contract without calling the claim\_payment() method, and then call the claim\_payment method sending an additional token and receive one payment.

or

2.  Call the claim\_payment() method three times, transferring a single token each time. You would only receive a payment for the last one (token/cycle 3).

[Eldar Ahmadov](https://hashnode.com/@EldarAhmadov)

[Apr 19, 2024](https://hashnode.com/posts/tokenised-subscriptions-on-algorand/6620fd10b66bb56854d2e17e/comment/662177983f4bfb2f3b4eeb39#reply-6622f403188985039391d21b)

Got it, thanks again!

You should definitely consider making courses, you have an excellent way of explaining. I'd happily support that! I'm learning python itself in parallel (dotnet developer here) so your posts are a HUGE help!

Keep those posts coming!

[Alexander Codes](https://hashnode.com/@alexandercodes)
