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.
- 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.
- Node.js (version 14 or later)
- Yarn
- Rust (with nightly toolchain)
- Solana CLI
-
Clone the Repository
git clone (https://github.com/QalbeHabib/ApeOrDie) cd ApeOrDie/program -
Install Dependencies
yarn install
-
Configure Environment
- Copy
.env.exampleto.envand fill in the necessary environment variables.
- Copy
-
Build the Program
yarn build
-
Deploy the Program
-
For Devnet:
yarn deploy:ApeOrDie_dev
-
For Mainnet:
yarn deploy:ApeOrDie_main
-
To initialize the ApeOrDie programs, use the initApeOrDie.ts script:
-
For Devnet:
yarn init:ApeOrDie_dev
-
For Mainnet:
yarn init:ApeOrDie_main
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
To launch a token, use the launchToken.ts script:
yarn launch:dev-
Change Vault Executor:
yarn changeVaultExec:dev
To run the test suite, execute:
yarn test:devContributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.