0.0.26 • Published 1 year ago

@pistis-score/pistis-protocol-contracts v0.0.26

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Description

This repository contains the Pistis Protocol contracts and the development environment.

Installation

yarn add @pistis-score/pistis-protocol-contracts

Development of the Plush Protocol

We will be glad if you join the protocol development!

Project structure

arguments directory with current contract addresses for each of the environments.

contracts directory with source code of contracts

scripts directory with scripts for deploying and upgrading contracts

hardhat.config.ts hardhat configuration

Preparation for development

First you need to make sure that the Node.js platform is installed.

Recommended using the 18 version NodeJS!

Link to download: download Node.js

Next, you need to install the yarn package manager: npm install --global yarn

Before starting the project, you need to install all project dependencies: yarn install

Configuration

Create .env file:

NETWORK=mumbai
API_URL=https://matic-mumbai.chainstacklabs.com
PRIVATE_KEY=changeme123
POLYGONSCAN_API_KEY=changeme123

You can use any Blockchain provider : Alchemy, Infura, etc.

Where to get the required keys

Get api keys on Polygonscan website

Deploying contracts

To deploy contract use:

npx hardhat run scripts/deploy/.../{FileName}
0.0.23

1 year ago

0.0.24

1 year ago

0.0.25

1 year ago

0.0.26

1 year ago

0.0.20

1 year ago

0.0.21

1 year ago

0.0.22

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.15

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago