Closed theblock-dev closed 2 years ago
You may need to add ganache as fallback:
const options = {
contracts: [CryptoKittens],
web3: {
fallback: {
type: 'ws',
url: 'ws://127.0.0.1:7545', // the url you see on ganache UI
},
},
};
Thanks, that works.
Getting issue in initializing the Drizzle, the smart contract has been deployed to the local ganache client.![image](https://user-images.githubusercontent.com/5169927/161248043-b3c15370-3c99-4196-b6f3-878ed15731fc.png)
One thing - why is drizzle trying to connect to port# 8545. The ganache client is running on 9545.
1) drizzleOptions.js