Skip to content

QalbeHabib/ApeOrDie

Repository files navigation

ApeOrDie Program

Overview

ApeOrDie is a Solana-based program designed to facilitate token launches and manage bonding curves. This project leverages the Anchor framework for Solana smart contract development.

Features

  • Token Launch: Initialize and launch new tokens with specified metadata and supply.
  • Bonding Curve Management: Manage token bonding curves with configurable parameters.
  • Authority Management: Nominate and accept new authorities for program governance.

Prerequisites

Setup

  1. Clone the Repository

    git clone (https://github.com/QalbeHabib/ApeOrDie)
    cd ApeOrDie/program
  2. Install Dependencies

    yarn install
  3. Configure Environment

    • Copy .env.example to .env and fill in the necessary environment variables.
  4. Build the Program

    yarn build
  5. Deploy the Program

    • For Devnet:

      yarn deploy:ApeOrDie_dev
    • For Mainnet:

      yarn deploy:ApeOrDie_main

Usage

To initialize the ApeOrDie programs, use the initApeOrDie.ts script:

  • For Devnet:

    yarn init:ApeOrDie_dev
  • For Mainnet:

    yarn init:ApeOrDie_main

Verify Your Initialization

It is recommended to check your initialization after using the checkConfig.ts script:

  • For Devnet:

    yarn check_config:dev
  • For Mainnet:

    yarn check_config:main

Launch a Token

To launch a token, use the launchToken.ts script:

yarn launch:dev
  • Change Vault Executor:

    yarn changeVaultExec:dev

Run Tests

To run the test suite, execute:

yarn test:dev

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages