@plushstudio/plush-studio-contracts
v1.3.1
Published
The project contains the development environment and the source code of the Plush Studio contracts
Downloads
6
Readme
Description
This repository contains the Plush Studio contracts.
Overview
Installation
npm install @plushstudio/plush-studio-contracts
Project structure
arguments
directory with source code of arguments for deploying contracts
contracts
directory with source code of contracts
scripts/deploy
directory with scripts for deploying contracts
hardhat.config.ts
hardhat configuration
Installation
First you need to make sure that the Node.js platform is installed.
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
from example file.
Support networks:
- Goerli (
goerli
) - Mumbai (
mumbai
) - Mainnet ETH (
mainnet
) - Polygon mainnet (
polygon
) - Local (
local
) # for Ganache
Using
- Get api keys on Etherscan and Polygonscan websites
- It is necessary to set a working network in
.env
file in the variableNETWORK
- Change the values in the contract call arguments
- To deploy contract use:
npx hardhat run scripts/deploy/{ScriptName}