Skip to content

Bulk-trade/angmar

Repository files navigation

Angmar

Angmar

Docs Discord Chat License

Overview

The Angmar project by Bulk Labs is an open-source initiative that provides access to cutting-edge Solana programs and a TypeScript SDK for interacting with decentralized finance protocols. This project integrates various components, including Rust and TypeScript codebases, to facilitate management and interaction with the Solana blockchain.

Requirements

  • Solana CLI: v1.16.10
  • Platform Tools: v1.37
  • Rust Compiler: rustc 1.68.0 or higher

You can verify your Rust compiler version with:

rustc --version

Setup Instructions

Setup Script To initialize the project environment, run:

./setup.sh

Cleanup

To clean up the project directories and remove build artifacts, execute:

./cleanup.sh

Local Validator Setup

Set up a local Solana validator and run tests using:

anchor test

Local Deployment

To deploy the program locally, run:

./deploy.sh

Test Script

To execute the test scripts, use:

./test.sh

Project Structure

.
├── .anchor/                  # Anchor framework configurations and logs
├── api/                      # API server code (TypeScript)
├── deps/                     # Dependencies
├── idl/                      # Interface Definition Language files for smart contracts
├── scripts/                  # Various scripts
├── program/            # Rust code for the vault program
├── setup.sh                  # Setup script
├── cleanup.sh                # Cleanup script
├── deploy.sh                 # Deployment script
├── test.sh                   # Test execution script
└── README.md                 # 

Project documentation

Building Locally Note: If you're using an Apple computer with an M1 chip, set the default Rust toolchain to stable-x86_64-apple-darwin:

rustup default stable-x86_64-apple-darwin

Resources

Documentation: Coming Soon Discord Community: Join Here *License: Licensed under the Apache-2.0 License. License This project is licensed under the Apache-2.0 License.