whatisgithub

What is liquidity-shield-casper?

blahka44/liquidity-shield-casper — explained in plain English

Analysis updated 2026-05-18

0MakefileAudience · developerComplexity · 4/5Setup · hard

In one sentence

A buildathon project that watches CSPR token prices and automatically triggers protective smart contract actions on the Casper network when risk crosses a threshold.

Mindmap

mindmap
  root((Liquidity Shield))
    What it does
      Watches CSPR price
      Scores risk
      Triggers protection
    Tech stack
      Node.js
      Rust WASM
      Casper Network
    Use cases
      Vault protection
      Live dashboard
      On chain audit
    Audience
      Developers
      DeFi builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automatically move a DeFi vault into a protective state when CSPR price drops sharply.

USE CASE 2

Watch a real time dashboard showing risk scores and recorded on chain transactions.

USE CASE 3

Study a simple example of an autonomous agent that acts on a blockchain based on price data.

What is it built with?

Node.jsRustWebAssemblyCasper NetworkMakefile

How does it compare?

blahka44/liquidity-shield-casperburnermcburnface33/amigaemuchmduquesne/opentopomaps-manager
Stars00
LanguageMakefileMakefileMakefile
Last pushed2022-04-04
MaintenanceDormant
Setup difficultyhardhardmoderate
Complexity4/54/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires a Casper Testnet account, the casper-client tool, and building a Rust and WASM smart contract before the agent can run.

So what is it?

Liquidity Shield is a buildathon project made for the Casper Agentic Buildathon 2026. It is an automated agent that watches the price of Casper's CSPR token and reacts on its own when the price moves sharply, without a person having to be watching at the time. The problem it addresses is that people providing liquidity in decentralized finance can lose money during a sudden price crash if nobody notices in time to react. The system works in a chain of steps. First it fetches CSPR price data from the CoinGecko API. Then it runs a fixed, non AI calculation that turns the recent price change into a risk score and compares that score against a threshold the operator sets. If the risk score crosses the threshold, the agent automatically signs and sends a transaction to the Casper network that changes the state of a smart contract, for example moving a vault into a protective mode. Every one of these actions is recorded on chain and also shown on a simple dashboard, so there is a visible audit trail of what the agent did and when. To try it, a user builds the smart contract with a make command, deploys its initial state with the casper client tool, starts the agent with a Node.js script, and can open a small local web dashboard to watch transactions and risk scores update in real time. The README includes links to live example transactions already recorded on the Casper Testnet, along with a demo video. The project is built from a Rust and WebAssembly smart contract for on chain state, a Node.js script for observing prices and deciding when to act, and plain HTML, CSS, and JavaScript for the dashboard. The README notes that the guarantee here is limited: the blockchain can confirm the agent behaved consistently with the price feed it received, but the accuracy of that feed still depends on CoinGecko's data being correct.

Copy-paste prompts

Prompt 1
Show me how to build and deploy the Casper smart contract used by Liquidity Shield.
Prompt 2
Walk me through running the Node.js agent and connecting it to the CoinGecko price feed.
Prompt 3
Explain how Liquidity Shield's risk score threshold decides when to trigger a protective transaction.
Prompt 4
Help me set up the local dashboard to view Liquidity Shield's audit log in real time.

Frequently asked questions

What is liquidity-shield-casper?

A buildathon project that watches CSPR token prices and automatically triggers protective smart contract actions on the Casper network when risk crosses a threshold.

What language is liquidity-shield-casper written in?

Mainly Makefile. The stack also includes Node.js, Rust, WebAssembly.

How hard is liquidity-shield-casper to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is liquidity-shield-casper for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.