This smart contract, built using the Anchor framework, facilitates the sale of SPL tokens, featuring a presale mechanism and allocation tickets.
Telegram: @degencap777
For any inquiries regarding this repository, please reach out, and we can establish a suitable communication method.
-
Token Sale: Users can purchase SPL tokens directly from the contract, acting as a vending machine.
-
Presale Mechanism: A configurable presale phase grants exclusive token access for a predetermined duration prior to the public sale.
-
Allocation Tickets: During the presale, users can acquire tickets that reserve their spots for purchasing SPL tokens.
-
Flexible Configuration: Easily configure parameters such as presale and public sale timings, token prices, and ticket allocation limits.
Ensure you have the following tools installed:
-
Installation: Clone the repository and install dependencies.
git clone https://github.com/degencap777/Solana-presale-smart-contract.git cd Solana-presale-smart-contract yarn
-
Build the Smart Contract:
anchor build
-
Run Tests:
anchor test
-
Deploy:
Switch to your desired network and deploy:
anchor deploy