-
Notifications
You must be signed in to change notification settings - Fork 0
/
redspot.config.ts
44 lines (41 loc) · 1.04 KB
/
redspot.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import { RedspotUserConfig } from 'redspot/types';
import '@redspot/patract';
import '@redspot/chai';
import '@redspot/gas-reporter';
import "@redspot/decimals";
import "@redspot/explorer";
import * as types from './reference/additional-types.json'
const {AccountInfo, ...localTypes} = types;
const CONTRACTS = [ 'contracts/**/*' ];
export default {
defaultNetwork: 'development',
contract: {
ink: {
toolchain: 'nightly',
sources: CONTRACTS
}
},
networks: {
development: {
endpoint: 'ws://127.0.0.1:9944',
types: { ...localTypes } ,
gasLimit: '400000000000',
explorerUrl:
'https://polkadot.js.org/apps/#/explorer/query/?rpc=ws://127.0.0.1:9944/'
},
testnet: {
endpoint: 'wss://privisubstrate.com',
gasLimit: '400000000000',
accounts: ['//Alice'],
types: { ...localTypes } ,
},
ci: {
endpoint: 'ws://europa:9944',
types: { ...localTypes } ,
gasLimit: '400000000000'
}
},
mocha: {
timeout: 180000
}
} as RedspotUserConfig;