dkg.js 6.3.0 → 6.4.0
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/constants.js +5 -0
- package/dist/dkg.min.js +1 -1
- package/examples/paranet-demo.js +254 -0
- package/index.js +2 -0
- package/managers/asset-operations-manager.js +74 -14
- package/managers/paranet-operations-manager.js +552 -0
- package/package.json +2 -2
- package/services/blockchain-service/blockchain-service-base.js +277 -10
- package/services/blockchain-service/implementations/node-blockchain-service.js +1 -1
- package/services/input-service.js +81 -1
- package/services/utilities.js +1 -3
- package/services/validation-service.js +148 -3
package/constants.js
CHANGED
|
@@ -64,6 +64,10 @@ const BLOCKCHAINS = {
|
|
|
64
64
|
},
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
+
const INCENTIVE_TYPE = {
|
|
68
|
+
NEUROWEB: 'Neuroweb',
|
|
69
|
+
}
|
|
70
|
+
|
|
67
71
|
const BLOCKCHAINS_RENAME_PAIRS = {
|
|
68
72
|
hardhat1: 'hardhat1:31337',
|
|
69
73
|
hardhat2: 'hardhat2:31337',
|
|
@@ -225,6 +229,7 @@ module.exports = {
|
|
|
225
229
|
ASSERTION_STATES,
|
|
226
230
|
CONTENT_TYPES,
|
|
227
231
|
GET_OUTPUT_FORMATS,
|
|
232
|
+
INCENTIVE_TYPE,
|
|
228
233
|
ASSET_STATES,
|
|
229
234
|
STORE_TYPES,
|
|
230
235
|
GRAPH_LOCATIONS,
|