Hi Akash community! My name is Garrett founder of RAIRprotocol , I'll give a short introduction on RAIRprotocol below:
We bring 4 years of GCP/GKE specific Web3 deployment knowledge to Akash! To date we have deployed all of our core microservices as an SDL to Akash dApp marketplace including SSL and secret management configurations *(with the help of some amazing Akash community members!)* and are seeking funding to:
-Fully migrate our open source deployment layer from GCP to Akash
-Promote Akash to our developer network
-Test and build new scaling tools into our Akash deployments (K8s, Terraform)
# Overview
RAIRprotocol provides open-source, prebuilt Web3 infrastructure for fast dApp deployment. Our fully open deployment layer ensures transparency and eliminates API risks in Web3.
* Product: RAIRprotocol helps devs build their own sovereign dApp infrastructure | 6 core microservices including our fully open source backend with 88+ APIs | 50+ Integrations | ERC2535 smart contracting | Account Abstraction | SDK (in progress)
* Deploy quickly with our pre-configured Docker containers! Simply rebuild them with new API keys and you have your own infra.
* Traction: Sony/Astar incubator graduate, Denarii tokenomics accelerator, Soneium Infrastructure partner, Alchemy platform partner. 2k Github followers, 1300+ stars. 900+ forks. HackIndia hackathon sponsor with Akash Network. 9K+ devs using Akash trial wallet accounts to deploy quickly using RAIRprotocol.
## Benefits to Akash
* Expand vanilla compute offering. Help Web3 devs deploy new dApps faster using Akash native Web3 cloud.
* Take our learnings from GCP to Akash. Gnarly production grade issues like secrets management, Nginx routing, auto-scaling, etc.
* Most importantly onboard new devs to Akash who do not have access to traditional cloud resources due to lack of financial inclusion (credit cards) It's the most amazing part of Web3 that new Akash users can start with a few AKT tokens and never need to interface with trad fiat.
# Existing Integration Milestones
To date we have performed the following work. See working SDL here. The 6 Microservices deploy automatically from the sample YAML provided in the awesome akash template.
https://console.akash.network/templates/akash-network-awesome-akash-RAIR-Dapp
Developers need to provide their own Docker hash to the rair-front microservice and change a few enviroment variables.
[A high level explainer video from our Youtube channel](https://www.youtube.com/watch?v=N5w6_3X1pMc) also explains the deployment process for RAIRprotocol on Akash.
| Initial Onboarding Tasks | Description | Status | Hours | Avg Rate | Total | Timeline |
|--------------------------------------------------------|----------------------------------------------------------------------------------|------------------------------------------------|-------|----------|---------|----------|
| Basic SDL Deployment (Frontend) | Operational env based deployment of default RAIRprotocol frontend | Completed | 7 | 127.06 | $889.42 | Q3 2024 |
| Basic SDL Deployment (Backend) | Operational env based deployment of default RAIRprotocol backend | Completed | 14 | ~127.06 | $1778.84 | Q3 2024 |
| Basic SDL Deployment (Syncing) | Operational env based deployment of default RAIRprotocol syncing | Completed | 3 | ~127.06 | $381.18 | Q3 2024 |
| Basic SDL Deployment (Media-service) | Operational env based deployment of default RAIRprotocol media-service | Completed - partially working see secrets task | 36 | ~127.06 | $4574.16 | Q3 2024 |
| Basic SDL Deployment (MongoDB) | Operational env based deployment of default RAIRprotocol mongodb | Completed | 1 | ~127.06 | $127.06 | Q3 2024 |
| Basic SDL Deployment (REDIS) | Operational env based deployment of default RAIRprotocol redis | Completed | 5 | ~127.06 | $635.3 | Q3 2024 |
| Trial wallet troubleshooting deployment | Investigate caching issues with trial wallet browser cookies | Completed | 4 | ~127.06 | $508.24 | Q3 2024 |
| Akash SSL Production Configuration | Reconfiguring cloudflare, dns, cname etc, to successfully route to target domain | Completed | 20 | ~127.06 | $2541.2 | Q3 2024 |
| Akash Hackathon Developer Support (4 Hackindia events) | In person dev at events, troubleshooting for students | Completed | 32 | 127.06 | $4065.92 | Q3 2024 |
| SDL Configuration/ Provider and troubleshooting | Learn SDL commands, verify best providers to deploy, pass GCP credentials | Completed | 74 | 127.06 | $9402.44 | Q3 2024 |
# Grant Proposal
We seek funding to more deeply integrate Akash Network with RAIRprotocol over the next 2 quarters and beyond.
* Phase 1: Includes low hanging fruit type work we can accomplish quickly to get to full integration
* Phase 2: Includes longer term tasks to scale our deployments on Akash. Terraform, automatic provisioning, testing new Akash features (Vercel-like auto deploy from Github).
## Grant Goals
To date most web3 applications are still on Web2 cloud compute rails (GCP, AWS, etc) We want to change this by providing new developers with an Akash first dApp deployment solution. Minimal configuration of RAIRprotocol (6 microservices 1 cpu per service) can be run for ~1 month for less than the 10 usd trial amount.
## Phase 1 Milestones
| Phase 1 Tasks | Description | |
|--------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| GCP Bucket Migration | Requires re-configuring secrets, usage of infiscal or similar secrets manager deployed to Akash. There is a security issue providing plaintext secrets in SDL as ENV | |
| Akash domain simple configuration for new dApps | SSL/domain configuration requires specific devops knowledge and manual steps, task will be to automate this so new devs can show off attractive https:// domains. Or if unable to completely automate provide high quality clickflow based tutorial videos. | |
| Make Akash default cloud deployment for RAIRprotocol | Readme docs, marketing, videos surrounding deploying RAIRprotocol on Akash. Will request a custom affliate URL to track new signups of trail wallets from Akash | |
| IPFS Bucket configuration | Deploy native dApp storage using Akash hosted IPFS provider and see if it is performant enough to be practical. Introduce our Filebase partnership to Akash. | |
| Media service video pathing issue with Nginx (413 error too large) | 1mb video upload path is working. User profile photo, banner, other static image elements go to GCP bucket storage or Filebase. Need a new webserver configuration for Nginx to route to bucket storage from Akash. | |
## Phase 2 Milestones
| Phase 2 Tasks | Description | |
|----------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| Automatic provider re-provisioning | How to take down and redploy to the same or new? provider while perserving domain routing. Re apportion more resources based on usage. This is a more simplistic non-Kubernetes technique to add resources to smaller deployments. | |
| Terraform research into multi provider flows | How to perform provider switching through terraform. Switch between providers w/o downtime. Terraform enables cross trad cloud migration by writing infrastructure as code. Should be able to move deployments across multiple providers. | |
| Ongoing Akash new features beta testing | K8 implementation, new features alpha testing and integration. Priority integration with new early access features. Automation testing, regression testing, and manual testing of relevant Akash features that can make RAIRprotocol deployments better | |
| Alpha test, feedback, code review, Automatic Vercel-like deployment | Automatic CI/CD deployment testing directly from Github. Investigate how this compares to our current CI/CD flows. Bitbucket -> Jenkins (closed source flow) and Github -> Github actions open source flow https://console.akash.network/templates/akash-network-awesome-akash-automatic-deployment-CICD-template | |
| Hashicorp Vault Integration research | Apply learnings for how to configure Hashicorp Vault to Akash. Investigate SDL based deployment of vault and provide findings. | |
## Rate Schedule
| Role | Rate | Phase 1 hours | Phase 2 hours | Phase 1 Subtotal | Phase 2 Subtotal |
|-------------------------------------|---------|---------------|---------------|------------------|------------------|
| Senior DevOps Engineering | $185.64 | 47 | 117 | $8,725.08 | $21,719.88 |
| Junior DevOps Engineering | $138.15 | 86 | 165 | $11,880.90 | $22,794.75 |
| QA/QC Automation Testing | $94.06 | 42 | 71 | $3,950.52 | $6,678.26 |
| QA/QC Regression Testing | $145.90 | 35 | 80 | $5,106.50 | $11,672.00 |
| QA/QC Manual Testing | $54.30 | 68 | 117 | $3,692.40 | $6,353.10 |
| Senior Frontend Development (REACT) | $180.76 | 58 | 68 | $10,484.08 | $12,291.68 |
| Senior Backend Development | $235.46 | 82 | 177 | $19,307.72 | $41,676.42 |
| Marketing/Social Comms | $42.47 | 81 | 81 | $3,440.07 | $3,440.07 |
| Marketing/Video Comms | $66.78 | 110 | 110 | $7,345.80 | $7,345.80 |
| Labor Subtotal | -- | 609 | 986 | $73,933.07 | $133,971.96 |
## Overages
| Operational Overage | Rate | Totals | Phase 1 | Phase 2 |
|---------------------|--------|----------|-------------|-------------|
| Mgmt Oversight | 10% | Subtotal | $73,933.07 | $133,971.96 |
| -- | -- | -- | $7,393.31 | $13,397.20 |
| AKT Volatility | 32% | Subtotal | $81,326.38 | $147,369.16 |
| -- | -- | -- | $26,024.44 | $47,158.13 |
| US Federal Tax | 23.50% | Subtotal | $107,350.82 | $194,527.29 |
| -- | -- | -- | $25,227.44 | $45,713.91 |
| | | Total | $132,578.26 | $240,241.20 |
# Limited Market Impact & Transparent Reporting
## Limited Market Impact
RAIRprotocol DAO LLC will custody the requested funds in a new, distinct wallet so that funds from any other source are not commingled.
All funds will be liquidated and managed in a manner that ensures minimal impact on the market. These funds will be managed with the same care and attention as all previous Community Funding Proposals with liquidations done in a fashion that will not adversely affect the market. In practice, the effort of this liquidation will add depth to the AKT market for buyers looking to enter.
## Transparent Reporting
All costs and records will be made publicly available through reports to ensure maximum transparency and accountability.