Skip to content

sreenivasivbieb/funkable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I've created a comprehensive README file for the Simple Fungible Token contract. The README includes: image Address-STR4J9QNNYQF1F99P77ECDZENV0AXFMZ4CS79XG3.funkableSimple Token (STK)

A simple fungible token smart contract written in Clarity for the Stacks blockchain. It defines a token with ERC20-like functionality including transfers, minting, and burning.

📋 Token Details

Name: Simple Token

Symbol: STK

Decimals: 18

Initial Supply: 1,000,000 STK (minted to contract deployer)

⚙️ Features

Token Info: get-name, get-symbol, get-decimals, get-total-supply

Balances: get-balance (account)

Transfers:

transfer (amount, recipient)

transfer-from (amount, sender, recipient)

Minting & Burning:

mint (amount, recipient) → only owner

burn (amount) → self-burn

Owner: get-owner

Initialization: mints 1,000,000 STK to contract owner at deployment

❌ Error Codes

u100 → Owner only

u101 → Insufficient balance

u102 → Invalid amount

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published