Skip to content

a pre-packaged software bundle that includes a stable and tested Solana binary and Anchor pre-installed

License

Notifications You must be signed in to change notification settings

its-rav/anchor-quick-launch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anchor-quick-launch

a pre-packaged software bundle that includes a stable and tested Solana binary and Anchor pre-installed

Usage

Anchor-wrapper is a Python command line interface (CLI) to quickly create, manage and run a Solana-Anchor-ready environment. You can use the anchor-wrapper init command to initialize a project:

anchor-wrapper init --type <program_type> <project_name> 

Or you can then use the anchor-wrapper start command to run a container which has the project folder mounted:

anchor-wrapper start <project_name> 

Where <program_type> is either program or client, and <project_name> is the name of your project.

Optional args:

anchor-wrapper init --type <program_type> <project_name> --image <docker_image:tag> 
  • --port: You can also choose to map a pair of host and container ports when running the Docker container.
anchor-wrapper init --type <program_type> <project_name> --port <host_port>:<container_port> 
  • --command: Override the starting command to run the container
anchor-wrapper init --command [the starting command] --type <program_type> <project_name> 
  • --type:
    • To create a program in Python, run:
    anchor-wrapper init --type program <project_name>
    
    • To create a client using Next.js and Typescript, run:
    anchor-wrapper init --type client <project_name>
    

Your project will be initialized in the current working directory and mapped to /app/<project_name> in the container.

Technologies Used

  • Python
  • PyInstaller - Python lib to generate executables
  • pipenv - To mange packages
  • Docker For creating base images which has stable Solana and Anchor pre-installed

About

a pre-packaged software bundle that includes a stable and tested Solana binary and Anchor pre-installed

Resources

License

Stars

Watchers

Forks

Packages

No packages published