@ayanworks/polygon-did-registry-contract 2.0.1-alpha.1 → 2.0.1-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/truffle-config.js CHANGED
@@ -17,53 +17,52 @@
17
17
  * phrase from a file you've .gitignored so it doesn't accidentally become public.
18
18
  *
19
19
  */
20
- const HDWalletProvider = require("@truffle/hdwallet-provider");
21
- require('dotenv').config()
20
+ const HDWalletProvider = require('@truffle/hdwallet-provider')
21
+ require('dotenv').config()
22
22
 
23
- module.exports = {
24
- /**
25
- * Networks define how you connect to your ethereum client and let you set the
26
- * defaults web3 uses to send transactions. If you don't specify one truffle
27
- * will spin up a development blockchain for you on port 9545 when you
28
- * run `develop` or `test`. You can ask a truffle command to use a specific
29
- * network from the command line, e.g
30
- *
31
- * $ truffle test --network <network-name>
32
- */
33
- networks: {
34
-
35
- development: {
36
- host: "127.0.0.1", // Localhost (default: none)
37
- port: 8545, // Standard Ethereum port (default: none)
38
- network_id: "*", // Any network (default: none)
39
- },
40
- matic: {
41
- provider: function () {
42
- return new HDWalletProvider(process.env.SIGNER, process.env.RPCURL);
43
- },
44
- network_id: '80001',
45
- },
46
- matic_mainnet: {
47
- provider: function () {
48
- return new HDWalletProvider(process.env.SIGNER, process.env.RPCURL);
49
- },
50
- network_id: '137',
51
- }
52
- },
53
-
54
- // Set default mocha options here, use special reporters etc.
55
- mocha: {
56
- // timeout: 100000
57
- },
58
-
59
- // Configure your compilers
60
- compilers: {
61
- solc: {
62
- version: "0.8.16", // Fetch exact version from solc-bin (default: truffle's version)
63
- }
64
- },
65
-
66
- db: {
67
- enabled: false
68
- }
69
- };
23
+ module.exports = {
24
+ /**
25
+ * Networks define how you connect to your ethereum client and let you set the
26
+ * defaults web3 uses to send transactions. If you don't specify one truffle
27
+ * will spin up a development blockchain for you on port 9545 when you
28
+ * run `develop` or `test`. You can ask a truffle command to use a specific
29
+ * network from the command line, e.g
30
+ *
31
+ * $ truffle test --network <network-name>
32
+ */
33
+ networks: {
34
+ development: {
35
+ host: '127.0.0.1', // Localhost (default: none)
36
+ port: 8545, // Standard Ethereum port (default: none)
37
+ network_id: '*', // Any network (default: none)
38
+ },
39
+ matic: {
40
+ provider: function () {
41
+ return new HDWalletProvider(process.env.SIGNER, process.env.RPCURL)
42
+ },
43
+ network_id: '80001',
44
+ },
45
+ matic_mainnet: {
46
+ provider: function () {
47
+ return new HDWalletProvider(process.env.SIGNER, process.env.RPCURL)
48
+ },
49
+ network_id: '137',
50
+ },
51
+ },
52
+
53
+ // Set default mocha options here, use special reporters etc.
54
+ mocha: {
55
+ // timeout: 100000
56
+ },
57
+
58
+ // Configure your compilers
59
+ compilers: {
60
+ solc: {
61
+ version: '0.8.16', // Fetch exact version from solc-bin (default: truffle's version)
62
+ },
63
+ },
64
+
65
+ db: {
66
+ enabled: false,
67
+ },
68
+ }