Skip to content

EminnM/anchor-codespace-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Codespaces Anchor(Solana) Starter

This project is a generic starter for developers to use in Codespaces that includes basic system tools and extensions.

Usage

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.

What's Included

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:

System Tools

  • 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

Rust Tools

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

Solana Tools

Other than installing solana V1.8.2:

VS Code Extensions

  • 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.

Operating System

About

A template repository for a ready to use anchor codespace.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 87.5%
  • Dockerfile 12.5%