This project is a generic starter for developers to use in Codespaces that includes basic system tools and extensions.
To use this codespace template simply create a new repository from this repository. In the new repository you have to wait until the codespace prebuild action is executed (takes around 15-20 minutes). Afterward you can access the prebuild codespace and optionally execute:
chmod +x ./init-anchor-project.sh && ./init-anchor-project.sh
This will initialize a new anchor project in the root directory of the new repository.
This is a basic environment that should be ready to expand upon to build a day-to-day development envrionment for Solana. It comes with the following software choices:
- curl/curl: the command line tool for transferring data over a metric boatload of protocols.
- git: the Git SCM tool.
- gnupg2: a complete and free implementatiuon of the OpenPGP standard.
- stedolan/jq - a command line JSON parser.
- sudo - the superuser authority delegation tool.
- zsh - interactive terminal (alternative to
bash
). - ohmyzsh/ohmyzsh - a delightful community driven framework for managing zsh config.
- vim - a text editor
- build essentials - tools for compiling and linking code
- openssl - tls and ssl toolkit
Besides Rust and Cargo, the image comes with the following Rust related tooling:
- rustup: installer and toolchain manager
- rustfmt: a tool for formatting Rust code according to style guidelines
- clippy: lints to catch common mistakes and improve your Rust code
Other than installing solana V1.8.2:
- anchor: anchor
- Rust Analyzer: an alternative rust language server to the RLS.
- CodeLLDB: native debugger based on LLDB.
- Crates: helps Rust developers managing dependencies with Cargo.toml.
- Live Share: collaborative, multi-user remote editing from directly within the editor.
- Ubuntu 22.04: The 22.04 LTS version of Ubuntu.