1

npm install @openzeppelin/contracts I re-installed open zeppelin contracts and that worked.


1

Contract inheritance is basically just a coding trick. What happens in the compiler, is that all of the code is flattened into a single contract. So if A inherits B and you compile A, the compiler simply inserts the code of B into contract A. Therefore you shouldn't need to deploy the base contract. You only need to deploy the two contracts which inherit ...


1

There are a couple of issues with your truffle-config.js: Add quote to your wallet address: from: '0x2e0d45a887c8120d7bc6a3d06aec5214270902ba', You may still need provider for the wallet: provider: () => new HDWalletProvider(mnemonic, https://rpc-mumbai.matic.today), This is an example of part of my config. Try it and hope it helps. David


Only top voted, non community-wiki answers of a minimum length are eligible