Skip to content

Plex-Engineer/csr-testing-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing Repo for CSR

Getting Started

# install dependencies
yarn install

# deploy test contract
npx hardhat run scripts/deploy.js --network <NETWORK>

# register recipient for fees
npx hardhat run scripts/register.js --network <NETWORK>

# run a sample TX
npx hardhat run scripts/tx.js --network <NETWORK>

Helpers

# get nonce of account
node scripts/getNonce.js

Sample hardhat.config.js

require("@nomicfoundation/hardhat-toolbox");

/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
  solidity: "0.8.17",
  networks: {
    localhost: {
      url: `http://localhost:8545`,
      accounts: [""]
    }
  }
};

About

Contracts and scripts to test the CSR module on Canto

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published