23 lines
438 B
JavaScript
23 lines
438 B
JavaScript
|
const { GSNDevProvider } = require('@openzeppelin/gsn-provider');
|
||
|
|
||
|
module.exports = {
|
||
|
accounts: {
|
||
|
ether: 1e6,
|
||
|
},
|
||
|
|
||
|
contracts: {
|
||
|
type: 'truffle',
|
||
|
},
|
||
|
|
||
|
setupProvider: (baseProvider) => {
|
||
|
const { accounts } = require('@openzeppelin/test-environment');
|
||
|
|
||
|
return new GSNDevProvider(baseProvider, {
|
||
|
txfee: 70,
|
||
|
useGSN: false,
|
||
|
ownerAddress: accounts[8],
|
||
|
relayerAddress: accounts[9],
|
||
|
});
|
||
|
},
|
||
|
};
|