We’ll cover the benefits of each in our latest #OpenSourcing thread - Day 4 of documenting our OpenSource-athon
We've used #terraform to automate our #infrastructure - essentially to complete a series of tasks in a defined order required for things like setting up a node
#Terraform is a form of #Infrastructure-as-code, used to manage setting up infrastructure through code instead of through manual processes.
You can think of it like dominos - one click of a button can result in a whole series of outcomes freeing up time for more creative work!
On top of this, we’ve used #Terragrunt to make the code within #Terraform DRY (Don’t Repeat Yourself)
With #Terragrunt you can plug in config info like CPU, RAM, Static IPs, Storage which speed things up whilst making the code more modular and reusable
The next piece of the puzzle is @ansible which makes it easy to manage the config of nodes by installing different packages, and extend it to work better with specific requirements.
This means you can easily swap some variables to make it work with other @cosmos Networks
If you’re interested in leveraging this for your own project, #cheq out our latest repo and ask any questions to our engineering team in our Slack or Discord channels…
Shoutouts to @_jsdp, Nikola and @ankurb for their work on this
First up, @datadoghq, a tool that provides monitoring of servers, databases, tools, and services, through a SaaS-based data analytics platform.
You can think it like a task manager on your laptop
Using @datadoghq we keep an eye on metrics from @Tendermint_Core (e.g. if a validator double signs a transaction) and the @cosmossdk (e.g. transactions / day) to ensure the network runs smoothly & any security vulnerabilities/issues that may impact consensus are quickly resolved
As #Cosmonauts know the @cosmossdk offers APIs for built-in modules using gRPC, REST & Tendermint RPC however we noticed a few that it can't provide, so we built them...
This collection of custom APIs can be deployed as a @Cloudflare Worker or compatible serverless platforms
1. 🧮 Total Supply
#Crypto tracking websites such as @CoinMarketCap and @coingecko require an #API endpoint for reporting the total supply of tokens in the main/primary token denomination.
If you’re thinking of running your own #airdrop or community rewards programme and need a go to place for your community to retrieve their rewards, we've got you.
We’ve open sourced the community airdrop rewards site, and like what we shared yesterday, it is built using @Cloudflare Pages and designed it to be highly scalable.
Whys this?
👇👇
#Airdrop reward sites need to be more resilient to traffic spikes than most websites because, when announced, community members will tend to flock to the site to claim their rewards generating a large spike in traffic, followed by a period of much lower traffic
In the @cosmos ecosystem and need a faster way for developers and node operators to acquire #testnet tokens to test out and use the functionalities of your network?
Tired of the operational overhead of sending tokens?
This is a self-serve site that allows users to enter their #testnet address and seamlessly request tokens so they can test out the @cheqd_io network's identity functionalities
We built this using @Cloudflare pages as it provides a fast way to create serverless applications which are able to scale up and down dynamically depending on traffic, at a low cost.
Essentially when a request is made, a tiny server runs for the time needed to process it
A #DID (#DecentralisedIdentifier) is a unique identifier that doesn't require a centralised registration authority because it is registered with a distributed ledger technology or other form of registry.