mirror of https://gitlab.com/ecentrics/concordia
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
510 B
14 lines
510 B
// Check out the documentation: https://truffleframework.com/docs/drizzle/reference/drizzle-options
|
|
import { contracts } from 'concordia-contracts';
|
|
import web3Options from './web3Options';
|
|
import appEvents from '../constants/contracts/events';
|
|
|
|
const drizzleOptions = {
|
|
web3: web3Options,
|
|
contracts,
|
|
events: { ...appEvents },
|
|
reloadWindowOnNetworkChange: true,
|
|
reloadWindowOnAccountChange: true, // We need it to reinitialize breeze and create new Orbit databases
|
|
};
|
|
|
|
export default drizzleOptions;
|
|
|