{"_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","_rev":"18-6e464374f1b9204cacd9acf69e187c06","name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","dist-tags":{"latest":"0.9.4","scope-changed":"0.7.1-scope-changed.2eda5046.6"},"versions":{"0.6.1":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.6.1","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.6.1","@elenaizaguirre/cactus-core":"0.6.1","@elenaizaguirre/cactus-core-api":"0.6.1","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.6.1","@elenaizaguirre/cactus-test-tooling":"0.6.1","@types/express":"4.17.8"},"gitHead":"afe776dc0da4ee0ca0c55477a434a9fcbb560920","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.6.1","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-FzZcAlYz45DL7cTodzTcY+1t+VR7QshhqRzHM3d857rX7P0AEWWMmLZYXZt9ir3+q9v6GDy8PGGTXtnHb22QRg==","shasum":"6644f732eea1ae24173dd13a2ff6f6a550c0b96d","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.6.1.tgz","fileCount":57,"unpackedSize":8918709,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCPX4CRA9TVsSAnZWagAAnlgP/i3L2bzlxNV0ydjFe6Nv\nfyVtzL25mkeNhwUeylmleYW4NNLbmHrZbuQ22SVqnh1UqOn3mMZyGacglKPz\nx+db9fBgZsQeKrSov9B2cdSma+rcZKfeQwH+8CTIrQ8zUfO2Z+3HccUxATjU\nPiskF7ah8ea9c5oCfX7+wzVyTNdDFLTUoLBeieIfPHN/yYrx34eCieXnJ5of\n0Z60u3LVjZiZCSMMIeqV0JiFkgsEIySxRwElW5rS/AW0v0SKS9tBJoXbku4K\n7dqMfNruBl9bmf7JLQETA0YlicBW2PAOE52vY1a0nzSy9FuwYFhQGZ6xbuNf\ntEWMGMou7nzMImM+96lL4Tmau8fq5YS9ElHj24Dqo43DdJ78L/IXUYIAoYXf\n9RrRXXu3l2euX5buKXI0G1jIurbM6mb7VcfhoPMqxK8FyzznrJDnBaF1IRkb\nu7nT0jss+7T3pf7NiuRTE/4NabCMUgtmw6DcF3OcUxteSabl+sZiyShgkvoZ\nadBE3S/UfsZiSqn0zG9yRaW9zMFayAv+EPPyyg79UFTh6dYOfhqZu1Eie9ot\netRFDIRhzh565Z0IAIekh1H/0bLzGeFHMgCvSV/WHXv7YUI9Ft88cdvPBvaq\n7KOnk3vzlf0rE+C2mSQXwOrfnkp3xTdbfHVlsAM6e59rngDWJMpzszG1ooX8\nPIru\r\n=K7Bw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF0VnL9+/p6f0b5EkBaFb9dym5Irxxifn8mHSXP7/PIBAiAXlSv/k4OjQDNZx8bOq044QU3B6MsMsZBtSxEDZgnTzA=="}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.6.1_1627977208500_0.20144891796034337"},"_hasShrinkwrap":false},"0.6.3":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.6.3","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.6.3","@elenaizaguirre/cactus-core":"0.6.3","@elenaizaguirre/cactus-core-api":"0.6.3","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.6.3","@elenaizaguirre/cactus-test-tooling":"0.6.3","@types/express":"4.17.8"},"gitHead":"3255c453b21c5900a90436d6124482f43778e70e","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.6.3","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-cSuvvrlHOW1a3WFfYIQCuy2X1VBukTfGB6mbmT54TFCUE72+aOHUmXnQfYK05ylDuo/nBSEtFRCOlztZWZoA8A==","shasum":"0a20b82459efbc8587a72954b0ed36c78ac804a4","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.6.3.tgz","fileCount":57,"unpackedSize":8919394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEM78CRA9TVsSAnZWagAACjAP/0FjL1+N6mBW+krxxhCc\nhUoeubsuBp3EajzLWV0lDrTda47+S2nYxeu9EJbaxcu7I6uFwfql64b9bQEz\ntLHDXZiRpXoX+pcOlR3r0Gj12WdB3MWZ1k1fYS0VBRoLTRVK7qAspP/TR17l\nNluaa533VEoLlMzfqDPO2qRZ6RQHLWghtAnVZfo1/ugTUw822PJL8kJ3bxoG\nnwCnYg/OktytOjANvhlqy25fbWTZ/h8V22k7GF3eVGPLtpewZxIs/lPRysiS\nwC++/ydYevF9cApNRRc1+vJ7qoP0s4Q/ALsVJIUi2HCBnrYU9BvuzlH1BEEf\nKh7GJgaJsXGiSbw67yM9D6HW2ZvDbxPo6bDa8mXnZK4ZIoU5k0TVnEf/CNig\n8GWSR6I8vZdXvkmxaESMJZBh9PXH6qnJ8YOp4UEliDE43JICswH2wPFIuvDp\n5C+xJz94qb4K4kzvfD4Xloc6jvxBLPRR04Zd00utcN4VtvMh2GJ/MHrUybK8\nQHs2ex/+Qcwzja7+IzA9Y9o/qp/zbgmrEqk4xVGIzMfAHl137EDv7lWRCVdf\n4LSjiijj0UwJQSIJEXgmeQiIxvO0jXyEzOb2gfC9tDcxF6nYLNQpF94f4iDM\ntb/C7WpKNx5KgTRVO++g0bXyGqvdSESmihsLskKE9Mdx9WGA80radrsafVR/\n0J1B\r\n=k1p7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHnb9tnb46+HfAYVmADqQSf/R8NpX4PyDjZeoK/LkqGEAiEAsdbWMPtFRER7IYb0WY6d9HDFz/89IhvSZ+crrRM31As="}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.6.3_1628491515891_0.4439936333601424"},"_hasShrinkwrap":false},"0.6.4":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.6.4","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.6.4","@elenaizaguirre/cactus-core":"0.6.4","@elenaizaguirre/cactus-core-api":"0.6.4","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.6.4","@elenaizaguirre/cactus-test-tooling":"0.6.4","@types/express":"4.17.8"},"gitHead":"ed7600489eb811e4114c57ec255a41c71538934d","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.6.4","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-KvGRt/w3WwNQRpJBK8ktMPU1rfotFBAO9zxdGwJ/CU7xQcXXIsLSm0FRtyPgs5MI6IhtJlFasaC51qVZMnk9AQ==","shasum":"475f2c7094751c81fec81989ec907a3d0c702280","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.6.4.tgz","fileCount":57,"unpackedSize":8919394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhENC6CRA9TVsSAnZWagAANbwP/1pYxzw/XR7dHYvMtui9\nT0dVDS4+eKpiPoyyzSswIqy6FFPrhFI9ghuJPz70xcqnFN0wkQIKycR4Th9K\nyegHeOOVc27zrSWUX978Sbdy6DP6l9e3HkE9ydeH55fLIof7nFf8sFrWYw71\nTHXNe+iyvph0GZR/IsKoIQ4RwxMXYPhoJ16Tk1FKWo3SVRAjlpp4JRkIluJK\nszJmbht5IDRLufBNSazHGCgJ0JS5YfPHApFk3g7vq2Khx1l6kpfDlezHScPA\njGt2BTpAswb9sKYZavog9dY+Xyen7I19MaexCiJJU+2TWuIsRbjJCgwc+vPC\nbR8OpcuUVEvfOstOMSHxrwcRGCirBFdXue3tw+SNgLscvuCwIujQYJRP49a0\nEO45lJe67bMqZcyB6Qc7DGCg8q5HxcEczfnLkBe6lWLBO+1u4R8/vio9OA6E\n+DLPvrhk2FGUV/P6XxzjXlPSNg0b8iv/aw82Qei0HeBZCbXJjTtpS/YRlDSt\nO6SGwxv7rfpkA44ZHjLOdyzIWrSWYHJAOAsv6sbyU0MIREIx9V+/MjEz32NH\ny9jNJUEw5YLZ7E/F/rzlCmWAhnfky42qMleqXyunGKdcC9oFoDoLXrLLNXnr\noWruF4HXzViS8xmW/Uzb0vpXj0zuktXbVhn5RVKINsiOykimT2QE0S0LlQBh\negY6\r\n=2PRz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICBrhvk2JfSVl/i4mdqDxOFy2RVJWJCh8ASMBe9c8FAjAiEA23i2+qjUqCdjH9eT4ie6N8MNj3N71O+nGaSi30Myut4="}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.6.4_1628491962584_0.16006905252333037"},"_hasShrinkwrap":false},"0.6.5":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.6.5","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.6.5","@elenaizaguirre/cactus-core":"0.6.5","@elenaizaguirre/cactus-core-api":"0.6.5","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.6.5","@elenaizaguirre/cactus-test-tooling":"0.6.5","@types/express":"4.17.8"},"gitHead":"b1a024148ba6fd87bcfe1a41a0970830798d6e91","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.6.5","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-6SD4w7hfesTb7hAPqqmyb7qt53tHFz4t8m7BlBMDsgskNRnVzJZIZrNC+HIpSYR9fWvNLPoHxMUxOCpc3t0mvA==","shasum":"5ab97125afeab70f0ae577bd4a67665fdc6aeea8","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.6.5.tgz","fileCount":57,"unpackedSize":8919394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhENo6CRA9TVsSAnZWagAA+yQP/11fgUFPSexSLPCXYDT3\npqxvOXRUusWDaDFSdCPwu8tflJYg0lQ3QEnELYZ2orkzOcAY3xyJX3SjJW8N\nlkUvX48bYa+seOI+PaDHAlUUTVv0LwCkIZT8p1YpOKxemYRndwy0Hyrjr9En\nsNZjTIYEPYKCevmlqWO9K51RMSabjZz4cxTYb5Ql7W83hVZP9dm2JSJupVZt\n18enX8C1Vz6SEhMGXt7re3O7EuvcoJlTO1j3yETkCgzDQBkvCyZhXUDsfYk+\nLNFxF+f1nGQRuoS4h0+hPq3C7D1EBKY44jvJSIMZzU2T4/wxpSQ/gIVcQ5BF\nr/Tkpa5o3wfVZ1/2hD7nz2iLVkCAZ9frNZkArJqsGaAVAp1NyzpmFAu1Smp0\nEqwlZIXO8QP+wS/JeONrN5FxoWoV0I746Q52m9SBq9g0VlO4V/KGbBQxQheH\nqmHa8kjEOY9q//v/9kOZ2hXPhVOSsmP8lIANifHL+30U/KaCSWX5rCIBiUG1\nAi1Se4YpLbT+KiRmPb2GGhIxJwZrbi3Q/bbHsZBu/TKISHI23Auov3i+op9y\n0n31tPWdPbM/3xdJB0z3a8zxTZ5pjyV6plAlxwLrvCYgb8jr51VhFdbfi5ZQ\nVAcH/xPScLCZ0d2ky/g3Uofa+Foyg4kgGHhY0gef1qeiXVCnBBEcyuP/vGjQ\nvPPr\r\n=FJI4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBr+qRZrnBoKAcvTBNoaeY8cVXd7sqmKq7boSqYDq13JAiEA+TNTVST9nGpb5iGbDgDhobFa5UzgeEn/vg/r51wZNc8="}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.6.5_1628494394220_0.12589947595355722"},"_hasShrinkwrap":false},"0.6.6":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.6.6","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.6.6","@elenaizaguirre/cactus-core":"0.6.6","@elenaizaguirre/cactus-core-api":"0.6.6","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.6.6","@elenaizaguirre/cactus-test-tooling":"0.6.6","@types/express":"4.17.8"},"gitHead":"faa1059634d121fdc5f43e5afa3640bbd8c25b49","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.6.6","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-ke0XT6YkivJVWF+DNApdl8I50e/gExoDiCkp16Wh0tb+aGZYE5Uc4TRLrmLl1ZDmB5yysqERSYu4rirCANuZPA==","shasum":"e18f0ff76b1405e507a947683e8e5e4dcaf760d7","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.6.6.tgz","fileCount":57,"unpackedSize":8919394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEOF8CRA9TVsSAnZWagAAwMsP/j88r5i5umsCSr9FaV5u\njvb/pN+ozoqxi4wPAt8oTldWXTsQdaCnbV8TSrYjC88hfC9U5Fi7kZQtaq0a\n5LunKFVUXlaaEVPcR/QNcmp49zS+Oj6bmLuqdqkM2+9lCBWHb4GjOOfyoycz\nyQMKYk8ZLXjNPVtJ5yfAv3xdj6MIEMiWoXFcRYzV5b6x3c+sQTbveUZZGVYi\nn6RnLOQ9uwv6sW8hXzhR9VTtoTfX/2htTXMrJUvznR6UYCCOWjYb58L0cdyn\nmEmMI/M6c1EIyPxfhPSRTR2pooQu+80+9r8b29CaseeKNlbwgAJ7KtSvU89l\nD9msJfz9wiLpMWg+f/oILxXdrUY0J0Ffgx7qp/DLFW3/Ar8rr1O/FHYWnvFp\niXmWTwbMoB5zt5L7zhvffJzY9zKmyGM2MglhN3yqNm+8l7IhrEX8VpQRUtVw\np7/uLSLRxs/GC2u5wpfd/b80HZQbGSozA+V+Xy8pdSU7glNNbaBUBZSJoNDW\n7YprEfIXedadOfmpqAwBeVXG6Xaf6lQ81+2CX8yr2IOUBn+uX3gWYX79cWIF\niRb4MQdFRWgzQOwekHs9fksEf5mLinHvAo2z7W3IzqWzZRcc6PfPjunBBxVy\nQ8oyfhBpEMl+txq3x75PlUBcFEW8iQRBHrTxGw5FjcS/mcAZ/wbj8S9oa57r\nQoHH\r\n=mFSr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHlkA+WdQPqSHinDsM+DeSMZ3ZngmBBgeq302PJYZ198AiEAt28vVt1228ghpPX3cSGGxiPdWAAg81n6pz3NvQ5ut90="}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.6.6_1628496252524_0.43775889378034005"},"_hasShrinkwrap":false},"0.6.7":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.6.7","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.6.7","@elenaizaguirre/cactus-core":"0.6.7","@elenaizaguirre/cactus-core-api":"0.6.7","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.6.7","@elenaizaguirre/cactus-test-tooling":"0.6.7","@types/express":"4.17.8"},"gitHead":"06570ef0999623cc028b7113f09ac710f6443f93","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.6.7","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-0pDcGKUzcusz4KclzsXHp2N2V5Xu7IdEpDP4OucDCGoUrFpvKiNuz256HhvPJfS2MzSLfp9AHPETMsS+z676rw==","shasum":"9e7cb31a4978b7d6f6ee959ccc202afb1971c50f","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.6.7.tgz","fileCount":57,"unpackedSize":8919394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEPF8CRA9TVsSAnZWagAAVz8P/jDp3zXjOoixTfv3xl7n\nJSp2UWwLNIeBRVpym0zBcxnzDjAzCCLE895UP+izI1Q0+gKOEXWBLi+WYi70\nZIaRK3QdFwCGt+HjtLBPb4v5chj5feksiWhj9f32RTMlB1EJpJK0DomgI9Qu\nZG0JzVesKXqUF7TFfeAKeg0oNRWaUpOHTq6v7Z9CRed04FGZNbxgrJzOOe/1\nTObdujbEumh1gl+2ANb8SXdFSl6VSTUBfoDZezS+hc6fG3+SlDuSXEMpBjq3\nYvre0hrP56eRkQdBne6gJy72qyYV35o9lLJaOD7BBOpGIJQrwTSpwsLewcq3\nLP3N2qzA/loHU+rMj5nyFAHK4Icj5iDhttD21/GH1O12VKeUyh0jnYj9N4DP\nAetcSdGjRtf5YloywJ0Z7MB+BogD4PCkQ2Q1qr2lIFCFVUTPONokkjbf6ugC\ny6tlM7f/IHy4+T43CuAC7azCHAHEp9kLDiRCW+OA7cp9Q6dK3oI34ipOIULv\n/9lai0WuVwUdgeHzIhISy/Q7d3KTyCPoqQcgNlxX1jemyHY2gzgIubjd8EGQ\n0sSQA1/uVJDanb0OJLIrp0zyy9UPm8la8ovW2z0JNXgibA05cB3OlMkqeX2Y\nVwkn3WULKviOzqBuSOMoTm0QwVvMSo9Zo+0wwn0pPEepcs/8V978Fj7bbHwN\ns3hF\r\n=kztm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIALSQtseRlCPX6hmw0OBoC6g5Fn59LilnJPrXEwL5oN/AiEA3kC3mJ6Nn9A2uAGbI65Y6K6jd0gwPmyF4X/N01D8S9Y="}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.6.7_1628500348528_0.1326300466279886"},"_hasShrinkwrap":false},"0.6.8":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.6.8","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.6.8","@elenaizaguirre/cactus-core":"0.6.8","@elenaizaguirre/cactus-core-api":"0.6.8","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.6.8","@elenaizaguirre/cactus-test-tooling":"0.6.8","@types/express":"4.17.8"},"gitHead":"91cec1e5c803270d3649a2954d824af610ed0eb9","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.6.8","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-cTO1hUFRak5om7Gad/cCHoGzg8mZiz3ARhigKJNl78XJmyo/hyNhxs7aZ3rd7DJVaQ0Mbrh/h2GMc19WEIbYcQ==","shasum":"755b0e74a697291afe391d5d530a3b10f4218fa1","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.6.8.tgz","fileCount":57,"unpackedSize":8919394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEP5QCRA9TVsSAnZWagAANKgP/RkT2eSmi9OV5SRBgob4\n2lC6/3PZtNqycfLdNGO4hJFajnXJQasF0bD9vX5X0oMEWt/v/QXy9O4ASWuL\nbmi0X1rYzjLRbn57PKtfjFfsf73Mv4Yx7g+wG2V+P5LJnwZDwVQ/lQ1OQI4W\nqNEju54HtbPMLSMr9DzVSl7018bS2XzPnZZMCH5j5zDNUYjg9TAIhav584r7\nqFatBYEMXTFKug99+Z0TPSWLtEKpk+/Pck35ziD+vhJNo+6tE4yUvj1n0Rfy\nM5KADmW5lwt/z2d21fyLGhOoi28vn4KtCM9AlUp0WSw+BLAEoPlMv3Vq5yO9\nIRx1TEzn3n2UUYE8EKvPCWRjDr8vecUUeo5dRFcA4JIetlBPTPa/oqHsM7wZ\nHH0z9gfCnc4vOfy51HdPC6x8arYuoJpAQZb29w2DR/xAt/3IaZzeMZeeasNq\nyhVd6wcukQOc9uW21cGOLcpYvFcK5vNbLoJTLQi9Tyt2kN9DZk8u7JsStrlb\ng18xdSxkzBPpbiquWYb1fy7wlmeEs3m4zzVM2zzgmD8K/az8Udl+sDdBSRY3\nQ738X4Ss6dctxbdIjAsDY09kd31zWxe7G3RkGObBRhwIOy9IlfNfzxoRfgPa\nhqyljtitQqplolbJoHyVRkt6txTwSCnraXBUQlUX6NF/0jGamxSRcKZuB3bs\nBHOs\r\n=hVV/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCseK5ozhHQ7In+sSXbNvUWUPoBPu+uRV5eLaV5E8VjegIhAOeyzZeUd1UExynaTTzHHmsW3e1AJt5yrQsoVjl57j0G"}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.6.8_1628503631771_0.03937770787983408"},"_hasShrinkwrap":false},"0.6.9":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.6.9","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.6.9","@elenaizaguirre/cactus-core":"0.6.9","@elenaizaguirre/cactus-core-api":"0.6.9","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.6.9","@elenaizaguirre/cactus-test-tooling":"0.6.9","@types/express":"4.17.8"},"gitHead":"3363b29413ac58d71472d84a81c64da323958950","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.6.9","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-w4uq/XvMcQjfs1be1+pdfZa8+7S6FK02jTDns7er3Q5g7b1RXJ0ym8J5ytvmz+j+I6MQ2LCajHNGj/2fLi2U6A==","shasum":"1d7a3dacd941b06077fafe688c3360e301373f55","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.6.9.tgz","fileCount":57,"unpackedSize":8922570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhE2ohCRA9TVsSAnZWagAAGMQQAJaqHfZQQ7UkUk61K2ii\nl4WLl061DtfKkn1wSjVrqEcxK2AbMiu2wPSZ4QSCJJL3YV9dhv5HgcpaIwnn\n29cMlcxMlonAv+S9efZDiRDVeTC+0y8WucZHKyGKXs+pQFxtc6SSv3IYcMZE\nK8XpKRdh44MqKW4mdjvck9BF7AuTWOqX+zLrxh2mpSvRjHmJxnLcoBgDDbzM\nXtyYZm1mgwL9A+ca8EO8rdlcAaycueWphzoeNWKrEHqMPSGHuTItOduRTKsi\nJ8inlbQhicll76vPhBeQW0YQdEB5MD+OxG/Wxar4DyQNuLPwkkeuUCHeYPFF\nFYfdFPOm0OiUJ++hJwX7HGzevMYKQs8cZavmSfHkpTeC8mBiqidpRQYHN/34\nvP/d+rU3V9mu5ZMO20/PNGYe9P+N2DD8ATlc4zSi+bz3EC53xRXgHY+sjSXb\nv0xYs3LEFX9Yz2vfkYoOir/p4nVIRelOUk9VXhOPbUawLytwkX29ovmAkiSL\nZzUQL5Wo1Qd3b1+/j1FzJXeLvhPvUWan1w+lu33Jvob6SvNC8uSFJI70Orx6\ns5KuI4P9kTzP+zZh0/UvkVMBadWPu/nxiwYK/R1JPWaqQp9s2KlMakIEP4Ps\niIYRoWeBXGGdG+U432XtfjlQ6/WL/BCgZE9gmPPdkzMECSudwwU/61Lt6RnF\nG6/I\r\n=jUqR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFEgngEOGX/AQJmZVdRt6Qi1Euh6pMGzs/d3cqRwtUScAiBP9pFH+siCbyPXAafhLYRrjvW+qEH/GorprKiC23RX/Q=="}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.6.9_1628662304981_0.3462896926140482"},"_hasShrinkwrap":false},"0.7.1-scope-changed.ab167ba4.5":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.7.1-scope-changed.ab167ba4.5","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"^0.7.1-scope-changed.ab167ba4.5+ab167ba4","@elenaizaguirre/cactus-core":"^0.7.1-scope-changed.ab167ba4.5+ab167ba4","@elenaizaguirre/cactus-core-api":"^0.7.1-scope-changed.ab167ba4.5+ab167ba4","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"^0.7.1-scope-changed.ab167ba4.5+ab167ba4","@elenaizaguirre/cactus-test-tooling":"^0.7.1-scope-changed.ab167ba4.5+ab167ba4","@types/express":"4.17.8"},"gitHead":"ab167ba4bf35f442884a56b3cc43ff8a71f78e60","readme":"# `@hyperledger/cactus-plugin-ledger-connector-xdai`\n\nThis plugin provides `Cactus` a way to interact with Xdai networks. Using this we can perform:\n* Deploy Smart-contracts through bytecode.\n* Build and sign transactions using different keystores.\n* Invoke smart-contract functions that we have deployed on the network.\n## Summary\n\n  - [Getting Started](#getting-started)\n  - [Architecture](#architecture)\n  - [Usage](#usage)\n  - [Prometheus Exporter](#prometheus-exporter)\n  - [Runing the tests](#running-the-tests)\n  - [Built With](#built-with)\n  - [Contributing](#contributing)\n  - [License](#license)\n  - [Acknowledgments](#acknowledgments)\n\n## Getting Started\n\nClone the git repository on your local machine. Follow these instructions that will get you a copy of the project up and running on\nyour local machine for development and testing purposes.\n\n### Prerequisites\n\nIn the root of the project to install the dependencies execute the command:\n```sh\nnpm run configure\n```\n\n### Compiling\n\nIn the project root folder, run this command to compile the plugin and create the dist directory:\n```sh\nnpm run tsc\n```\n\n### Architecture\nThe sequence diagrams for various endpoints are mentioned below\n\n#### run-transaction-endpoint\n![run-transaction-endpoint sequence diagram](docs/architecture/images/run-transaction-endpoint.png)\nThe above diagram shows the sequence diagram of run-transaction-endpoint. User A (One of the many Users) interacts with the API Client which in turn, calls the API server. API server then executes transact() method which is explained in detailed in the subsequent diagrams.\n![run-transaction-endpoint transact() method](docs/architecture/images/run-transaction-endpoint-transact.png)\nThe above diagram shows the sequence diagraom of transact() method of the PluginLedgerConnectorXdai class. The caller to this function, which in reference to the above sequence diagram is API server, sends RunTransactionV1Request object as an argument to the transact() method. Based on the type of Web3SigningCredentialType, corresponsing responses are sent back to the caller.  \n![run-transaction-endpoint transactCactusKeychainRef() method](docs/architecture/images/run-transaction-endpoint-transact-cactuskeychainref.png)\nThe above diagram shows transactCactusKeychainReference() method being called by the transact() method of the PluginLedgerConnector class when the Web3SigningCredentialType is CACTUSKEYCHAINREF. This method inturn calls transactPrivateKey() which calls the signTransaction() method of web3 library. \n![runtransaction-endpoint transactPrivateKey() method](docs/architecture/images/run-transaction-endpoint-transact-privatekey.png)\nThe above diagram shows transactPrivateKey() method being called by the transact() method of the PluginLedgerConnector class when the Web3SigningCredentialType is PRIVATEKEYHEX. This method then calls the signTransaction() method of the web3 library.\n![run-transaction-endpoint transactSigned() method](docs/architecture/images/run-transaction-endpoint-transact-signed.png)\nThe above diagram shows transactSigned() method being called by the transact() method of the PluginLedgerConnector class when the Web3SigningCredentialType is NONE. This method calls the sendSignedTransaction() of the web3 library and then calls pollForTxReceipt() method.\n![run-transaction-endpoint pollForTxReceipt() method](docs/architecture/images/run-transaction-endpoint-transact-pollfortxreceipt.png)\nThe above diagram shows pollForTxReceipt() method which is called by the transactSigned() method as described in the previous sequence diagram. This method waits for the block confirmation in a loop and then sends the corresponding response back to the caller.\n\n### Usage\n\nTo use this import public-api and create new **PluginFactoryLedgerConnector**. Then use it to create a connector.\n```typescript\nconst factory = new PluginFactoryLedgerConnector({\n    pluginImportType: PluginImportType.LOCAL,\n  });\n  const connector: PluginLedgerConnectorXdai = await factory.create({\n    rpcApiHttpHost,\n    instanceId: uuidv4(),\n    pluginRegistry: new PluginRegistry(),\n  });\n```\nYou can make calls through the connector to the plugin API:\n\n```typescript\nasync invokeContract(req: InvokeContractV1Request):Promise<InvokeContractV1Response>;\nasync transactSigned(rawTransaction: string): Promise<RunTransactionV1Response>;\nasync transactPrivateKey(req: RunTransactionV1Request): Promise<RunTransactionV1Response>;\nasync transactCactusKeychainRef(req: RunTransactionV1Request):Promise<RunTransactionV1Response>;\nasync deployContract(req: DeployContractV1Request):Promise<RunTransactionV1Response>;\nasync signTransaction(req: SignTransactionRequest):Promise<Optional<SignTransactionResponse>>;\n```\n\nCall example to deploy a contract:\n```typescript\nconst deployOut = await connector.deployContract({\n  web3SigningCredential: {\n    ethAccount: firstHighNetWorthAccount,\n    secret: xdaiKeyPair.privateKey,\n    type: Web3SigningCredentialType.PRIVATEKEYHEX,\n  },\n  bytecode: SmartContractJson.bytecode,\n  gas: 1000000,\n});\n```\nThe field \"type\" can have the following values:\n```typescript\nenum Web3SigningCredentialType {\n    CACTUSKEYCHAINREF = 'CACTUS_KEYCHAIN_REF',\n    GETHKEYCHAINPASSWORD = 'GETH_KEYCHAIN_PASSWORD',\n    PRIVATEKEYHEX = 'PRIVATE_KEY_HEX',\n    NONE = 'NONE'\n}\n```\n> Extensive documentation and examples in the [readthedocs](https://readthedocs.org/projects/hyperledger-cactus/) (WIP) \n\n## Prometheus Exporter\n\nThis class creates a prometheus exporter, which scrapes the transactions (total transaction count) for the use cases incorporating the use of Xdai connector plugin.\n\n### Prometheus Exporter Usage\nThe prometheus exporter object is initialized in the `PluginLedgerConnectorXdai` class constructor itself, so instantiating the object of the `PluginLedgerConnectorXdai` class, gives access to the exporter object.\nYou can also initialize the prometheus exporter object seperately and then pass it to the `IPluginLedgerConnectorXdaiOptions` interface for `PluginLedgerConnectoXdai` constructor.\n\n`getPrometheusMetricsV1` function returns the prometheus exporter metrics, currently displaying the total transaction count, which currently increments everytime the `transact()` method of the `PluginLedgerConnectorXdai` class is called.\n\n### Prometheus Integration\nTo use Prometheus with this exporter make sure to install [Prometheus main component](https://prometheus.io/download/).\nOnce Prometheus is setup, the corresponding scrape_config needs to be added to the prometheus.yml\n\n```(yaml)\n- job_name: 'xdai_ledger_connector_exporter'\n  metrics_path: api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/get-prometheus-exporter-metrics\n  scrape_interval: 5s\n  static_configs:\n    - targets: ['{host}:{port}']\n```\n\nHere the `host:port` is where the prometheus exporter metrics are exposed. The test cases (For example, packages/cactus-plugin-ledger-connector-xdai/src/test/typescript/integration/plugin-ledger-connector-xdai/deploy-contract/deploy-contract-from-json.test.ts) exposes it over `0.0.0.0` and a random port(). The random port can be found in the running logs of the test case and looks like (42379 in the below mentioned URL)\n`Metrics URL: http://0.0.0.0:42379/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/get-prometheus-exporter-metrics`\n\nOnce edited, you can start the prometheus service by referencing the above edited prometheus.yml file.\nOn the prometheus graphical interface (defaulted to http://localhost:9090), choose **Graph** from the menu bar, then select the **Console** tab. From the **Insert metric at cursor** drop down, select **cactus_xdai_total_tx_count** and click **execute**\n\n### Helper code\n\n###### response.type.ts\nThis file contains the various responses of the metrics.\n\n###### data-fetcher.ts\nThis file contains functions encasing the logic to process the data points\n\n###### metrics.ts\nThis file lists all the prometheus metrics and what they are used for.\n\n## Running the tests\n\nTo check that all has been installed correctly and that the pugin has no errors run the tests:\n\n* Run this command at the project's root:\n```sh\nnpm run test:plugin-ledger-connector-xdai\n```\n\n## Contributing\n\nWe welcome contributions to Hyperledger Cactus in many forms, and there’s always plenty to do!\n\nPlease review [CONTIRBUTING.md](../../CONTRIBUTING.md) to get started.\n\n## License\n\nThis distribution is published under the Apache License Version 2.0 found in the [LICENSE](../../LICENSE) file.\n\n## Acknowledgments \n","readmeFilename":"README.md","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.7.1-scope-changed.ab167ba4.5","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-lrdOpWZTRqIrY1JgKMPVGqrK6iMsa6heRRgRlaw8335Uv6zRhkiJi//pTZvhmu/WfoQL3UldrUoX/AnKyZXjNQ==","shasum":"aeca37946f837a6dfa3fae56a4491e4cd923f4cd","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.7.1-scope-changed.ab167ba4.5.tgz","fileCount":57,"unpackedSize":8922779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhE3k8CRA9TVsSAnZWagAAJTQP/iPb3NigKsZyuhfi/5D3\ndp2EmV457j2YyGHN2EWRPuyGMnRBOcG2ZYQVCd6Y+9DpauvUvDDEwCs5dzwO\n01TgfKZlzG8CTNseiA6OkIW+VwIHdpasxl/NNO1r5blBsdKQ20R6PzuRaDN8\n1BawVhuri/RHBv80Bqx07QZaa+upDeF5YA53rmMXzhN6wZEUOt0JUL8jDVfc\nsnF8VoyRx9hzHFXthRtX7JOAep6CbAdBP6tWhrpVL0vrLfZ4HV44jKOlnwMQ\nX/CXzHXbBu5MX81oSEK9K6Qfm5M6ItqsaxRIIELojFaQYWQ5O4WiCO3Jwrfr\nYn5AZR1u2bmz//VBNW+OmsFwYZlHaWkgK+nqNulwEBrKI1L/0DAM1a0dmJL9\nt0oPHVBccVjdT9yPHfWdKhmPHP6KpiL6JFI4T2OvFXMmNVi5JhGrIv1OESt9\nUvL2IbORfBp5kCjk2+8big/tYZZa2M6mGMObkZZM4/OUmfcedKMygSQFs2Ox\nfrPFSC4mWnK3KI6To7Qxi6uYgtt25kiLbluia1ooXLoLdDhLgSb2pjKKqE5v\nWqqgUEsFnT8Wlg8mCoXJuiNQD15V+FlFCBwPxWuQmaH/GZmNlRaL2bnDX5HG\njrnewePi0TSPoe/kJhWgO8XWihxX4xSx7pk4p/ws7yzrCVn9ukIbzuTAWHx6\nFhY3\r\n=P3SP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJNyW3iGsO6MMtsMxvhMXyArRCUqaIb+bNPcXmgylkJwIgSY8FsBAg3UZ4/7YCUXGtDxT6EIr4jB4IQkc1rja59zo="}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.7.1-scope-changed.ab167ba4.5_1628666172263_0.7137903115727191"},"_hasShrinkwrap":false},"0.7.1-scope-changed.2eda5046.6":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.7.1-scope-changed.2eda5046.6","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"^0.7.1-scope-changed.2eda5046.6+2eda5046","@elenaizaguirre/cactus-core":"^0.7.1-scope-changed.2eda5046.6+2eda5046","@elenaizaguirre/cactus-core-api":"^0.7.1-scope-changed.2eda5046.6+2eda5046","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"^0.7.1-scope-changed.2eda5046.6+2eda5046","@elenaizaguirre/cactus-test-tooling":"^0.7.1-scope-changed.2eda5046.6+2eda5046","@types/express":"4.17.8"},"gitHead":"2eda50462d834a7a74aeaa9e0d9784406ef05ebe","readme":"# `@hyperledger/cactus-plugin-ledger-connector-xdai`\n\nThis plugin provides `Cactus` a way to interact with Xdai networks. Using this we can perform:\n* Deploy Smart-contracts through bytecode.\n* Build and sign transactions using different keystores.\n* Invoke smart-contract functions that we have deployed on the network.\n## Summary\n\n  - [Getting Started](#getting-started)\n  - [Architecture](#architecture)\n  - [Usage](#usage)\n  - [Prometheus Exporter](#prometheus-exporter)\n  - [Runing the tests](#running-the-tests)\n  - [Built With](#built-with)\n  - [Contributing](#contributing)\n  - [License](#license)\n  - [Acknowledgments](#acknowledgments)\n\n## Getting Started\n\nClone the git repository on your local machine. Follow these instructions that will get you a copy of the project up and running on\nyour local machine for development and testing purposes.\n\n### Prerequisites\n\nIn the root of the project to install the dependencies execute the command:\n```sh\nnpm run configure\n```\n\n### Compiling\n\nIn the project root folder, run this command to compile the plugin and create the dist directory:\n```sh\nnpm run tsc\n```\n\n### Architecture\nThe sequence diagrams for various endpoints are mentioned below\n\n#### run-transaction-endpoint\n![run-transaction-endpoint sequence diagram](docs/architecture/images/run-transaction-endpoint.png)\nThe above diagram shows the sequence diagram of run-transaction-endpoint. User A (One of the many Users) interacts with the API Client which in turn, calls the API server. API server then executes transact() method which is explained in detailed in the subsequent diagrams.\n![run-transaction-endpoint transact() method](docs/architecture/images/run-transaction-endpoint-transact.png)\nThe above diagram shows the sequence diagraom of transact() method of the PluginLedgerConnectorXdai class. The caller to this function, which in reference to the above sequence diagram is API server, sends RunTransactionV1Request object as an argument to the transact() method. Based on the type of Web3SigningCredentialType, corresponsing responses are sent back to the caller.  \n![run-transaction-endpoint transactCactusKeychainRef() method](docs/architecture/images/run-transaction-endpoint-transact-cactuskeychainref.png)\nThe above diagram shows transactCactusKeychainReference() method being called by the transact() method of the PluginLedgerConnector class when the Web3SigningCredentialType is CACTUSKEYCHAINREF. This method inturn calls transactPrivateKey() which calls the signTransaction() method of web3 library. \n![runtransaction-endpoint transactPrivateKey() method](docs/architecture/images/run-transaction-endpoint-transact-privatekey.png)\nThe above diagram shows transactPrivateKey() method being called by the transact() method of the PluginLedgerConnector class when the Web3SigningCredentialType is PRIVATEKEYHEX. This method then calls the signTransaction() method of the web3 library.\n![run-transaction-endpoint transactSigned() method](docs/architecture/images/run-transaction-endpoint-transact-signed.png)\nThe above diagram shows transactSigned() method being called by the transact() method of the PluginLedgerConnector class when the Web3SigningCredentialType is NONE. This method calls the sendSignedTransaction() of the web3 library and then calls pollForTxReceipt() method.\n![run-transaction-endpoint pollForTxReceipt() method](docs/architecture/images/run-transaction-endpoint-transact-pollfortxreceipt.png)\nThe above diagram shows pollForTxReceipt() method which is called by the transactSigned() method as described in the previous sequence diagram. This method waits for the block confirmation in a loop and then sends the corresponding response back to the caller.\n\n### Usage\n\nTo use this import public-api and create new **PluginFactoryLedgerConnector**. Then use it to create a connector.\n```typescript\nconst factory = new PluginFactoryLedgerConnector({\n    pluginImportType: PluginImportType.LOCAL,\n  });\n  const connector: PluginLedgerConnectorXdai = await factory.create({\n    rpcApiHttpHost,\n    instanceId: uuidv4(),\n    pluginRegistry: new PluginRegistry(),\n  });\n```\nYou can make calls through the connector to the plugin API:\n\n```typescript\nasync invokeContract(req: InvokeContractV1Request):Promise<InvokeContractV1Response>;\nasync transactSigned(rawTransaction: string): Promise<RunTransactionV1Response>;\nasync transactPrivateKey(req: RunTransactionV1Request): Promise<RunTransactionV1Response>;\nasync transactCactusKeychainRef(req: RunTransactionV1Request):Promise<RunTransactionV1Response>;\nasync deployContract(req: DeployContractV1Request):Promise<RunTransactionV1Response>;\nasync signTransaction(req: SignTransactionRequest):Promise<Optional<SignTransactionResponse>>;\n```\n\nCall example to deploy a contract:\n```typescript\nconst deployOut = await connector.deployContract({\n  web3SigningCredential: {\n    ethAccount: firstHighNetWorthAccount,\n    secret: xdaiKeyPair.privateKey,\n    type: Web3SigningCredentialType.PRIVATEKEYHEX,\n  },\n  bytecode: SmartContractJson.bytecode,\n  gas: 1000000,\n});\n```\nThe field \"type\" can have the following values:\n```typescript\nenum Web3SigningCredentialType {\n    CACTUSKEYCHAINREF = 'CACTUS_KEYCHAIN_REF',\n    GETHKEYCHAINPASSWORD = 'GETH_KEYCHAIN_PASSWORD',\n    PRIVATEKEYHEX = 'PRIVATE_KEY_HEX',\n    NONE = 'NONE'\n}\n```\n> Extensive documentation and examples in the [readthedocs](https://readthedocs.org/projects/hyperledger-cactus/) (WIP) \n\n## Prometheus Exporter\n\nThis class creates a prometheus exporter, which scrapes the transactions (total transaction count) for the use cases incorporating the use of Xdai connector plugin.\n\n### Prometheus Exporter Usage\nThe prometheus exporter object is initialized in the `PluginLedgerConnectorXdai` class constructor itself, so instantiating the object of the `PluginLedgerConnectorXdai` class, gives access to the exporter object.\nYou can also initialize the prometheus exporter object seperately and then pass it to the `IPluginLedgerConnectorXdaiOptions` interface for `PluginLedgerConnectoXdai` constructor.\n\n`getPrometheusMetricsV1` function returns the prometheus exporter metrics, currently displaying the total transaction count, which currently increments everytime the `transact()` method of the `PluginLedgerConnectorXdai` class is called.\n\n### Prometheus Integration\nTo use Prometheus with this exporter make sure to install [Prometheus main component](https://prometheus.io/download/).\nOnce Prometheus is setup, the corresponding scrape_config needs to be added to the prometheus.yml\n\n```(yaml)\n- job_name: 'xdai_ledger_connector_exporter'\n  metrics_path: api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/get-prometheus-exporter-metrics\n  scrape_interval: 5s\n  static_configs:\n    - targets: ['{host}:{port}']\n```\n\nHere the `host:port` is where the prometheus exporter metrics are exposed. The test cases (For example, packages/cactus-plugin-ledger-connector-xdai/src/test/typescript/integration/plugin-ledger-connector-xdai/deploy-contract/deploy-contract-from-json.test.ts) exposes it over `0.0.0.0` and a random port(). The random port can be found in the running logs of the test case and looks like (42379 in the below mentioned URL)\n`Metrics URL: http://0.0.0.0:42379/api/v1/plugins/@hyperledger/cactus-plugin-ledger-connector-xdai/get-prometheus-exporter-metrics`\n\nOnce edited, you can start the prometheus service by referencing the above edited prometheus.yml file.\nOn the prometheus graphical interface (defaulted to http://localhost:9090), choose **Graph** from the menu bar, then select the **Console** tab. From the **Insert metric at cursor** drop down, select **cactus_xdai_total_tx_count** and click **execute**\n\n### Helper code\n\n###### response.type.ts\nThis file contains the various responses of the metrics.\n\n###### data-fetcher.ts\nThis file contains functions encasing the logic to process the data points\n\n###### metrics.ts\nThis file lists all the prometheus metrics and what they are used for.\n\n## Running the tests\n\nTo check that all has been installed correctly and that the pugin has no errors run the tests:\n\n* Run this command at the project's root:\n```sh\nnpm run test:plugin-ledger-connector-xdai\n```\n\n## Contributing\n\nWe welcome contributions to Hyperledger Cactus in many forms, and there’s always plenty to do!\n\nPlease review [CONTIRBUTING.md](../../CONTRIBUTING.md) to get started.\n\n## License\n\nThis distribution is published under the Apache License Version 2.0 found in the [LICENSE](../../LICENSE) file.\n\n## Acknowledgments \n","readmeFilename":"README.md","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.7.1-scope-changed.2eda5046.6","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-u2qsYn1IET2D3hcCEtMgAAI0PiWiGV8LxfSqPTkonfBcMWaZVCHVLkvBWEPIdkEjwAuaOERsU79eazaXVLp+IA==","shasum":"2b1b121e862a284a433812bb8878b66edb76c38a","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.7.1-scope-changed.2eda5046.6.tgz","fileCount":57,"unpackedSize":8922779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhE4HpCRA9TVsSAnZWagAA784QAJXfsEztDCQASN2e4KEa\nyMziaMlVaRgC9e2OZevXvvTa3l4gs5A85eJNF7mk5ZS0BbRjfd1Acg+jxfs1\nfsuN3zq+B/LE/nT7blWtqFuwIBl0WX5s85KIO6exGWyrCbS2vBF6n0Xu8+OS\nMGcX232ET7+5Dlpvb3YH7l/A4WOM6NxG+E7kLslXuMn0b7E80Gwc9bFH/cRh\ng5sNmkhpNpRvhm2AWoj0m603rl34bbexbPMTyizccqgP27p+Muzdqzmo0rCG\n3slPZnn59aQTNsFLX2zIE9sWi+wYr6hjXfkTytyTh2exs5sbScpZdq9Ye3WU\nuTf/NXo/Drf/Jprk9wl+r5UHz7CCvgme6Ygvk1Fwc0HRtTQkumFIcvrTe+/i\nRAkyktADwYNht2++E75vxx+zq1FqDIFWqAlEOPSdEpCiVhutX8sxm3zCNMde\nKSxoYda4VHLYADAm+SDQxKanlfWDzoYggKICeQnzN1ufFg1LO12p4BHTgcIS\nTK0E8n33D0dKiQ9SWwzZunbIW6/+yTa+ACMI5y/HhyRuhKMkpYYZCgKjD32Z\nvwKrMK1i7CMO1TUsdl6DjpGjG4Mgu9PV3ctPCRlu05JU66MAg0jtKGT0viz0\nMc2CPggQv6vWqZBslUEt0ePIp3bgXO9pqF6s5WnRhRJzCOzILGJ2bbbhoiiM\n8x7s\r\n=ueH3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpJuiN78PQ0n2KG9OXSqRjz0ycK/krdkouofyuiUwyqwIgYmDdbx+sX1aoQehKRvYZmYIQdt6F8mQbx8AC0+9l7Qs="}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.7.1-scope-changed.2eda5046.6_1628668393680_0.2713895492387062"},"_hasShrinkwrap":false},"0.6.10":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.6.10","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.6.10","@elenaizaguirre/cactus-core":"0.6.10","@elenaizaguirre/cactus-core-api":"0.6.10","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.6.10","@elenaizaguirre/cactus-test-tooling":"0.6.10","@types/express":"4.17.8"},"gitHead":"2eda50462d834a7a74aeaa9e0d9784406ef05ebe","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.6.10","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-7j/zddCjL24QpXmCDfJGpYvFOIuDsciHNj52FxGu06L/Pm0bEAWnF7VEVo+rSHTCpbct05ZlIKyFCd4miPVf6A==","shasum":"03640f8ec870d64f4ce1682c9a5cf9c2f1b4d983","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.6.10.tgz","fileCount":57,"unpackedSize":8922576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhE4UKCRA9TVsSAnZWagAAU5IP/1N4eKfvrZ/kg3f4JS8b\nPRR3dPOIw4tuirH+Gb7ma2KbN3HQb3+QHizg8Ejp2IsG1MPkna7cbRd+SA9s\nq51jK7TSMvci+h1Ybj4xzmJiO+iOI2Un5dE8YQSiw7yserfZCIxasLVU7u9l\niQXTX3EbH0ew7G00vYbYPMIBjyoisnVzeGsijJUxDiXLlD7w1g0k9KDUA4On\ntSbfZ7c3O2RCKfewdew2irv0Joeu2Ye8IGTgXdKcSNK1b85DnuoKjsBk39Mo\nMAHMiSjuhovYGvv9e4cJSgrAGKKl+e11C1Xr2SZhqZQmHAyHVqOKm8+prokO\nTej/Phjt7FIabxuV1SU85tlMTtKs2CVnlIeMXSMn+UKREhUcsYyaxCt+Izcp\nha5xg7+FAe+fZhQFZziQstQaf3ut995Ymj5fzzU+mgPal56hVcwCTX0C16dd\n05VR9shFs3Xr4g2vzcdXkeE3GX95cWvAT1UxG+1MXo4yHk8Udfp7Au+VDefa\nCHlgWoDT+ganBL4RYYxSkAmX3ADHDECT8OEwSZa9YAt7mtgp6dZgnotMNMuU\nrSkAdDRCFf/CaI423clxC9Ih2DUkjHsxXxZiSEynus7GeYF+jabtzTN3QEu/\nZOWNAY7VXmz5mns3Gy8Ptfy3yG140DRbIssGFam1LwPkQhUbSWBFPngMmU6s\nDybd\r\n=ZjNM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMUhxtPYGzxPo751W10fP888Ult90fj/iSGDdRXJf3/wIhAIwijQzIG3EcWsReZtmMUxHFMyloQVzrLioHh0GA1vQO"}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.6.10_1628669194294_0.8936303009814197"},"_hasShrinkwrap":false},"0.6.11":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.6.11","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.6.11","@elenaizaguirre/cactus-core":"0.6.11","@elenaizaguirre/cactus-core-api":"0.6.11","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.6.11","@elenaizaguirre/cactus-test-tooling":"0.6.11","@types/express":"4.17.8"},"gitHead":"ed87c800f7f633794eb8d6bffacd5812c6620f19","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.6.11","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-MKH5yq/nyfl1QMo2Gu/yGXijA/CjAM/Kv3gUFDGLgg9pJO3e3JrJ9Sr8NiVjgmFk5/9tnZNhpQ803Ycv4g2ccw==","shasum":"3e232591ce1697f20b0946d99ba52c86e1f43911","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.6.11.tgz","fileCount":57,"unpackedSize":8922576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhE5PyCRA9TVsSAnZWagAAH+8QAIN9AKOO+Rk3yfkFCoJX\nKU0sIQPvtw+GhxEmUqqocaeNxGXYUIGgBf0bbh1IIT2Vl7sKyoSbnOtlnVIo\nEWP5P9fBKAEgIZ7WuRZpsmVVRP4KKCwzW1xCs3sBlNiiieEZ2cSmFRzRFWhq\nRGL0nmXADvkMkn0ppCbJQpa29m7V1TmQUL0LG+nUZCFjzur3u5DnBNLvAvrC\nSqNmybaeaOfSQr+/qaDAeXAcVWDQoEiZiF34eVe2Mc53NHh5NIbOQFsJvnOm\nOqR2PzPHiBzCHesQV6QqbKUM36T9J+TMecuRxKzhHPPUVOQTfHY5XUJi3r55\nmXVyBJWPzMkU+P/skPpkKlCMja5DWlnugtgVF4ywstR6OaKr6eXUtosh0xyr\n7zMuOn5UOevpKND6MZAj60ES5Gxg+WbeUZU8ZHG2BJU5KDBsh08fyj22lHCa\nC3SxmtdmQTUm7A4aKCwWSXHDCtZO5yum0bs4R66YhF9pfjdNsGN9coHpgJSj\nW0Bk8RvA685X8NIkERTTm7RCwafnFt4+Zlv/scNUgcdny1bFR3BwwU2jo75S\nwADF7cwGNlqGFxpjSqJiv2mFO4HbbCvKuHXcbfkPY3WZCxAAVeypl58oOW38\nVESYnoMjTLshSNK9qB60Yl+Fc1SIzWhJev2e9EioXKE3R/ZbfkRqvT+mnua8\nCT/T\r\n=JLoU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEiFDI5zhuNoOBBxP60jWvQUasu7qayD0/6mCBtrid5wAiAUU9wHp1Rg1oRk6dkQWnLBFdTwtsRQWvhCe26c+cAxZQ=="}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.6.11_1628673009698_0.1801052425580656"},"_hasShrinkwrap":false},"0.6.12":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.6.12","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.6.12","@elenaizaguirre/cactus-core":"0.6.12","@elenaizaguirre/cactus-core-api":"0.6.12","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.6.12","@elenaizaguirre/cactus-test-tooling":"0.6.12","@types/express":"4.17.8"},"gitHead":"fdd5a74e4f61223e63d3838b5648d57b4c1f6c82","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.6.12","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-LYDczJsp4036nbX+QPEcdl//rTwLcmj0AmzltjiNQPJOUVEF5rT1/TUcGt5picYroD8AfMgABPgDfpBEFDS7sQ==","shasum":"2a6f38e6b57cafe1df0d0889b6e8957bba992112","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.6.12.tgz","fileCount":52,"unpackedSize":601532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFMZfCRA9TVsSAnZWagAACKsP/jY758AxVF2+lD+g1zky\nZ13OgVzkfEC5GVB4q/+iv98h6FPSJaKpB59eWpiUrdfOjkdnzy85tBS0GV+p\nI+iSxbtPRDv2q4dSuEyDEBvhAxeuY8AeUKD9shNurZ1n3SX9ZCD5Hm99CJOI\nYJ7xVsyH5E4lVdOdrjml6yRipw6INcro0TP3idRwSZ3WiYS5o1d83WPInJY0\nEak5yj7T6Ng/I5nIiCiJ43ClJ4N/9OThCO1145SJl+yz53lq0X2dOPGDjiq5\n8GdoKxeMhOVsfYES3B5knSHTdJkS2TqAqvtYohlg7U0qer1Y6l15TuQaoxFG\nCANuORwJz/Vi94zISi0LY2N4Rd9EEwRPEb1q+KsLSmaXHLyxIRba4GbUJJU4\nKBedrSdBgHr5wyL6WG/sqzU2l9lPjrfnMMrQkDj2MQHVhTcdLhISbUF6Ix7Q\n+7bqiE5+s08EegkcTnyWSSXTid+GLzbR8btQ7Q5Z5/hpM47Dg4p1nYJSM+kB\nUhBHAOsRV8brrpbZ0tlF/T98OuUPG6CBtAp/L0fgC1L4hX1xIMsPAy1DSAzV\ny3kRHadlnxMHV6FrstLl6e9m34UEoTfUNbYDp/CvD9X9OMW9IxdEBnRGJFHY\nmkT6HVwUBtfULCha4MNo5hE9ab1N67BlKRZwcsYUx8O8QGMBRk4ecGM8Khsr\nK3Qz\r\n=g09h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5kHpI1opxFd0U5SAKL+GWtDCcs6cKkLnqC+etrTn3+gIgHsBs/jeuj1oNXM3+vUzJRpGt0NdLTdP6qme2ZoU2wiQ="}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.6.12_1628751455802_0.9686576110261231"},"_hasShrinkwrap":false},"0.6.13":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.6.13","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.6.13","@elenaizaguirre/cactus-core":"0.6.13","@elenaizaguirre/cactus-core-api":"0.6.13","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.6.13","@elenaizaguirre/cactus-test-tooling":"0.6.13","@types/express":"4.17.8"},"gitHead":"3e38c3846aa701a2ce680b0f475e0127df689328","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.6.13","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-mNVGfhFxrkbOFkrx86uowIJqINy6uOUYXDcKh0uN/dU4FNrpeytQbv/Pv3SMec9YHhaZrQICq87KQatMjHRg+A==","shasum":"08ce8a687e3c162951c8eaff1e9840040d230b49","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.6.13.tgz","fileCount":52,"unpackedSize":601589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFORKCRA9TVsSAnZWagAAZo4P/R7VgNPK749PXxCNPIiY\n4+nZ+v5+gEngsns2sASnQj2f67merxbFyKWhd4yQQ5+dvaWI83Kat3z9wCER\nquM3Y2yDHAWOEZpY/uq2gQIrnGUYFtG2Eogmu6YIFR3RFPb3Hhq8O1jUaKNg\nQRrpJOxOITb+kWCyLYEcSVpfgv5VVjewtWUjuykBmRH+3LCrhTD1QQP9YdxE\nF+e3EuEEnzGSY5coR6/GBKyrlCCA6KPZ7S8D5Fx/kro9N5p1vt9HnIwaKTa2\nm3m8DUA8CiQwgDXMFMQ7rfDLDaNZ4TPf0+KUA5K40llhVZEDQ5iKxPWP2tMw\nGWuD6/nKK6TzEw3GxipwgEgmM4Wlb6nOnhUFkyYczYa64bQkWVrRjrLHw6Ly\n3o44U49aTZzWvbbNFOV2P7bbWacYo1u+tLTPz6eTIHoCIACJuW/PW2irgpsm\n6Zi45N9vWdWyPRa7sMT1SXzBGP9ZUefrqyax5XHVry4X6LlqJNXCdtnYhdZr\nZEtsYkwUC1FRVm/A5bHRMDAW/AfmcR1N6bUpKTezKakSKdiiV4TBgyj2F1Cm\n6LlJkhb7uXD4W7FX+3vQIz7HsJbrxcNYPgHcCj7Rs7eYePlGyFGbm9mRHDR1\nU8vFjhCgZn2iTtQK2IqDi5HuNMAoVx6kpLijQSPN+KedC3aDe/CDEuUz+2kz\n6uXn\r\n=Hdue\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3DzkvaOdytejb+pntmEerKFMhJv+Uik4XzaZzRdOtAwIhALW8636fNIiBzcFW61G36A33TBA+qxmjaahVf90/gN3s"}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.6.13_1628759114604_0.7516447132066493"},"_hasShrinkwrap":false},"0.6.14":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.6.14","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/types/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.6.14","@elenaizaguirre/cactus-core":"0.6.14","@elenaizaguirre/cactus-core-api":"0.6.14","axios":"0.21.1","express":"4.17.1","joi":"14.3.1","openapi-types":"7.0.1","prom-client":"13.1.0","typescript-optional":"2.0.1","web3":"1.2.7","web3-utils":"1.2.7"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.6.14","@elenaizaguirre/cactus-test-tooling":"0.6.14","@types/express":"4.17.8"},"gitHead":"d340c8a1c056abfbd0d93eecfb6dbf569a0ba215","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.6.14","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-1MW4J/EuVi7Q/4kLHBntBazARPUewWiwkWaJ0LO/pJWZdy4thRi/HZAkIgwN3c/7yIomzW+Jhy8/oEK/Jra2OA==","shasum":"b436a9a28c3f03492d8f1c70baa4adf40dc4be4e","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.6.14.tgz","fileCount":52,"unpackedSize":601532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFQPyCRA9TVsSAnZWagAADYEP/05vlnua2T9MNrKDpFd5\nDELy+SRf0jYlvQRE5EY1MF7Y6THZRKeuYd3Dn8PDgqNqepVrTmV1Z2WHYRHr\nPn/b0n6EhPBdm7DCJ4Y2Q9j1aqxIiC8xUCOpLDELcUECDNVjigKBCV8ef/PO\nVGlrXk9UCFDzAUg5qWnlLu6uNR3jxjmIeWC1CjWYpZYbNb2SW3yu5vs9ZmUF\nwXC34zOVUWLsgRhbOzHkrU9JX4n2hO5XK7ouwazS2+O4mYgnuD/1caEvHb7j\n06DoZZ2LE1gzmMfkuWIgmIIstC8w2rLtfXxh0P4JCEwrBcu6kG9DpFJGEfDU\n50lYM5kALADxulP1EK6xlma6l+FKR+Sm1MYwXivOuwJj3DZPPQqwYnFtsjpI\nL4wKzb1dnSGgfbOPljGYCiMuDOgRjSRNjQZQ90f1VJktsaDZCmrQxulrhBZx\n+wua2LsLoPAEVgI43xjdkToJKaTG/t5l7b+DXbh4ipmQhBv6F1a1BSrMCOZy\nwT4O3s1xjzARCCnT5q/jIeSuWcN1ZTgwC4uKFvixKMZw6UDYYy/j3TWlR3Ka\nuJ//L98LNy6y7SesSw9iD+N//Le97MGvvzSds+nslYRPx2B8dSkGXzPXAcBA\nasK31vIY6K7EW9BNMun5vtrHfJ3NJ0qd3jpzgcOTfSY757UWgHBTgtLtKk7j\ncIPE\r\n=kXiB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGObfuNt2k41k5Tc9sfumiQtSggdH8+iM/7YU7v/yg4DAiEAzlKGGvviVt5wTNWy0/OQJuvkL3W4LjAnAGReKsc6Z/U="}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.6.14_1628767218474_0.2121397126110003"},"_hasShrinkwrap":false},"0.9.3":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.9.3","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/lib/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.9.3","@elenaizaguirre/cactus-core":"0.9.3","@elenaizaguirre/cactus-core-api":"0.9.3","axios":"0.21.1","express":"4.17.1","joi":"17.4.2","openapi-types":"9.1.0","prom-client":"13.2.0","typescript-optional":"2.0.1","web3":"1.5.2","web3-utils":"1.5.2"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.9.3","@elenaizaguirre/cactus-test-tooling":"0.9.3","@types/express":"4.17.13"},"gitHead":"0d5cded5b3d726c93392ed2ce0fe8dfa2dc03c95","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.9.3","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-JkzCrkR/YPQ7EifyXpMCc2lV5UfLsihTOE90TE/suVYvtWb94l9IUuje10hH2tXD00YVoLq03XLkdrKkXrKpJA==","shasum":"8caba57e830118fd0afb206d89fca475503bd4ee","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.9.3.tgz","fileCount":59,"unpackedSize":12138326,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKRk4PEn6/dwVG0OfZN9+su7Tm+NlW3jsza4a7jSxKBAIhAJdciM9LdBjxI0xT4+bOQXZ0BqgEjDYpHfFHOoxOnWkd"}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.9.3_1632223849224_0.2021689599280987"},"_hasShrinkwrap":false},"0.9.4":{"name":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai","version":"0.9.4","description":"Allows Cactus nodes to connect to a Xdai ledger.","main":"dist/lib/main/typescript/index.js","mainMinified":"dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js","browser":"dist/cactus-plugin-ledger-connector-xdai.web.umd.js","browserMinified":"dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js","module":"dist/lib/main/typescript/index.js","types":"dist/lib/main/typescript/index.d.ts","scripts":{"generate-sdk":"openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected","codegen:openapi":"npm run generate-sdk","codegen":"run-p 'codegen:*'","watch":"npm-watch","webpack":"npm-run-all webpack:dev webpack:prod","webpack:dev":"npm-run-all webpack:dev:node webpack:dev:web","webpack:dev:web":"webpack --env=dev --target=web --config ../../webpack.config.js","webpack:dev:node":"webpack --env=dev --target=node --config ../../webpack.config.js","webpack:prod":"npm-run-all webpack:prod:node webpack:prod:web","webpack:prod:web":"webpack --env=prod --target=web --config ../../webpack.config.js","webpack:prod:node":"webpack --env=prod --target=node --config ../../webpack.config.js"},"watch":{"codegen:openapi":{"patterns":["./src/main/json/openapi.json"]}},"publishConfig":{"access":"public"},"engines":{"node":">=10","npm":">=6"},"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"license":"Apache-2.0","bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"homepage":"https://github.com/hyperledger/cactus#readme","dependencies":{"@elenaizaguirre/cactus-common":"0.9.4","@elenaizaguirre/cactus-core":"0.9.4","@elenaizaguirre/cactus-core-api":"0.9.4","axios":"0.21.4","express":"4.17.1","joi":"17.4.2","openapi-types":"9.1.0","prom-client":"13.2.0","typescript-optional":"2.0.1","web3":"1.5.2","web3-utils":"1.5.2"},"devDependencies":{"@elenaizaguirre/cactus-plugin-keychain-memory":"0.9.4","@elenaizaguirre/cactus-test-tooling":"0.9.4","@types/express":"4.17.13"},"gitHead":"50ad5e82a81dfca2040770c696d353055f27a24a","_id":"@elenaizaguirre/cactus-plugin-ledger-connector-xdai@0.9.4","_nodeVersion":"16.3.0","_npmVersion":"lerna/4.0.0/node@v16.3.0+x64 (linux)","dist":{"integrity":"sha512-3Z1fTQbaIbZUW3ppabD4+WJ+syobFW5DyoFQELnv6Vt/I6/Wa1bQZ32mTP9S8IHLkLvjR47SPDisck+pRyQlKw==","shasum":"809a01027bee41b5ebf4db933c7d2481d47c5cef","tarball":"https://registry.npmjs.org/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/-/cactus-plugin-ledger-connector-xdai-0.9.4.tgz","fileCount":59,"unpackedSize":12154683,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2FlOCRA9TVsSAnZWagAASQsQAKI6BDS64/0GkBQNGY5C\ntRirg7cvLV2M8EyzdRGaVc3PjiaO39TabSsHJ2+W3pAq+EYZ/SjPCe4qAI2O\ngZRT7O01tT5VeJyOQ3qtDbUJg8qDFbe4uD+YjKzV/26bkeMM7AYX/hSFx0bo\nPeACmhf0I9h3Jg78ubhbbclVolnWNz/1R0ZS0OsHtpA0YIKOP8/2DixM0hwU\nnoJe+MKXMRzfz2aZ2e8wLyG5jm4Tjt7w3BAf8Z3rGCnOju2oetnnnUzUcbkE\n4VOT1XTNNNqM3UycQ7SoPkpySjNEecLDlR4C+auWxVPTPXGg2W8WcL3fFWtq\nOEYWqBC64mY6eCe/nYh6AP5i9rDTRtHbW9HJPkdH/PRCxgJpcDHGXXNUjtIO\npnAStAjjAyOk9szqrNL2kUKm9eMa12Px6ohJN2jCzny2w7bWf8cE5XMBVBHm\nCmpKECoR3X9VHCGTCq0XyrZP5gC+pM1zKsawB6K0sZEDbl1zF7/P3LkhNGTz\nY4FNpdiJjpXc7rkOuU6rtPsitvuZGvkadcAbzPP/O6ssVFWjYUjbY7mSsWgo\nWXNI0pmko/7yeiXHQSE8BVZguj1H/l9wh9xgtsbVA3sC+phD6RcS5Zx6NBtw\nEDV95ZGerQ5acHmIm6lkiGr0wuOdJs4c7HvqzJG2qLyQo8Xn31uzK2/TYlbr\nL6ti\r\n=AHGs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfX9gE6AmdWdMvcHQlgz9g6/tUm0H7OkU+tVUTlwLW6QIhAN1A5TVL9PZwMnKedAwXBJxYESLYsTgPA09pr7zYmXv0"}]},"_npmUser":{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"},"directories":{},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cactus-plugin-ledger-connector-xdai_0.9.4_1632388162879_0.4232172753471368"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-03T07:53:28.455Z","0.6.1":"2021-08-03T07:53:28.708Z","modified":"2022-04-05T07:09:36.388Z","0.6.3":"2021-08-09T06:45:16.301Z","0.6.4":"2021-08-09T06:52:42.813Z","0.6.5":"2021-08-09T07:33:14.453Z","0.6.6":"2021-08-09T08:04:12.823Z","0.6.7":"2021-08-09T09:12:28.803Z","0.6.8":"2021-08-09T10:07:12.044Z","0.6.9":"2021-08-11T06:11:45.261Z","0.7.1-scope-changed.ab167ba4.5":"2021-08-11T07:16:12.482Z","0.7.1-scope-changed.2eda5046.6":"2021-08-11T07:53:13.948Z","0.6.10":"2021-08-11T08:06:34.516Z","0.6.11":"2021-08-11T09:10:10.128Z","0.6.12":"2021-08-12T06:57:35.933Z","0.6.13":"2021-08-12T09:05:14.765Z","0.6.14":"2021-08-12T11:20:18.746Z","0.9.3":"2021-09-21T11:30:49.562Z","0.9.4":"2021-09-23T09:09:23.208Z"},"maintainers":[{"name":"elenaizaguirre","email":"e.izaguirre.equiza@accenture.com"}],"description":"Allows Cactus nodes to connect to a Xdai ledger.","homepage":"https://github.com/hyperledger/cactus#readme","keywords":["Hyperledger","Cactus","Integration","Blockchain","Distributed Ledger Technology"],"repository":{"type":"git","url":"git+https://github.com/elenaizaguirre/cactus.git"},"contributors":[{"name":"Please add yourself to the list of contributors","email":"your.name@example.com","url":"https://example.com"},{"name":"Peter Somogyvari","email":"peter.somogyvari@accenture.com","url":"https://accenture.com"}],"author":{"name":"Hyperledger Cactus Contributors","email":"cactus@lists.hyperledger.org","url":"https://www.hyperledger.org/use/cactus"},"bugs":{"url":"https://github.com/hyperledger/cactus/issues"},"license":"Apache-2.0","readme":"# `@elenaizaguirre/cactus-plugin-ledger-connector-xdai`\n\nThis plugin provides `Cactus` a way to interact with Xdai networks. Using this we can perform:\n* Deploy Smart-contracts through bytecode.\n* Build and sign transactions using different keystores.\n* Invoke smart-contract functions that we have deployed on the network.\n## Summary\n\n  - [Getting Started](#getting-started)\n  - [Architecture](#architecture)\n  - [Usage](#usage)\n  - [Prometheus Exporter](#prometheus-exporter)\n  - [Runing the tests](#running-the-tests)\n  - [Built With](#built-with)\n  - [Contributing](#contributing)\n  - [License](#license)\n  - [Acknowledgments](#acknowledgments)\n\n## Getting Started\n\nClone the git repository on your local machine. Follow these instructions that will get you a copy of the project up and running on\nyour local machine for development and testing purposes.\n\n### Prerequisites\n\nIn the root of the project to install the dependencies execute the command:\n```sh\nnpm run configure\n```\n\n### Compiling\n\nIn the project root folder, run this command to compile the plugin and create the dist directory:\n```sh\nnpm run tsc\n```\n\n### Architecture\nThe sequence diagrams for various endpoints are mentioned below\n\n#### run-transaction-endpoint\n![run-transaction-endpoint sequence diagram](docs/architecture/images/run-transaction-endpoint.png)\nThe above diagram shows the sequence diagram of run-transaction-endpoint. User A (One of the many Users) interacts with the API Client which in turn, calls the API server. API server then executes transact() method which is explained in detailed in the subsequent diagrams.\n![run-transaction-endpoint transact() method](docs/architecture/images/run-transaction-endpoint-transact.png)\nThe above diagram shows the sequence diagraom of transact() method of the PluginLedgerConnectorXdai class. The caller to this function, which in reference to the above sequence diagram is API server, sends RunTransactionV1Request object as an argument to the transact() method. Based on the type of Web3SigningCredentialType, corresponsing responses are sent back to the caller.  \n![run-transaction-endpoint transactCactusKeychainRef() method](docs/architecture/images/run-transaction-endpoint-transact-cactuskeychainref.png)\nThe above diagram shows transactCactusKeychainReference() method being called by the transact() method of the PluginLedgerConnector class when the Web3SigningCredentialType is CACTUSKEYCHAINREF. This method inturn calls transactPrivateKey() which calls the signTransaction() method of web3 library. \n![runtransaction-endpoint transactPrivateKey() method](docs/architecture/images/run-transaction-endpoint-transact-privatekey.png)\nThe above diagram shows transactPrivateKey() method being called by the transact() method of the PluginLedgerConnector class when the Web3SigningCredentialType is PRIVATEKEYHEX. This method then calls the signTransaction() method of the web3 library.\n![run-transaction-endpoint transactSigned() method](docs/architecture/images/run-transaction-endpoint-transact-signed.png)\nThe above diagram shows transactSigned() method being called by the transact() method of the PluginLedgerConnector class when the Web3SigningCredentialType is NONE. This method calls the sendSignedTransaction() of the web3 library and then calls pollForTxReceipt() method.\n![run-transaction-endpoint pollForTxReceipt() method](docs/architecture/images/run-transaction-endpoint-transact-pollfortxreceipt.png)\nThe above diagram shows pollForTxReceipt() method which is called by the transactSigned() method as described in the previous sequence diagram. This method waits for the block confirmation in a loop and then sends the corresponding response back to the caller.\n\n### Usage\n\nTo use this import public-api and create new **PluginFactoryLedgerConnector**. Then use it to create a connector.\n```typescript\nconst factory = new PluginFactoryLedgerConnector({\n    pluginImportType: PluginImportType.LOCAL,\n  });\n  const connector: PluginLedgerConnectorXdai = await factory.create({\n    rpcApiHttpHost,\n    instanceId: uuidv4(),\n    pluginRegistry: new PluginRegistry(),\n  });\n```\nYou can make calls through the connector to the plugin API:\n\n```typescript\nasync invokeContract(req: InvokeContractV1Request):Promise<InvokeContractV1Response>;\nasync transactSigned(rawTransaction: string): Promise<RunTransactionV1Response>;\nasync transactPrivateKey(req: RunTransactionV1Request): Promise<RunTransactionV1Response>;\nasync transactCactusKeychainRef(req: RunTransactionV1Request):Promise<RunTransactionV1Response>;\nasync deployContract(req: DeployContractV1Request):Promise<RunTransactionV1Response>;\nasync signTransaction(req: SignTransactionRequest):Promise<Optional<SignTransactionResponse>>;\n```\n\nCall example to deploy a contract:\n```typescript\nconst deployOut = await connector.deployContract({\n  web3SigningCredential: {\n    ethAccount: firstHighNetWorthAccount,\n    secret: xdaiKeyPair.privateKey,\n    type: Web3SigningCredentialType.PRIVATEKEYHEX,\n  },\n  bytecode: SmartContractJson.bytecode,\n  gas: 1000000,\n});\n```\nThe field \"type\" can have the following values:\n```typescript\nenum Web3SigningCredentialType {\n    CACTUSKEYCHAINREF = 'CACTUS_KEYCHAIN_REF',\n    GETHKEYCHAINPASSWORD = 'GETH_KEYCHAIN_PASSWORD',\n    PRIVATEKEYHEX = 'PRIVATE_KEY_HEX',\n    NONE = 'NONE'\n}\n```\n> Extensive documentation and examples in the [readthedocs](https://readthedocs.org/projects/hyperledger-cactus/) (WIP) \n\n## Prometheus Exporter\n\nThis class creates a prometheus exporter, which scrapes the transactions (total transaction count) for the use cases incorporating the use of Xdai connector plugin.\n\n### Prometheus Exporter Usage\nThe prometheus exporter object is initialized in the `PluginLedgerConnectorXdai` class constructor itself, so instantiating the object of the `PluginLedgerConnectorXdai` class, gives access to the exporter object.\nYou can also initialize the prometheus exporter object seperately and then pass it to the `IPluginLedgerConnectorXdaiOptions` interface for `PluginLedgerConnectoXdai` constructor.\n\n`getPrometheusMetricsV1` function returns the prometheus exporter metrics, currently displaying the total transaction count, which currently increments everytime the `transact()` method of the `PluginLedgerConnectorXdai` class is called.\n\n### Prometheus Integration\nTo use Prometheus with this exporter make sure to install [Prometheus main component](https://prometheus.io/download/).\nOnce Prometheus is setup, the corresponding scrape_config needs to be added to the prometheus.yml\n\n```(yaml)\n- job_name: 'xdai_ledger_connector_exporter'\n  metrics_path: api/v1/plugins/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/get-prometheus-exporter-metrics\n  scrape_interval: 5s\n  static_configs:\n    - targets: ['{host}:{port}']\n```\n\nHere the `host:port` is where the prometheus exporter metrics are exposed. The test cases (For example, packages/cactus-plugin-ledger-connector-xdai/src/test/typescript/integration/plugin-ledger-connector-xdai/deploy-contract/deploy-contract-from-json.test.ts) exposes it over `0.0.0.0` and a random port(). The random port can be found in the running logs of the test case and looks like (42379 in the below mentioned URL)\n`Metrics URL: http://0.0.0.0:42379/api/v1/plugins/@elenaizaguirre/cactus-plugin-ledger-connector-xdai/get-prometheus-exporter-metrics`\n\nOnce edited, you can start the prometheus service by referencing the above edited prometheus.yml file.\nOn the prometheus graphical interface (defaulted to http://localhost:9090), choose **Graph** from the menu bar, then select the **Console** tab. From the **Insert metric at cursor** drop down, select **cactus_xdai_total_tx_count** and click **execute**\n\n### Helper code\n\n###### response.type.ts\nThis file contains the various responses of the metrics.\n\n###### data-fetcher.ts\nThis file contains functions encasing the logic to process the data points\n\n###### metrics.ts\nThis file lists all the prometheus metrics and what they are used for.\n\n## Running the tests\n\nTo check that all has been installed correctly and that the pugin has no errors run the tests:\n\n* Run this command at the project's root:\n```sh\nnpm run test:plugin-ledger-connector-xdai\n```\n\n## Contributing\n\nWe welcome contributions to Hyperledger Cactus in many forms, and there’s always plenty to do!\n\nPlease review [CONTIRBUTING.md](../../CONTRIBUTING.md) to get started.\n\n## License\n\nThis distribution is published under the Apache License Version 2.0 found in the [LICENSE](../../LICENSE) file.\n\n## Acknowledgments \n","readmeFilename":"README.md"}