codeninja819 / bark-token

Bark Token (BARK) is a Solana-based token program built with the Anchor framework, implementing the Solana 2022-Token Standard (Solana Extension)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bark Token Logo

Bark Token Program

Bark Token (BARK) is a Solana-based token program built with the Anchor framework, implementing the Solana 2022-Token Standard (Solana Extension). This program is created to manage Bark Tokens, a digital asset on the Solana blockchain, and is driven by community contributions.

Features:

  • Token Creation: Create Bark Tokens with details such as name, symbol, and maximum supply.
  • Minting: Mint additional Bark tokens to the existing supply.
  • Burning: Burn Bark tokens to reduce the total supply.
  • Pausing: Pause and resume Bark token transfers as needed.
  • Treasury:
  • Transaction Fees: Collect transaction fees and distribute them to a "community" treasury wallet. The Bark´s Solana 2022 Token "TransferFee" extension allows you to configure a transfer fee directly on the Mint Account, enabling fees to be collected at a protocol level. Every time tokens are transferred, the fee is set aside in the recipient's Token Account. This fee is untouchable by the recipient and can only be accessed by the withdrawal authority. The design of pooling transfer fees at the recipient account is meant to maximize the parallelization of transactions. Otherwise, one configured fee recipient account would be write-locked between parallel transfers, decreasing the throughput of the protocol.

Bark Token (BARK) Tokenomics (draft)

Token Details:

Attribute Value
Token Name Bark Token (BARK)
Token Symbol BARK
Token Decimals 9
Maximum Supply 20,000,000,000
Burning Rate 2% (Quarterly)
Fee Decimals 2
Fee Symbol BARK_FEE
Fee Percentage min 2.5% max 5%
Treasury Wallet 8DosypWP5rR5REnpkjw...
Program Address [Program Address]

Owner: bark8LXsP1oCtaFM2KdQpBvXgEVWPZ1nm5hecFFUFeX https://solscan.io/account/bark8LXsP1oCtaFM2KdQpBvXgEVWPZ1nm5hecFFUFeX

Allocation and Distributions

2. Allocation and Distributions

Category Percentage
Public Sale 30%
Development 20%
Core Team 15%
Reserve 5%
Liquidity Pool 10%
Partnership 10%
Treasury 5%

Vesting Schedule and Terms

Category Vesting Period Cliff Period
Team 3 years 1 year
Ecosystem 2 years None
Reserve 1 year None

Getting Started

Prerequisites

Before you begin, make sure you have the following tools installed:

Installation

  1. Clone the repository:

    git clone https://github.com/bark-community/bark-token/bark-token-program.git
  2. Navigate to the project directory:

    cd bark-token && bark-token-program
  3. Build the program:

    cargo build --release
  4. Deploy the program to Solana:

    solana program deploy target/deploy/bark_token.so

Usage

  1. Initialize the Bark Token:

    solana-tokens create-account <MINT_ADDRESS> <OWNER_ADDRESS> bark_token_program_id
  2. Mint new tokens:

    solana-tokens mint <MINT_ADDRESS> <DEST_ADDRESS> <AMOUNT> --authority <AUTHORITY_ADDRESS>
  3. Burn tokens:

    solana-tokens burn <MINT_ADDRESS> <SOURCE_ADDRESS> <AMOUNT> --authority <AUTHORITY_ADDRESS>
  4. Change the paused state:

    solana-tokens change-paused-state --authority <AUTHORITY_ADDRESS> --state <STATE_ADDRESS> --paused <true/false>
  5. Collect transaction fees:

    solana-tokens collect-fees --treasury <TREASURY_ADDRESS> --state <STATE_ADDRESS>

Todo List

Token Extensions

Mint extensions to be implemented:

  • Confidential Transfers
  • Transfer Fees
  • Closing Mint
  • Interest-bearing Tokens
  • Non-transferable Tokens
  • Permanent Delegate
  • Transfer Hook
  • Metadata Pointer
  • Metadata

Contributing

Bark is a community-focused project, and contributions are welcome! Please follow our contribution guidelines.

License

MIT License - see the LICENSE file for details.

About

Bark Token (BARK) is a Solana-based token program built with the Anchor framework, implementing the Solana 2022-Token Standard (Solana Extension)

License:MIT License


Languages

Language:Rust 59.2%Language:TypeScript 40.8%