Skip to content

mystikonetwork/mystiko-contracts

Repository files navigation

Mystiko Contracts

build status

This repository contains the core and settings contracts that power Mystiko Network, as well as the accompanying tools and utilities for deployment and interaction. The provided packages allow for seamless management of Mystiko's zero-knowledge, governance, and roller/relayer pools.

Mystiko Core Contracts

The core contracts are essential components that define the fundamental operations of Mystiko Network:

Mystiko Settings Contracts

The settings contracts are governed by Mystiko's governance system and manage various roles and permissions within the network:

ABI for TypeScript

To interact with these contracts, Mystiko provides ABI (Application Binary Interface) packages designed TypeScript integration:

Deployment Scripts

Automate the deployment process using the following package:

Utilities

Utility packages to assist with common tasks when interacting with contracts:

Getting Started

To begin using Mystiko's packages, follow the steps below:

  1. Log in to GitHub's NPM Registry Use your GitHub username and a Personal Access Token (PAT) to log in to the NPM registry:
npm login --scope=@mystikonetwork --registry=https://npm.pkg.github.com
  1. Install the packages you need: Install the desired contract packages and ABI packages for TypeScript:
npm install @mystikonetwork/contracts-settings
npm install @mystikonetwork/contracts-certificate
npm install @mystikonetwork/contracts-roller
npm install @mystikonetwork/contracts-relayer

npm install @mystikonetwork/contracts-abi
npm install @mystikonetwork/contracts-abi-settings
npm install @mystikonetwork/contracts-abi-certificate
npm install @mystikonetwork/contracts-abi-roller
npm install @mystikonetwork/contracts-abi-relayer

npm install @mystikonetwork/contracts-utils

This setup equips you with all the necessary packages to manage, deploy, and interact with Mystiko's smart contracts using TypeScript.

About

Core smart contracts of Mystiko.Network

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •