Skip to content

RealisNetwork/lis_eth

Repository files navigation

lis_eth

Repo for LIS ethereum based contracts

To launch project locally.

  1. Install dependencies: "npm i"
  2. Compile contracts: "npm run compile" (compiled data will appear in "artifacts" folder)
  3. Launch local node on address http://127.0.0.1:8545: "npm run start" or simply "npm start"
  4. To run tests: "npm run test"
  5. To check gas in called functions, run: "npm run test_gas"

To verify contract on scan websites, example of command: npx hardhat verify --network polygon_mumbai 0xAAfF7221017c6C13615FfACA1E2Ba52c1Fe5b713

npx hardhat verify --network polygon --constructor-args arguments.js DEPLOYED_CONTRACT_ADDRESS

To deploy example: npx hardhat run --network polygon_mumbai scripts/deploy-marketplace.js

To connect to network using console/test connection: npx hardhat console --network mainnet

npx hardhat flatten > flatten.sol

git sumbodules:

git submodule init git submodule update --recursive --remote

About

Repo for LIS ethereum based contracts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •