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.
- 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.
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
Category | Percentage |
---|---|
Public Sale | 30% |
Development | 20% |
Core Team | 15% |
Reserve | 5% |
Liquidity Pool | 10% |
Partnership | 10% |
Treasury | 5% |
Category | Vesting Period | Cliff Period |
---|---|---|
Team | 3 years | 1 year |
Ecosystem | 2 years | None |
Reserve | 1 year | None |
Before you begin, make sure you have the following tools installed:
-
Clone the repository:
git clone https://github.com/bark-community/bark-token/bark-token-program.git
-
Navigate to the project directory:
cd bark-token && bark-token-program
-
Build the program:
cargo build --release
-
Deploy the program to Solana:
solana program deploy target/deploy/bark_token.so
-
Initialize the Bark Token:
solana-tokens create-account <MINT_ADDRESS> <OWNER_ADDRESS> bark_token_program_id
-
Mint new tokens:
solana-tokens mint <MINT_ADDRESS> <DEST_ADDRESS> <AMOUNT> --authority <AUTHORITY_ADDRESS>
-
Burn tokens:
solana-tokens burn <MINT_ADDRESS> <SOURCE_ADDRESS> <AMOUNT> --authority <AUTHORITY_ADDRESS>
-
Change the paused state:
solana-tokens change-paused-state --authority <AUTHORITY_ADDRESS> --state <STATE_ADDRESS> --paused <true/false>
-
Collect transaction fees:
solana-tokens collect-fees --treasury <TREASURY_ADDRESS> --state <STATE_ADDRESS>
Mint extensions to be implemented:
- Confidential Transfers
- Transfer Fees
- Closing Mint
- Interest-bearing Tokens
- Non-transferable Tokens
- Permanent Delegate
- Transfer Hook
- Metadata Pointer
- Metadata
Bark is a community-focused project, and contributions are welcome! Please follow our contribution guidelines.
MIT License - see the LICENSE file for details.