---
title: "Discussion on \"Token Lock Smart Contract for MoltenChain\" | Hashnode"
description: "Discussion on \"Token Lock Smart Contract for MoltenChain\". -- Smart contract for token locking mechanism on the MAGMA cryptocurrency on the MoltenChain blockchain\n-- Define variables local\ntokensLocked = 0 -- Number of tokens currently locked local\nlockDuration = 86400 -- Duration of lock in seconds (86400 s..."
url: "https://hashnode.com/posts/smart-contracts-for-moltenchain/63a3c1da07611420b5618a37"
---

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

Discussion

# [Token Lock Smart Contract for MoltenChain](https://blog.magm.red/smart-contracts-for-moltenchain?utm_source=hashnode&utm_medium=feed)

\-- Smart contract for token locking mechanism on the MAGMA cryptocurrency on the MoltenChain blockchain -- Define variables local tokensLocked = 0 -- Number of tokens currently locked local lockDuration = 86400 -- Duration of lock in seconds (86400 s...

Dec 22, 2022 · 12 min read · blog.magm.red  
Read the article

-   [#smartcontracts](https://hashnode.com/tag/smartcontracts)
-   [#moltenchain](https://hashnode.com/tag/moltenchain)
-   [#magma](https://hashnode.com/tag/magma)
-   [#development](https://hashnode.com/tag/development)
-   [#lua](https://hashnode.com/tag/lua)

## Written by

[Redeaux Corporation](https://hashnode.com/@redeaux)

@redeaux · USA

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

We are developing nextgen digital platforms and products.

We have a team of experienced developers, some dating back to the 1980's. We are focused on building an ecosystem of nextgen applications, services, experiences, and games.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
