Toolverse
All skills

defi-protocol-templates

by wshobson

Implement DeFi protocols with production-ready templates for staking, AMMs, governance, and lending systems. Use when building decentralized finance applications or smart contract protocols.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
wshobson
Category
Backend
Views
35

About this skill

Implement DeFi protocols with production-ready templates for staking, AMMs, governance, and lending systems. Use when building decentralized finance applications or smart contract protocols.

How to use

  1. Zainstaluj skill w swoim środowisku agenta, wskazując repozytorium GitHub wshobson/agents z ścieżką plugins/blockchain-web3/skills/defi-protocol-templates.

  2. Wybierz typ protokołu DeFi, który chcesz zbudować: staking platform, AMM, system governance, protokół pożyczek, flash loan lub yield farming.

  3. Skopiuj odpowiedni szablon kontraktu Solidity z dostępnych szablonów (np. StakingRewards dla stakingu). Szablony zawierają już zaimplementowane funkcje core'owe i zabezpieczenia.

  4. Dostosuj parametry kontraktu do swoich potrzeb, takie jak adresy tokenów (stakingToken, rewardsToken), stawki nagród (rewardRate) i logikę dystrybucji.

  5. Przetestuj kontrakt na testowej sieci, weryfikując funkcjonalność stakingu, wypłaty nagród, aktualizacje stanu i obsługę błędów.

  6. Wdróż kontrakt na wybraną sieć blockchain (Ethereum, Polygon, itp.) i zintegruj z interfejsem użytkownika aplikacji DeFi.

Related skills