I'm developing a performance test where I check the time a gateway spends to find a contract in a blockchain. I'm using ganache-cli to simulate the blockchain, my doubts are:
1) Is it possible to generate 100 contracts at one time using the truffle? Should each of these contracts have a different name or can all have the same name?
2) When I use the
truffle migrate command I can get the addresses of each contract in the terminal that is running ganache. How do I use web3js to get the contract that I know the addresses?