@pistis-score/pistis-protocol-contracts v0.0.26
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}
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago