Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 2.82 KB

README.md

File metadata and controls

34 lines (27 loc) · 2.82 KB

NAB-StablecoinCore

National Australia Bank's deployed StablecoinCoreV1 implementation.

Deployments

Ethereum Mainnet

Currency Instances

Installation

  • Clone the repo
  • Follow all instructions on this page beginning from run yarn init
  • Install OpenZeppelin contracts via command from root of repo yarn add --dev @openzeppelin/contracts @openzeppelin/hardhat-upgrades @openzeppelin/contracts-upgradeable
  • Ensure that your compiler has enabled using the optimiser on hardhat.config.js. More general information found here, here regarding the hardhat upgrades, and here regarding openzeppelin upgradable contracts.
  • For live deployment follow all instructions on this page. More information regarding deployment and verification found here and here

Testing

Local testing via command npx hardhat test

Troubleshooting

Encountering either Error: Package subpath './lib/utils'... or ethers typeerror: cannot read properties of undefined (reading 'jsonrpcprovider') can be resolved by using an earlier version of ethers.

  1. Delete node_modules
  2. Run: yarn add [email protected]