Skip to content

moondance-labs/tanssi-symbiotic

Repository files navigation

Tanssi <> Symbiotic

Description

This repo aims in creating an easy to run environment to spin up a local blockchain network allowing devs to interact with Symbiotic smart contracts.

It allows also to deploy a SimpleMiddleware contract that will be used to interact with the Symbiotic contracts.

This repository provides the necessary infrastructure for deploying and interacting with Symbiotic smart contracts. It includes:

  • Symbiotic Contracts: The repository contains the deployment scripts for the core Symbiotic contracts.
  • Middleware Contract: In addition to the Symbiotic contracts, the repository also includes a Middleware contract that can be used to interact with the Symbiotic system.
  • Rewarder Contract: The repository also includes a Rewarder contract that can be used to distribute rewards to users who interact with the Symbiotic system.

By using this repository, developers can quickly set up the necessary environment for working with Symbiotic contracts, our Middleware and Rewarder.

Architecture

The architecture can be seen in the following image

Architecture

Usage

Install

$ make install

Start

To spin up locally the blockchain network run:

$ make anvil

then to deploy symbiotic contracts:

$ make deploy

If you want to emulate the whole process of registering operators and vaults as in mainnet run the demo script:

$ make demo

Test

$ make test

Format

$ make fmt

Gas Snapshots

$ make snapshot

Clean

$ make clean

If you encounter any issues after continuously deploying contracts, namely MemoryOOG, just run:

$ make clean-all

Remove

$ make remove

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published