Solana dev quick start using Docker
Solana dev quick start using Docker

Solana dev quick start using Docker

Problem Statement

It is really a pain in the a** to correctly setup all of these

image

If you are lucky, you can use the official docs to install the latest version. But, it is a hit or miss to a lot of people due to OS compatible and problem with existing software environment. Or you can build Solana from source code but it cause a bigger problem since the debugversion of the build is some where 11GB with over 800 packages to build and ton of dependencies. To be honest, if you can build Solana from source code, you are already a Rust Master but most of new builders are not. Additionally, front-end development with Solana is troublesome with all the webpack 4→5 broken update and stuffs.

Solution proposal

How about a Docker repo that bundle with stable and tested Solana binary, coming with Anchor pre-installed which is ready for both Rust programming and Web3 client development? Better, there is a script that help create a new project folder which is hot-loaded with the Container.

The final result would look this neat:

anchor_wrapper init [my-project] [docker_image:tag]

After this script, following actions will taken place:

  • docker_image:tagwill be downloaded if it is not existed on the machine yet
  • A new container will be started and the container id will be returned
  • Anchor will setup my-project and make sure it is hot loaded with the docker container

After this step, building and testing will happens on the container seamlessly.

Also, something similar for the Front-End development with @solana/web3.js and @project-serum/anchor is also required.

Note:

  • We welcome idea to make the workflow easier.
🎯
Your Mission: Build a program that help new builder start coding Solana Program just in few minutes. Deadline: 7 Mar 2023

Rewards

🥇 First Prize:

  • $600 USDC
  • Promote to Contributor Role in Superteam VN Discord.

🥈 Second Prize

  • $100 USDC
  • Promote to Contributor Role in Superteam VN Discord.

🥉 Third Prize

  • $50 USDC

Submission Requirements

At a minimum submissions for prizes should include the following items:

  1. Project Description
    • The name and summary of the project.
    • Names/pseudonyms of team members and contact info (e.g., GitHub handle, email address, or other).
    • Your suggested use-cases.
  2. Link to the publicly visible source code repository
    • Provide comprehensive README, incl. a clear description of the work and mention of how our tech is used in the Technologies Used section of README.
    • Include a link to the working demo or provide a testing guide
  3. Showcase
    • 2-3 minute video that presents the idea.
    • Participate in Superteam effort to promote the idea and project.
  4. Notes
    • Only submit what you have built specifically for this bounty.
    • Broken links may disqualify the project from the judging process.

Evaluative Criteria

Submissions will be rated with decimal numbers between 1 (worst) - 5 (best) per category (max score: 25). The final score is the average of all voting judges. If a project scores low, we reserve the right not to award prizes, even if it was the only project submitted to a given track. Our judges grade submissions across five equally-weighted categories:

  1. Design: Is it easy to use? Does the visual design delight you? If targeting developers, is the experience smooth and intuitive?
  2. Technical Accomplishment: Is the code elegant, clean, and technically interesting? Is the project complete?
  3. Creativity/Fun/Wow-Factor: Is it creative and put a smile on people’s faces?

Any winners will be notified after the event is over with specific instructions (including but not limited to filling out the necessary tax information) on how to claim their prize. Failure to provide the appropriate information within the timeframe specified in the winner notification message could mean delayed payment or claim rejection.

Participation in this bounty is entirely voluntary. Bounties are a way to learn and dabble in opportunities to build in web3. These are neither full time jobs nor project based engagement. Please be advised that the sponsors will not have time for individualized feedback due to the number of entries we receive.

About Superteam

We help the most promising projects in the Solana ecosystem launch and grow. We are organised as a co-operative of creatives and operators who are experienced in launching and growing technology businesses. Our mission is to bring the benefits of the ownership economy to the creative class (rent your time for tokens, not dollars) while creating flexible and remote work opportunities for all members.