{"_id":"@buidlerlabs/hedera-strato-js","_rev":"24-65694eb9925a78e4002cb8411a65f105","time":{"0.6.9":"2021-12-31T11:00:42.900Z","created":"2021-12-31T11:01:27.092Z","0.6.10":"2021-12-31T11:01:27.313Z","modified":"2022-11-24T08:47:05.110Z","0.7.0":"2022-02-21T17:53:48.694Z","0.7.1":"2022-02-21T18:08:38.765Z","0.7.2":"2022-02-22T11:20:00.958Z","0.7.3":"2022-02-22T12:38:16.779Z","0.7.4":"2022-04-13T13:52:13.400Z","0.7.5":"2022-06-03T15:27:14.346Z","0.7.6-beta.1":"2022-08-11T14:27:09.545Z","0.7.6-beta.2":"2022-08-12T09:05:46.232Z","0.7.6-beta.3":"2022-08-12T09:14:47.280Z","0.7.6-alpha.0":"2022-08-17T18:42:58.705Z","0.7.6-alpha.1":"2022-08-18T10:07:36.466Z","0.7.6-alpha.2":"2022-08-18T11:07:06.915Z","0.7.6-beta.4":"2022-08-29T11:31:05.059Z","0.8.0":"2022-10-07T11:25:25.715Z"},"name":"@buidlerlabs/hedera-strato-js","dist-tags":{"latest":"0.8.0","beta":"0.7.6-beta.3","alpha":"0.7.6-alpha.2"},"versions":{"0.6.10":{"publishConfig":{"access":"public"},"name":"@buidlerlabs/hedera-strato-js","description":"The Hedera unoficial, high-level 'stratospheric' SDK for JS consumption","main":"./index.js","scripts":{"build:rollup":"rollup -c","build:ts":"tsc","docs":"typedoc && cp .env.sample docs/","publish:npm":"rm -fr ./build && npm run build:ts && node ./script/prepare-publish.cjs && npm publish ./build --access public","test":"jest"},"keywords":["Hedera","Hashgraph","Smart Contracts"],"author":{"name":"BuiDler Labs Developers","email":"devs@buidlerlabs.com"},"license":"MIT","dependencies":{"@ethersproject/abi":"^5.5.0","@hashgraph/sdk":"^2.6.0","dotenv":"^10.0.0","solc":"0.8.9","traverse":"^0.6.6"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-js.git"},"types":"./index.d.ts","version":"0.6.10","gitHead":"d071095e7277e98d9849b301777c117755636aaf","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-js/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-js#readme","_id":"@buidlerlabs/hedera-strato-js@0.6.10","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-E3qVqg46TXBuAVxvXqYKlIeiyVi25jRn2ObzFoc9XrEifK7ku1vjLh9O6+R5ygmVEcp/hMhNU6vp2F+jyq3uEA==","shasum":"b4909b8a06d0c1a33502a48e0d2c8e8d0da9739a","tarball":"https://registry.npmjs.org/@buidlerlabs/hedera-strato-js/-/hedera-strato-js-0.6.10.tgz","fileCount":51,"unpackedSize":104465,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzuMHCRA9TVsSAnZWagAAQpAP+gIat94nMMjT2DaSWnb8\nnH8a2MUgemnq9iQGliU/x9l3/eZF80wku1qARO5R8F8lDoeHqTF/MKfjXQDW\n/IM1+vwPkTKUgdv3B/YjjQvehYve4Kgx0Jy83r2N5givZ+cnqoouAYWCXvha\nY6vFe5DSDUaNCoKOXGGaW9LvTlPU6bjdN2GJPGnWE8hr84NiQXYA4yIGkdSh\n7JonkElL6BRD/GTJh2RQCtVl9zgcln2sU39EVZEB4/EY/g4KYdS+ILDBbQ0p\nJPw3WDxMtID89quXACGbr6YUR/ExuUX75hkbOzdP8+h59LVi3+eAkdzGhAmj\nLFlFiL7kskyIrBQCVyVehiwClT6rtR1XYoeTISuBqlAv+q5xW1WJ0LOVgTi8\njPut7NEePf7BXztxQ7CodDzWUZxtgCT713CtsxcDhW0mqKXD0wUiVF2ZHdXJ\nzji0nZpo6ykLgD8F3yJvPgcr5C4kjscyuO90/DNKhzpocObz9eFFfCU5K3yj\nSRCVfl5wx4K/mWY8ym8kzIHGqCmw2BredJNVitIHup2nHylbGnP3rhIApFsz\nQsmB/J5yW8hvD02/gd+L5YPrgkufcjkFIGLV2/uxs600J+v+p7hqdvUluoOc\n2QZ/3AQw+0zTAC45svbWUU4TlmEMHgNlSDpwGNwyCw5NIzQeKNWudrl4RyAa\nnus0\r\n=U6J1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkqwFkFqz4LsUwALpYN0LjYIREoLj/Q4sPgfdntmzbFQIhAKUEq/wVL4MH2nIMe8WUolDOsiZtOZkyeeQpSwCm9J7k"}]},"_npmUser":{"name":"3nigma","email":"victor.adascalitei@3vs.ro"},"directories":{},"maintainers":[{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hedera-strato-js_0.6.10_1640948487182_0.367441637115536"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/hashgraph-venin-js from now on. Sorry for any inconveniance."},"0.7.2":{"author":{"name":"BuiDler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Hedera unoficial, high-level 'stratospheric' SDK for JS consumption","engines":{"node":">=14.8"},"exports":{"node":"./lib.cjs/index.js","default":"./lib.esm/index.js"},"main":"./lib.cjs/index.js","module":"./lib.esm/index.js","name":"@buidlerlabs/hedera-strato-js","scripts":{"build:cjs":"BABEL_ENV=cjs babel lib --extensions '.ts' --out-dir 'lib.cjs' --source-maps","build:esm":"BABEL_ENV=esm babel lib --extensions '.ts' --out-dir 'lib.esm' --source-maps","build:bundle-docs":"rollup -c ./lib.docs/src/strato/rollup.config.js","build:bundle-test-browser":"rollup -c ./test/browser/rollup.config.js","build:declarations":"tsc","build:docs":"run-s build:install-bundle-docs-deps build:bundle-docs build:docs-docusaurus","build:docs-docusaurus":"docusaurus build --out-dir=docs lib.docs","build:install-bundle-docs-deps":"cd ./lib.docs/src/strato && npm install","clean":"run-s clean:bundle-test-browser clean:cjs clean:esm && docusaurus clear lib.docs","clean:bundle-test-browser":"rm -fr test/browser/lib.esm","clean:cjs":"rm -fr lib.cjs","clean:esm":"rm -fr lib.esm","deploy:docs":"docusaurus deploy","docusaurus-swizzle":"docusaurus swizzle","install:test-browser-dependencies":"cd test/browser && npm i","lint":"eslint . --ext ts","publish:npm":"run-s clean build:cjs build:declarations build:esm && npm publish --access public","start:docs":"docusaurus start lib.docs","test":"run-s test:node test:jsdom test:browser","test:ci":"run-s lint test test:browser","test:browser":"run-s install:test-browser-dependencies build:bundle-test-browser test:smoke-browser","test:node":"jest --env=./test/jte.node.ts","test:node-previewnet":"PORTAL_NETWORK=previewnet node ./script/test-online.mjs","test:node-testnet":"PORTAL_NETWORK=testnet node ./script/test-online.mjs","test:jsdom":"jest --env=./test/jte.web.ts --setupFilesAfterEnv core-js","test:smoke-browser":"karma start ./test/browser/karma.smoke.conf.js"},"keywords":["Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@babel/runtime":"^7.17.2","@ethersproject/abi":"^5.5.0","@hashgraph/sdk":"2.7.0","dotenv":"^10.0.0","solc":"0.8.9","traverse":"^0.6.6","tslib":"^2.3.1","winston":"^3.4.0"},"devDependencies":{"@babel/cli":"^7.16.8","@babel/core":"^7.16.12","@babel/plugin-transform-runtime":"^7.17.0","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","@cmfcmf/docusaurus-search-local":"^0.10.0","@docusaurus/core":"^2.0.0-beta.15","@docusaurus/preset-classic":"^2.0.0-beta.15","@docusaurus/remark-plugin-npm2yarn":"^2.0.0-beta.15","@docusaurus/theme-live-codeblock":"^2.0.0-beta.15","@openzeppelin/contracts":"^4.4.2","@rollup/plugin-alias":"^3.1.9","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.1.3","@rollup/plugin-replace":"^3.0.1","@types/estree":"^0.0.51","@typescript-eslint/eslint-plugin":"^5.11.0","@typescript-eslint/parser":"^5.11.0","axios":"^0.26.0","core-js":"^3.20.3","docusaurus":"^1.14.7","elliptic":"^6.5.4","eslint":"^8.8.0","events":"^3.3.0","jest":"^27.4.5","karma":"^6.3.13","karma-chrome-launcher":"^3.1.0","karma-jasmine":"^4.0.1","mdx-mermaid":"^1.2.1","mermaid":"^8.11.5","npm-run-all":"^4.1.5","puppeteer":"^13.1.3","remark-gfm":"^2.0.0","remark-numbered-footnote-labels":"^1.1.0","rollup":"^2.67.2","rollup-plugin-import-map":"^2.2.2","rollup-plugin-node-polyfills":"^0.2.1","rollup-plugin-terser":"^7.0.2","rollup-plugin-web-worker-loader":"^1.6.1","ts-jest":"^27.1.2","tweetnacl":"^1.0.3","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-js.git"},"types":"./types/index.d.ts","version":"0.7.2","gitHead":"3d06996b829eac8cd5369f6f95b30900321776ba","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-js/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-js#readme","_id":"@buidlerlabs/hedera-strato-js@0.7.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-Xl1zct2mCZjUZXzFrHizS7OZTQUzxWXAziM34lwxSSrBhnK2aKWo7/y9OF07/wKa+HroMIn1G8Fb1ov3wQW2Dw==","shasum":"5019a9c0165dba1fb7898b13f6fef770d65b8262","tarball":"https://registry.npmjs.org/@buidlerlabs/hedera-strato-js/-/hedera-strato-js-0.7.2.tgz","fileCount":341,"unpackedSize":851530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFMbgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7dRAAnN6obAwcqxU+dwJ1BzqNRh201Bgf50m5mssL/FNDRGn93TTs\r\nR/DBpvOK2VtGDTqj4lrb7R3XTe49TwOZ0JRPpQdRtrmda17nr0kVeGDJ0hTz\r\ngapgvYw3KiClruVliCGxrP/S0u6Z2DgplyRn0BhYWZiW5yK7TrqY+MTjck/i\r\nPaJt87KtMzqF8nefdXmAFluKKBt416unLEF1/w7Jv4mTI8g8NPTkdxvBpcm9\r\nSasw/BMK+tv50PwhctvGIosHJTBpII4QnqQVdBz5tnC3IJv0zG8mU8L+CL0R\r\nDCYf3bdJpWjfExzNAg4PcFlFq/wjTJbBYwk1Tu68+IDM0JlXi+1YQpNvRGc2\r\nnP+RwLfPTT9tv+KwjrzlYSpVTUqMIx8ZW4FdxdbUgiyVqCJlQobuDsGkB+oK\r\nD4SR33yPGycPxpSjDHzqFcGxFj3Cv+4K2GwabI5+YEEsyrt07FjKza4Si2/q\r\nHyvGhdXkZ6+Bc7RTJMSzcoGy79YVqPF08YSLNdmJkQm4ySjQ/nr73qoQOeye\r\n1ZYY7B+94imxNLHbnqJ+oaF/gVVzRhS2ICFUMqY1lOdZmKmR0+zx3Yad3iEL\r\nKWoHC57GGVjYP4rj8egWuovMQ8ANXkQOLOmI24U7ao0hT7N+E7X2hxLFBdFK\r\nTXB+jgs5+L5jL77VEOWZ0PnCPjQ30/oheBA=\r\n=PUti\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICeJArGf/4sRN09MRswemozqz59MEc9Untwy5nIE8ZQ0AiAQFdCIUNqrR+KJwNmxQjWhyeWGBqoRkZd3LIC8asvyYw=="}]},"_npmUser":{"name":"3nigma","email":"victor.adascalitei@3vs.ro"},"directories":{},"maintainers":[{"name":"vladuts","email":"vlad.oprisor95@gmail.com"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hedera-strato-js_0.7.2_1645528800736_0.8310155393712102"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/hashgraph-venin-js from now on. Sorry for any inconveniance."},"0.7.3":{"author":{"name":"BuiDler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Hedera unoficial, high-level 'stratospheric' SDK for JS consumption","engines":{"node":">=14.8"},"exports":{"node":"./lib.cjs/index.js","default":"./lib.esm/index.js"},"main":"./lib.cjs/index.js","module":"./lib.esm/index.js","name":"@buidlerlabs/hedera-strato-js","scripts":{"build:cjs":"BABEL_ENV=cjs babel lib --extensions '.ts' --out-dir 'lib.cjs' --source-maps","build:esm":"BABEL_ENV=esm babel lib --extensions '.ts' --out-dir 'lib.esm' --source-maps","build:bundle-docs":"rollup -c ./lib.docs/src/strato/rollup.config.js","build:bundle-test-browser":"rollup -c ./test/browser/rollup.config.js","build:declarations":"tsc","build:docs":"run-s build:install-bundle-docs-deps build:bundle-docs build:docs-docusaurus","build:docs-docusaurus":"docusaurus build --out-dir=docs lib.docs","build:install-bundle-docs-deps":"cd ./lib.docs/src/strato && npm install","clean":"run-s clean:bundle-test-browser clean:cjs clean:esm && docusaurus clear lib.docs","clean:bundle-test-browser":"rm -fr test/browser/lib.esm","clean:cjs":"rm -fr lib.cjs","clean:esm":"rm -fr lib.esm","deploy:docs":"docusaurus deploy","docusaurus-swizzle":"docusaurus swizzle","install:test-browser-dependencies":"cd test/browser && npm i","lint":"eslint . --ext ts","publish:npm":"run-s clean build:cjs build:declarations build:esm && npm publish --access public","start:docs":"docusaurus start lib.docs","test":"run-s test:node test:jsdom test:browser","test:ci":"run-s lint test test:browser","test:browser":"run-s install:test-browser-dependencies build:bundle-test-browser test:smoke-browser","test:node":"jest --env=./test/jte.node.ts","test:node-previewnet":"PORTAL_NETWORK=previewnet node ./script/test-online.mjs","test:node-testnet":"PORTAL_NETWORK=testnet node ./script/test-online.mjs","test:jsdom":"jest --env=./test/jte.web.ts --setupFilesAfterEnv core-js","test:smoke-browser":"karma start ./test/browser/karma.smoke.conf.js"},"keywords":["Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@babel/runtime":"^7.17.2","@ethersproject/abi":"^5.5.0","@hashgraph/sdk":"2.7.0","dotenv":"^10.0.0","solc":"0.8.9","traverse":"^0.6.6","tslib":"^2.3.1","winston":"^3.4.0"},"devDependencies":{"@babel/cli":"^7.16.8","@babel/core":"^7.16.12","@babel/plugin-transform-runtime":"^7.17.0","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","@cmfcmf/docusaurus-search-local":"^0.10.0","@docusaurus/core":"^2.0.0-beta.15","@docusaurus/preset-classic":"^2.0.0-beta.15","@docusaurus/remark-plugin-npm2yarn":"^2.0.0-beta.15","@docusaurus/theme-live-codeblock":"^2.0.0-beta.15","@openzeppelin/contracts":"^4.4.2","@rollup/plugin-alias":"^3.1.9","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.1.3","@rollup/plugin-replace":"^3.0.1","@types/estree":"^0.0.51","@typescript-eslint/eslint-plugin":"^5.11.0","@typescript-eslint/parser":"^5.11.0","axios":"^0.26.0","core-js":"^3.20.3","docusaurus":"^1.14.7","elliptic":"^6.5.4","eslint":"^8.8.0","events":"^3.3.0","jest":"^27.4.5","karma":"^6.3.13","karma-chrome-launcher":"^3.1.0","karma-jasmine":"^4.0.1","mdx-mermaid":"^1.2.1","mermaid":"^8.11.5","npm-run-all":"^4.1.5","puppeteer":"^13.1.3","remark-gfm":"^2.0.0","remark-numbered-footnote-labels":"^1.1.0","rollup":"^2.67.2","rollup-plugin-import-map":"^2.2.2","rollup-plugin-node-polyfills":"^0.2.1","rollup-plugin-terser":"^7.0.2","rollup-plugin-web-worker-loader":"^1.6.1","ts-jest":"^27.1.2","tweetnacl":"^1.0.3","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-js.git"},"types":"./types/index.d.ts","version":"0.7.3","gitHead":"571a6403d38dfd49dfe2a8bf76f86abdf126036c","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-js/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-js#readme","_id":"@buidlerlabs/hedera-strato-js@0.7.3","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-4o2dVpZS3XFHPl5ujJIP0n5Q7VDZIu0RxQrWWnPLuzN7ZrtRiEFyhB7X21KLB/bqOZCYiLGpktkMdbEVSSvX5w==","shasum":"bddbbee50396ee4ffa0761e186ac232630b29b81","tarball":"https://registry.npmjs.org/@buidlerlabs/hedera-strato-js/-/hedera-strato-js-0.7.3.tgz","fileCount":341,"unpackedSize":851631,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFNk4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHehAAiaEe3NspNQmMGDUUDStooOLCDpzgW+boqC/IOiWgB14Hogsc\r\n9q72kWLBmmPGBM/OCQMO2+mouUBY2nY+6Sel/rYFsoj/8jCCkcPUGE1+Zxtk\r\nTwQ/Sz15Q8x1lnYp763apuGOv244lH8MFzNYA+qupP0i1rvdQB4BtnPYaby+\r\np4CS/+WDPD6p3YPSyS8cHqE9fToOqxaNqeNVddsdRxuwdKZwFj0OoKNzUzTT\r\n27FgaRJbFgwleCrx46gDWgGti35ACALjNY9YmbC7rdo3KHpvKwHnpBU5+oQl\r\n83qq1bYZ+v1fG6YVWXIJ0ifQXLw6bRl43X8GtiKqJ8z6Vv42Yb24xU49yL0S\r\nLMopzOXNZcyc+D1q8hqLjH9Sxt63W53mBeWdlRROUtcwLyZT2h95lZg8iANH\r\n+jt0EpU+ccwJAVBafC1AVq5VGvlZhhnZEh6W5NacI0P8nGenJjeN/eOz3AGw\r\nCePx7Vun9YKjtRHzidzd2ZWP/T2+qpFrmCQL+pF3EnAaIabTg3qlnF+3ldbD\r\n0mLAURNhS64zOjXUoX0nwxF0qcjE6HNyTk+Lz+crEcAUfB5jcHbN8dZTzEwM\r\nXLW+TgxnMzPk9ZnpJ3e1vRd2z6Fbroa8Rnr/4GDbDIDSC+nZQMu/5S3UWDky\r\noPfSrft/MdZ7YJ/NtF2crGU2EuOePke67dQ=\r\n=gO5m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEifBLqBr68G8lapo69zt7hmdHPXUmiKwln2L+4rW55jAiAo4wqTr1UUZ98z17fYvFPL/U0aGmSNZLRAHL57wCuhaA=="}]},"_npmUser":{"name":"3nigma","email":"victor.adascalitei@3vs.ro"},"directories":{},"maintainers":[{"name":"vladuts","email":"vlad.oprisor95@gmail.com"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hedera-strato-js_0.7.3_1645533496596_0.8694459945842254"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/hashgraph-venin-js from now on. Sorry for any inconveniance."},"0.7.4":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Hedera unofficial, high-level 'stratospheric' SDK for JS consumption","engines":{"node":">=14.8"},"exports":{".":{"node":"./lib.cjs/index.js","default":"./lib.esm/index.js"},"./rollup-plugin":{"node":"./lib.cjs/bundler/rollup/plugin.js","default":"./lib.esm/bundler/rollup/plugin.js"}},"main":"./lib.cjs/index.js","module":"./lib.esm/index.js","name":"@buidlerlabs/hedera-strato-js","scripts":{"build:4-publish":"run-s build:cjs build:esm build:declarations","build:cjs":"babel --env-name cjs lib --extensions .ts --out-dir lib.cjs --source-maps","build:esm":"babel --env-name esm lib --extensions .ts --out-dir lib.esm --source-maps","build:bundle-docs":"run-s build:4-publish build:bundle-docs-hedera-sdk build:bundle-docs-wallet build:bundle-docs-strato build:bundle-docs-app","build:bundle-docs-app":"rollup -c ./lib.docs/src/app/rollup.config.js","build:bundle-docs-wallet":"rollup -c ./lib.docs/src/hashconnect/rollup.config.js","build:bundle-docs-hedera-sdk":"rollup -c ./lib.docs/src/sdk/rollup.config.js","build:bundle-docs-strato":"rollup -c ./lib.docs/src/strato/rollup.config.js","build:bundle-test-rollup":"rollup -c ./test/rollup/rollup.config.js","build:declarations":"tsc","build:docs":"run-s build:docs-install-wallet build:bundle-docs build:docs-docusaurus","build:docs-docusaurus":"docusaurus build --out-dir=../docs lib.docs","build:docs-install-wallet":"cd ./lib.docs/src/hashconnect && npm i","clean":"run-s clean:bundle-test-rollup clean:cjs clean:esm clean:declarations && docusaurus clear lib.docs","clean:bundle-test-rollup":"rm -fr test/rollup/lib.esm","clean:cjs":"rm -fr lib.cjs","clean:declarations":"rm -fr types","clean:esm":"rm -fr lib.esm","deploy:docs":"docusaurus deploy","docusaurus-swizzle":"docusaurus swizzle","lint":"eslint . --ext ts","publish:npm":"run-s clean build:4-publish && npm publish --access public","start:docs":"docusaurus start lib.docs","test":"run-s test:node test:jsdom test:browser","test:ci":"run-s lint test test:browser","test:browser":"run-s build:4-publish build:bundle-test-rollup test:smoke-rollup","test:node":"jest --config=jest.node.config.cjs","test:node-previewnet":"PORTAL_NETWORK=previewnet node ./script/test-online.mjs","test:node-testnet":"PORTAL_NETWORK=testnet node ./script/test-online.mjs","test:jsdom":"jest --config=jest.web.config.cjs","test:smoke-rollup":"karma start ./test/rollup/karma.smoke.conf.js"},"keywords":["Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@babel/runtime":"^7.17.2","@ethersproject/abi":"^5.5.0","@ethersproject/bytes":"^5.5.0","@rollup/plugin-commonjs":"^21.0.2","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.1.3","dotenv":"^10.0.0","magic-string":"^0.25.7","rollup":"^2.68.0","rollup-plugin-node-polyfills":"^0.2.1","rollup-plugin-web-worker-loader":"^1.6.1","solc":"0.8.9","traverse":"^0.6.6","tslib":"^2.3.1","winston":"^3.4.0"},"devDependencies":{"@babel/cli":"^7.16.8","@babel/core":"^7.16.12","@babel/plugin-transform-runtime":"^7.17.0","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","@cmfcmf/docusaurus-search-local":"^0.10.0","@docusaurus/core":"^2.0.0-beta.18","@docusaurus/preset-classic":"^2.0.0-beta.18","@docusaurus/remark-plugin-npm2yarn":"^2.0.0-beta.18","@docusaurus/theme-live-codeblock":"^2.0.0-beta.18","@openzeppelin/contracts":"^4.4.2","@peculiar/webcrypto":"^1.3.0","@rollup/plugin-babel":"^5.3.0","@types/estree":"^0.0.51","@typescript-eslint/eslint-plugin":"^5.11.0","@typescript-eslint/parser":"^5.11.0","axios":"^0.26.0","core-js":"^3.20.3","docusaurus":"^1.14.7","elliptic":"^6.5.4","eslint":"^8.8.0","events":"^3.3.0","jest":"^27.4.5","karma":"^6.3.13","karma-chrome-launcher":"^3.1.0","karma-jasmine":"^4.0.1","mdx-mermaid":"^1.2.1","mermaid":"^8.11.5","npm-run-all":"^4.1.5","puppeteer":"^13.1.3","remark-gfm":"^2.0.0","remark-numbered-footnote-labels":"^1.1.0","rollup-plugin-import-map":"^2.2.2","rollup-plugin-terser":"^7.0.2","ts-jest":"^27.1.2","tweetnacl":"^1.0.3","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-js.git"},"types":"./types/index.d.ts","version":"0.7.4","peerDependencies":{"@hashgraph/sdk":"2.11.3"},"gitHead":"d33bb66864a8bf7139d6afa4f68ab403fd0e4ceb","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-js/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-js#readme","_id":"@buidlerlabs/hedera-strato-js@0.7.4","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-p7w1DG96uiAghnofbjJsE753BQdK3xLu56l4IIWBnoo/T9GgC/GE62o5BzL8hxbQrJzC1aXS63HHE8Q+zUnBhA==","shasum":"d41829276a580545d488147c39225f63f2efe2da","tarball":"https://registry.npmjs.org/@buidlerlabs/hedera-strato-js/-/hedera-strato-js-0.7.4.tgz","fileCount":361,"unpackedSize":1136355,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ7HIg67ZI31KruELHrIiUiO9KYhl7zgZiDjqBzRbX1gIhAKSnMNvXHROLUtVgRLQAzd7qHwwW7KoyBjRmbYDAeStU"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVtWNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqO2g//YRmBS3xdgOrGCbqZZFLLvU4u1fcvlHMtDUuH8nOe2zmUrWcA\r\nhYNXDTXv0PTRbzysH0P36cTvYkpHkGKxZNoSyulL6dubS/R+Db7Zz5DuLAEh\r\nhoCOJ3oJzsk4+wm1TW8UrAtg0z+2lo+KYUCP7sgUmDRQEcCQsEabZLI/3trd\r\nMEYIkoZggBvTDm9ZqdXSadA1zX9UIFjI+yzOxp+eTSu4+wb6racF0Y/idp5T\r\nfdnwwbrijP8RNk9uf4gcM1f/byiJEV+FUddDwNNcsQ8skzCFS/Vv38fPkeoQ\r\npnSFMQUl1fr4nw8bVM6lD7+flPd2BrRRsse3sOkZdWqh0mcmGc1947hqQ0ve\r\nlfVLU+HC8Tsw1rp8uJUKdXDGTMqRAyZMCdnjN/8/96g3kYk4wFaCmDN7XbJm\r\nrcXM3Tx+SGxF0QDi1975BwNb56EDHn1T0LlfdKuM3nnKlvTLaRM/VOuMVGV3\r\nJoYO/YQnxnjrXRwGwloTn+TPOSjD4SPypRgn9dwWkeoSe5kE6aH54ilJIC+W\r\nBmt4V6KOevQQmeZWyWNgmziKMPiilQalFUo2iQRKw9mXIrP2Ej9HfgSi4eXV\r\nishZIyT24x41yZDbP8otezj+hkR+VB98h9StMml22kdqQcxw+OnFQjHT16QC\r\n7MhMzy4ar54j255+mzdnVPTjTU06BqV4hbE=\r\n=QWb5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"3nigma","email":"victor.adascalitei@3vs.ro"},"directories":{},"maintainers":[{"name":"vladuts","email":"vlad.oprisor95@gmail.com"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hedera-strato-js_0.7.4_1649857933152_0.46320990776708104"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/hashgraph-venin-js from now on. Sorry for any inconveniance."},"0.7.5":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Hedera unofficial, high-level 'stratospheric' SDK for JS consumption","engines":{"node":">=14.8"},"exports":{".":{"require":"./lib.cjs/index.cjs","import":"./lib.esm/index.mjs"}},"main":"./lib.cjs/index.cjs","module":"./lib.esm/index.mjs","name":"@buidlerlabs/hedera-strato-js","scripts":{"build:4-publish":"run-s build:cjs build:esm build:declarations","build:cjs":"babel --env-name cjs lib --extensions .ts --out-dir lib.cjs --out-file-extension .cjs","build:esm":"babel --env-name esm lib --extensions .ts --out-dir lib.esm --source-maps --out-file-extension .mjs","build:declarations":"tsc","clean":"run-s clean:cjs clean:esm clean:declarations","clean:cjs":"rm -fr lib.cjs","clean:declarations":"rm -fr types","clean:esm":"rm -fr lib.esm","lint":"eslint . --ext ts","publish:npm":"run-s clean build:4-publish && npm publish --access public","test":"run-s test:node test:jsdom","test:ci":"run-s lint test","test:node":"jest --config=jest.node.config.cjs","test:node-previewnet":"PORTAL_NETWORK=previewnet node ./script/test-online.mjs","test:node-testnet":"PORTAL_NETWORK=testnet node ./script/test-online.mjs","test:jsdom":"jest --config=jest.web.config.cjs"},"keywords":["Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@ethersproject/abi":"^5.5.0","@ethersproject/bytes":"^5.5.0","dotenv":"^10.0.0","solc":"0.8.9","traverse":"^0.6.6","tslib":"^2.3.1","winston":"^3.4.0"},"devDependencies":{"@babel/cli":"^7.17.6","@babel/preset-typescript":"^7.16.7","@openzeppelin/contracts":"^4.4.2","@peculiar/webcrypto":"^1.3.3","@types/estree":"^0.0.51","@typescript-eslint/eslint-plugin":"^5.11.0","@typescript-eslint/parser":"^5.11.0","axios":"^0.26.0","babel-plugin-add-import-extension":"^1.6.0","core-js":"^3.20.3","elliptic":"^6.5.4","eslint":"^8.8.0","eslint-config-prettier":"^8.5.0","jest":"^27.4.5","npm-run-all":"^4.1.5","prettier":"2.6.2","ts-jest":"^27.1.2","tweetnacl":"^1.0.3","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-js.git"},"types":"./types/index.d.ts","version":"0.7.5","peerDependencies":{"@hashgraph/sdk":"2.11.3"},"gitHead":"e1aa9c23999df59bf7f41345c61a2e3ecd93e1cb","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-js/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-js#readme","_id":"@buidlerlabs/hedera-strato-js@0.7.5","_nodeVersion":"16.14.2","_npmVersion":"8.5.5","dist":{"integrity":"sha512-baGbb8uhM0TvAVGSKeRIV35IffrzaPyefAIibi6OjuIQf1UdBFCQY5DbCzPc6BVpj8T3+u6fhQ7eY5xp+yb7Iw==","shasum":"72cb8beefc3b7678adba0c64e0520e1f2f5d500f","tarball":"https://registry.npmjs.org/@buidlerlabs/hedera-strato-js/-/hedera-strato-js-0.7.5.tgz","fileCount":270,"unpackedSize":772911,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLcjSlEBnJGPZw2Gjw0VdKltdP04fj6hG58EwbhGPJdgIgWfASTwhYWBe1DMVHJQlxADTp5CE3wzQBjTmGOht0SUI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimihSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqNmxAAixctnN1rK7sb1vRbsIxPzfgrsOgE+A4G1hhL39UGKenQfhCn\r\n+p7DozAW0A6aUodwZzt0bty+b3LS4WBCqZHk7gJ6IIaZO4JofrKZ0ZADdjX3\r\nUPTOgV0e302xkiZXn5ig4zFud1oM9p2xvxvWtdpCbSrT1RAGmMk+S8Q92P7O\r\n4RLwIQ9Lipb3gpnXCayAJAXnMw13gZu5qfmQS+meD8v0B/yWSydJ+ljgNCIv\r\nPjf9j5avCivEijYxblZTQdIY64KHjE9EO2lWEEwbaChM65t2z8ngKmE1rrGR\r\nBCjjIzp0MI7NLQDqX8MRDQNRQPvff3aJ7O2GGXaurawdMkp6u20k3zjD269u\r\nEwxRvuAcC0j682tE8aJu8KDSgbuK8wRQc+9+1flelifynz8f5M9VMk32dlik\r\nlbCL9SSFO0eDTFdZB57LjiBuDjb5ZJ+tSorHqfW6jNTIH3fdUST527RebF74\r\nnVE9FPGBeI6ttkkbUdfIF66O4+2LtiZ/6rIghW66CeJQmQElb1fu6cs6gMoQ\r\nDigi+jCeHvKOsLEXglseV5Aa1T3GgJeIALDJxzPYthVSJ+yp3TqJOfWqVyTy\r\n2AWpqE7VbpuEmMWWuvTWmAGDyOFDl4h9fZtWe16F5h09LEV1DvYKrB6l1Rp+\r\nYG9DzUoQFQQrL5Clmq/MAqB63TIjC+D8fl0=\r\n=8i5Q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"3nigma","email":"victor.adascalitei@3vs.ro"},"directories":{},"maintainers":[{"name":"vladuts","email":"vlad.oprisor95@gmail.com"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hedera-strato-js_0.7.5_1654270034098_0.52874560015129"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/hashgraph-venin-js from now on. Sorry for any inconveniance."},"0.7.6-beta.1":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Hedera unofficial, high-level 'stratospheric' SDK for JS consumption","engines":{"node":">=14.8"},"exports":{".":{"require":"./lib.cjs/index.cjs","import":"./lib.esm/index.mjs"}},"main":"./lib.cjs/index.cjs","module":"./lib.esm/index.mjs","name":"@buidlerlabs/hedera-strato-js","scripts":{"build:4-publish":"run-s build:cjs build:esm build:declarations","build:cjs":"babel --env-name cjs lib --extensions .ts --out-dir lib.cjs --out-file-extension .cjs","build:esm":"babel --env-name esm lib --extensions .ts --out-dir lib.esm --source-maps --out-file-extension .mjs","build:declarations":"tsc","clean":"run-s clean:cjs clean:esm clean:declarations","clean:cjs":"rm -fr lib.cjs","clean:declarations":"rm -fr types","clean:esm":"rm -fr lib.esm","lint":"eslint . --ext ts","publish:npm":"run-s clean build:4-publish && npm publish --access public","test":"run-s test:node test:jsdom","test:ci":"run-s lint test","test:node":"jest --config=jest.node.config.cjs","test:node-previewnet":"PORTAL_NETWORK=previewnet node ./script/test-online.mjs","test:node-testnet":"PORTAL_NETWORK=testnet node ./script/test-online.mjs","test:jsdom":"jest --config=jest.web.config.cjs"},"keywords":["Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@ethersproject/abi":"^5.5.0","@ethersproject/bytes":"^5.5.0","dotenv":"^10.0.0","solc":"0.8.9","traverse":"^0.6.6","tslib":"^2.3.1","winston":"^3.4.0"},"devDependencies":{"@babel/cli":"^7.17.6","@babel/preset-typescript":"^7.16.7","@openzeppelin/contracts":"^4.4.2","@peculiar/webcrypto":"^1.3.3","@types/estree":"^0.0.51","@typescript-eslint/eslint-plugin":"^5.11.0","@typescript-eslint/parser":"^5.11.0","axios":"^0.26.0","babel-plugin-add-import-extension":"^1.6.0","core-js":"^3.20.3","elliptic":"^6.5.4","eslint":"^8.8.0","eslint-config-prettier":"^8.5.0","jest":"^27.4.5","npm-run-all":"^4.1.5","prettier":"2.6.2","ts-jest":"^27.1.2","tweetnacl":"^1.0.3","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-js.git"},"types":"./types/index.d.ts","version":"0.7.6-beta.1","peerDependencies":{"@hashgraph/sdk":"2.12.1"},"readme":"# Hedera Strato JS\r\n\r\n![NodeJS/JsDOM/Browser tests](https://img.shields.io/github/workflow/status/buidler-labs/hedera-strato-js/test-nodejs-jsdom-browser?style=flat-square&label=tests&color=yellowgreen)\r\n[![codecov](https://img.shields.io/codecov/c/github/buidler-labs/hedera-strato-js?style=flat-square)](https://codecov.io/gh/buidler-labs/hedera-strato-js)\r\n\r\n[![Discord support channel](https://img.shields.io/discord/949250301792239686?style=flat-square)](https://discord.com/invite/4mYCre869F)\r\n![contributions](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)\r\n![license](https://img.shields.io/github/license/buidler-labs/hedera-strato-js.svg?colorB=ff0000&style=flat-square)\r\n\r\n![node version](https://img.shields.io/badge/Node.js-%3E%3D14.8.0-orange.svg?style=flat-square)\r\n![npm version](https://img.shields.io/npm/v/@buidlerlabs/hedera-strato-js.svg?style=flat-square)\r\n\r\n[![NPM](https://nodei.co/npm/@buidlerlabs/hedera-strato-js.png?mini=true)](https://nodei.co/npm/@buidlerlabs/hedera-strato-js/)\r\n\r\nWrite Web3 [Hedera](https://hedera.com/) smart-contract dApps frictionless and with ease, without having to deal with the hustle and bustle of [Hedera's verbose, underlying services](https://docs.hedera.com/guides/docs/sdks).\r\n\r\n> **Disclaimer:** This project is not an official Hedera project and, as such, it is not affiliated with it in any way, shape or form. It is an independent, community driven, effort to bring clarity and _joy_ to developing decentralized apps (dApps) on the Hedera network-chain ecosystem.\r\n\r\n> **Note:** Please keep in mind that, although core features are extensively tested and appear to be working, this is still currently under _heavy-active_ development and, as such, we don't recommend this just yet for production use. The API is also very likely to change before we reach there!\r\n>\r\n> Having said that, we will continue to use it \"as is\" in production even at this initial stage just because we can and are quick to solve any issues that we might encounter.\r\n\r\n## Features\r\n\r\nStrato already is packed with a lot of stuff:  \r\n✔️ Compile a Solidity contract to obtain its Hedera accepted ABI directly from within the library (no external compiler required)  \r\n✔️ Deploy a contract to the network  \r\n✔️ Use a fluent API to interact with deployed, _live entities_ such as contracts  \r\n✔️ Pubsub for contract emitted events  \r\n✔️ Pubsub for transaction receipts  \r\n✔️ Fine grained cost-control  \r\n✔️ Browser bundle-able via a custom made Rollup plugin ([webpack pending](https://github.com/buidler-labs/hedera-strato-js/issues/26))  \r\n✔️ Using Hedera File Storage as a place to store generic files and JSONs  \r\n✔️ Create token via the Hedera Token Service (HTS)  \r\n✔️ Create a Hedera account  \r\n✔️ Ready to be plugged into a web3 wallet (aka [HIP-338](https://hips.hedera.com/hip/hip-338) [supported](./guides//wallet.md))  \r\n✔️ End to end tested, high coverage (targeting a minimum of 85%) sourcing multiple contracts for the test-base from places such as [solidity-by-example](https://solidity-by-example.org/) and the [hedera-sdk-js repo](https://github.com/hashgraph/hedera-sdk-js/tree/main/examples)\r\n\r\n#### ... with more planned for development:\r\n\r\n🔲 Better integration of _entities_ across the code-base  \r\n🔲 Pubsub mechanics for Hedera's Consensus Service  \r\n🔲 Other account operations  \r\n🔲 Better error reporting  \r\n🔲 Increase logging support\r\n\r\n#### ... and even more to follow.\r\n\r\n## The drive\r\n\r\nAs any good-striving, long-lasting, endeavour, we are using Strato to hopefully fuel everything that we, here at BuiDler Labs, build on Hedera. Our Hedera portfolio currently consists of:\r\n\r\n- [FileCoin-Hedera Grant](https://github.com/taskbar-team/hedera-filecoin-devgrant) - a development grant used to put the foundations of [MyTaskbar](https://mytaskbar.io/) v2, the more decentralized version\r\n- [HeadStarter](headstarter.org) - the first Hedera IDO platform\r\n\r\nWe're basically eating our own dog food. That way, we can hopefully prove that it's something delicious or, if not, we have a good incentive to make it so. This also makes it a good reason to not have it as a \"shot and forget\" kind of effort.\r\n\r\nWe will support this for as long as we're going to build on Hedera and, if there's community interest, even beyond that.\r\n\r\n## Documentation\r\n\r\nYou can find the [API docs here](https://hsj-docs.buidlerlabs.com/).\r\n\r\nWe do offer Live Editor functionality where you can give a go to the samples we have prepared.\r\n\r\nAnother option would be to just code in-browser using our [playground](https://hsj-docs.buidlerlabs.com/markdown/playground)\r\n\r\n## Quick start\r\n\r\n1. Create an `.env` file at the root of your repo with the following content filled in accordingly (see [.env.sample](./.env.sample) for more details and options):\r\n\r\n```sh\r\nHEDERAS_NETWORK=testnet\r\nHEDERAS_OPERATOR_ID=0.0...\r\nHEDERAS_OPERATOR_KEY=...\r\n```\r\n\r\n2. Create a `contracts` folder in which you add your `hello_world.sol` solidity contract definition:\r\n\r\n```solidity\r\n// SPDX-License-Identifier: MIT\r\npragma solidity ^0.8.3;\r\n\r\ncontract HelloWorld {\r\n    string public greet = \"Hello Hedera Strato!\";\r\n}\r\n```\r\n\r\n3. Upload and run your contract with the following code:\r\n\r\n```js\r\nconst { session } = await ApiSession.default();\r\nconst helloWorldContract = await Contract.newFrom({\r\n  path: \"./hello_world.sol\",\r\n});\r\nconst liveContract = await session.upload(helloWorldContract);\r\n\r\nconsole.log(await liveContract.greet());\r\n```\r\n\r\nIf all goes well, you should see the expected `Hello Hedera Strato!` logged inside your console signifying that the contract was successfully compiled, uploaded and executed.\r\n\r\nAlso, if you want a quick play-through a similar example, please have a look at [our minimum-working code](https://github.com/buidler-labs/hsj-example) repo.\r\n\r\n## Testing it\r\n\r\nHave the `.env` file ready (see above) and run\r\n\r\n```\r\n$ npm test\r\n```\r\n\r\n> **Note:** If you're targeting an official network such as a `testnet` or a `previewnet`, there will be a cost involved in running the library tests that has to do with API usage regarding contract deployments and execution (among other things). There's also the option of a `customnet` targeting a self-hosted `hedera-service` deployment. If you want to go down that path (recommended especially if you are planning to contribute), please [follow these instructions](https://github.com/buidler-labs/dockerized-hedera-services).\r\n\r\n## Contributions\r\n\r\nDo you think we missed anything? Want some feature badly? Do you have an idea of something that we might improve? Head over to [our issues page](https://github.com/buidler-labs/hedera-strato-js/issues) and let us know! We want Strato to be a community-lead initiative. This means that any opinion or critic is encouraged (and even welcomed)!\r\n\r\nOf course, if you're eager to write it yourself, that's also fine and dandy! Just fork us, add your changes and open a pull request. We'll take it from there ...\r\n\r\nOh! And if you ever feel like talking to us, you can [reach us on discord](https://discord.gg/4mYCre869F). We're über friendly! 👨‍👩‍👧‍👦\r\n\r\n## License\r\n\r\nThis work has been published under the MIT License.\r\n","readmeFilename":"README.md","gitHead":"ae955ba55fa6b437bc013d6fce12101b7af3de3d","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-js/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-js#readme","_id":"@buidlerlabs/hedera-strato-js@0.7.6-beta.1","_nodeVersion":"16.14.2","_npmVersion":"8.5.5","dist":{"integrity":"sha512-1Gu/AdPeaXKK8todicjKUxXhAQFz3ljRoHyCKe5BHC38NwxY1wEXXLdUFx3cewr8ArKQIppqXYwdovzvQBDghg==","shasum":"defa5a74d500ff7e3f37d84bba394f30a12c030c","tarball":"https://registry.npmjs.org/@buidlerlabs/hedera-strato-js/-/hedera-strato-js-0.7.6-beta.1.tgz","fileCount":270,"unpackedSize":784356,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4FkXk5pb58On4UOlT+lyh7U/jYz3zJosvmoabn/Cp7AIgeZtgUm3Bjqg/gzxPZVmVbVkUD08Izd3Ki8llk9lG48o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9RG9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpuxQ/+I4uI6owEoCguRuuzRaSFAEFIrePqvZvC/7ht91IagjMX4VfR\r\nKwkUYYrNEhtFRZvExZtJ6tmTKejquQHtdUAe35VPrp2sJU6DDxeqjHfgg93w\r\nWA4Ibu5ujyFo9DRbsNg12AEwJwJjJbS3JGhZtzmX7Gc5oEG8AtwjjPGsz5sB\r\nDi3fX7rltPLZ2suNMahH1fiNuCwHMvKRe3zb1RnU9phDr0UHJUOe1zmIlM85\r\nVvsdPlooPK+XweABxJhc9DMsuv4GFHQweR3FS0gVS2GcInGV+67/1cyrRFPz\r\ni/dGmI8B3Tw36LbU7ecB4SBznDwT9NrAXO4x3i10ZrAUGstdJQRIvnIzOdSL\r\nDNykc6cRaIzTw0CUz07cXAkF/PN/WJ+L5/64lHvhUI527+vRhUGlgNIf2ybO\r\ncgHbgyTKWG3z/RsKvYi+sY/m7bm2cXhkYNshU0QNIvt7/nyLT9mXQ7DnRN9V\r\nMv/kihHQv+SWqsfptodRteM4IGmaQ5pk8TydmCUHM4TXwDQdF720IBt+G2JM\r\nPSHZS7BVzSp2NOg9frodkYtIjEnCVAbOZha83oITW6UXH2Rq7A8BFs6CjAG4\r\n/LAJuGG6GXgVf8iKTzEkcGChDXla/B5jzDrPy4AvrCyd9OamHwwc/cX1m50t\r\n3vrLyftsRfVlEIdgzcslEefkGGR+K+MmLdI=\r\n=mkKk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"3nigma","email":"victor.adascalitei@3vs.ro"},"directories":{},"maintainers":[{"name":"vladuts","email":"vlad.oprisor95@gmail.com"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hedera-strato-js_0.7.6-beta.1_1660228029228_0.8680799537804749"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/hashgraph-venin-js from now on. Sorry for any inconveniance."},"0.7.6-beta.3":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Hedera unofficial, high-level 'stratospheric' SDK for JS consumption","engines":{"node":">=14.8"},"exports":{".":{"require":"./lib.cjs/index.cjs","import":"./lib.esm/index.mjs"}},"main":"./lib.cjs/index.cjs","module":"./lib.esm/index.mjs","name":"@buidlerlabs/hedera-strato-js","scripts":{"build:4-publish":"run-s build:cjs build:esm build:declarations","build:cjs":"babel --env-name cjs lib --extensions .ts --out-dir lib.cjs --out-file-extension .cjs","build:esm":"babel --env-name esm lib --extensions .ts --out-dir lib.esm --source-maps --out-file-extension .mjs","build:declarations":"tsc","clean":"run-s clean:cjs clean:esm clean:declarations","clean:cjs":"rm -fr lib.cjs","clean:declarations":"rm -fr types","clean:esm":"rm -fr lib.esm","lint":"eslint . --ext ts","publish:npm":"run-s clean build:4-publish && npm publish --access public","test":"run-s test:node test:jsdom","test:ci":"run-s lint test","test:node":"jest --config=jest.node.config.cjs","test:node-previewnet":"PORTAL_NETWORK=previewnet node ./script/test-online.mjs","test:node-testnet":"PORTAL_NETWORK=testnet node ./script/test-online.mjs","test:jsdom":"jest --config=jest.web.config.cjs"},"keywords":["Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@ethersproject/abi":"^5.5.0","@ethersproject/bytes":"^5.5.0","dotenv":"^10.0.0","solc":"0.8.9","traverse":"^0.6.6","tslib":"^2.3.1","winston":"^3.4.0"},"devDependencies":{"@babel/cli":"^7.17.6","@babel/preset-typescript":"^7.16.7","@openzeppelin/contracts":"^4.4.2","@peculiar/webcrypto":"^1.3.3","@types/estree":"^0.0.51","@typescript-eslint/eslint-plugin":"^5.11.0","@typescript-eslint/parser":"^5.11.0","axios":"^0.26.0","babel-plugin-add-import-extension":"^1.6.0","core-js":"^3.20.3","elliptic":"^6.5.4","eslint":"^8.8.0","eslint-config-prettier":"^8.5.0","jest":"^27.4.5","npm-run-all":"^4.1.5","prettier":"2.6.2","ts-jest":"^27.1.2","tweetnacl":"^1.0.3","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-js.git"},"types":"./types/index.d.ts","version":"0.7.6-beta.3","peerDependencies":{"@hashgraph/sdk":"2.12.1"},"readme":"# Hedera Strato JS\n\n![NodeJS/JsDOM/Browser tests](https://img.shields.io/github/workflow/status/buidler-labs/hedera-strato-js/test-nodejs-jsdom-browser?style=flat-square&label=tests&color=yellowgreen)\n[![codecov](https://img.shields.io/codecov/c/github/buidler-labs/hedera-strato-js?style=flat-square)](https://codecov.io/gh/buidler-labs/hedera-strato-js)\n\n[![Discord support channel](https://img.shields.io/discord/949250301792239686?style=flat-square)](https://discord.com/invite/4mYCre869F)\n![contributions](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)\n![license](https://img.shields.io/github/license/buidler-labs/hedera-strato-js.svg?colorB=ff0000&style=flat-square)\n\n![node version](https://img.shields.io/badge/Node.js-%3E%3D14.8.0-orange.svg?style=flat-square)\n![npm version](https://img.shields.io/npm/v/@buidlerlabs/hedera-strato-js.svg?style=flat-square)\n\n[![NPM](https://nodei.co/npm/@buidlerlabs/hedera-strato-js.png?mini=true)](https://nodei.co/npm/@buidlerlabs/hedera-strato-js/)\n\nWrite Web3 [Hedera](https://hedera.com/) smart-contract dApps frictionless and with ease, without having to deal with the hustle and bustle of [Hedera's verbose, underlying services](https://docs.hedera.com/guides/docs/sdks).\n\n> **Disclaimer:** This project is not an official Hedera project and, as such, it is not affiliated with it in any way, shape or form. It is an independent, community driven, effort to bring clarity and _joy_ to developing decentralized apps (dApps) on the Hedera network-chain ecosystem.\n\n> **Note:** Please keep in mind that, although core features are extensively tested and appear to be working, this is still currently under _heavy-active_ development and, as such, we don't recommend this just yet for production use. The API is also very likely to change before we reach there!\n>\n> Having said that, we will continue to use it \"as is\" in production even at this initial stage just because we can and are quick to solve any issues that we might encounter.\n\n## Features\n\nStrato already is packed with a lot of stuff:  \n✔️ Compile a Solidity contract to obtain its Hedera accepted ABI directly from within the library (no external compiler required)  \n✔️ Deploy a contract to the network  \n✔️ Use a fluent API to interact with deployed, _live entities_ such as contracts  \n✔️ Pubsub for contract emitted events  \n✔️ Pubsub for transaction receipts  \n✔️ Fine grained cost-control  \n✔️ Browser bundle-able via a custom made Rollup plugin ([webpack pending](https://github.com/buidler-labs/hedera-strato-js/issues/26))  \n✔️ Using Hedera File Storage as a place to store generic files and JSONs  \n✔️ Create token via the Hedera Token Service (HTS)  \n✔️ Create a Hedera account  \n✔️ Ready to be plugged into a web3 wallet (aka [HIP-338](https://hips.hedera.com/hip/hip-338) [supported](./guides//wallet.md))  \n✔️ End to end tested, high coverage (targeting a minimum of 85%) sourcing multiple contracts for the test-base from places such as [solidity-by-example](https://solidity-by-example.org/) and the [hedera-sdk-js repo](https://github.com/hashgraph/hedera-sdk-js/tree/main/examples)\n\n#### ... with more planned for development:\n\n🔲 Better integration of _entities_ across the code-base  \n🔲 Pubsub mechanics for Hedera's Consensus Service  \n🔲 Other account operations  \n🔲 Better error reporting  \n🔲 Increase logging support\n\n#### ... and even more to follow.\n\n## The drive\n\nAs any good-striving, long-lasting, endeavour, we are using Strato to hopefully fuel everything that we, here at BuiDler Labs, build on Hedera. Our Hedera portfolio currently consists of:\n\n- [FileCoin-Hedera Grant](https://github.com/taskbar-team/hedera-filecoin-devgrant) - a development grant used to put the foundations of [MyTaskbar](https://mytaskbar.io/) v2, the more decentralized version\n- [HeadStarter](headstarter.org) - the first Hedera IDO platform\n\nWe're basically eating our own dog food. That way, we can hopefully prove that it's something delicious or, if not, we have a good incentive to make it so. This also makes it a good reason to not have it as a \"shot and forget\" kind of effort.\n\nWe will support this for as long as we're going to build on Hedera and, if there's community interest, even beyond that.\n\n## Documentation\n\nYou can find the [API docs here](https://hsj-docs.buidlerlabs.com/).\n\nWe do offer Live Editor functionality where you can give a go to the samples we have prepared.\n\nAnother option would be to just code in-browser using our [playground](https://hsj-docs.buidlerlabs.com/markdown/playground)\n\n## Quick start\n\n1. Create an `.env` file at the root of your repo with the following content filled in accordingly (see [.env.sample](./.env.sample) for more details and options):\n\n```sh\nHEDERAS_NETWORK=testnet\nHEDERAS_OPERATOR_ID=0.0...\nHEDERAS_OPERATOR_KEY=...\n```\n\n2. Create a `contracts` folder in which you add your `hello_world.sol` solidity contract definition:\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.3;\n\ncontract HelloWorld {\n    string public greet = \"Hello Hedera Strato!\";\n}\n```\n\n3. Upload and run your contract with the following code:\n\n```js\nconst { session } = await ApiSession.default();\nconst helloWorldContract = await Contract.newFrom({\n  path: \"./hello_world.sol\",\n});\nconst liveContract = await session.upload(helloWorldContract);\n\nconsole.log(await liveContract.greet());\n```\n\nIf all goes well, you should see the expected `Hello Hedera Strato!` logged inside your console signifying that the contract was successfully compiled, uploaded and executed.\n\nAlso, if you want a quick play-through a similar example, please have a look at [our minimum-working code](https://github.com/buidler-labs/hsj-example) repo.\n\n## Testing it\n\nHave the `.env` file ready (see above) and run\n\n```\n$ npm test\n```\n\n> **Note:** If you're targeting an official network such as a `testnet` or a `previewnet`, there will be a cost involved in running the library tests that has to do with API usage regarding contract deployments and execution (among other things). There's also the option of a `customnet` targeting a self-hosted `hedera-service` deployment. If you want to go down that path (recommended especially if you are planning to contribute), please [follow these instructions](https://github.com/buidler-labs/dockerized-hedera-services).\n\n## Contributions\n\nDo you think we missed anything? Want some feature badly? Do you have an idea of something that we might improve? Head over to [our issues page](https://github.com/buidler-labs/hedera-strato-js/issues) and let us know! We want Strato to be a community-lead initiative. This means that any opinion or critic is encouraged (and even welcomed)!\n\nOf course, if you're eager to write it yourself, that's also fine and dandy! Just fork us, add your changes and open a pull request. We'll take it from there ...\n\nOh! And if you ever feel like talking to us, you can [reach us on discord](https://discord.gg/4mYCre869F). We're über friendly! 👨‍👩‍👧‍👦\n\n## License\n\nThis work has been published under the MIT License.\n","readmeFilename":"README.md","gitHead":"3f36bd18f70abe6de4a950053297c7965637ce25","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-js/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-js#readme","_id":"@buidlerlabs/hedera-strato-js@0.7.6-beta.3","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-S25XRRczJpUNv8qGnlyBhFhuPXR3q6SqEGGuytd6YWPYuccitp/iTsxaUca4+dOA4PRss6Hcx6LS6FhDFSy/3Q==","shasum":"d9508e9eb8762a7a143797c3d69e3c7b08db627f","tarball":"https://registry.npmjs.org/@buidlerlabs/hedera-strato-js/-/hedera-strato-js-0.7.6-beta.3.tgz","fileCount":270,"unpackedSize":775247,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICAzxs845sQmU/+pv2ok8dMMoqxLw+7F2WGR65cVWi7iAiBKpJnbRN1WdPMcyhfMplbBT++OF7rwMqdZgRanokDjPA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9hoHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8URAAjHdRLtOLQuENwbpM+X6lMrT6uW/VoQ5Msh0cy1zaN4z2y3sa\r\n0H84XWSc4q8Enbr/hF70Gw37jNc/vEyDiRGG+E0sH+syDPYwaINPpwHISVAZ\r\nLDfL0a1Ueb1NblsuelOenWocq+ZsV/twuJf9PemXx90Hs/NJHQi7jrnzZr/x\r\niWG26rkv55OXAF0d1rKi4390m0W8JfW3lsIbN79uEYB7j8uLp2rKBIA9RrYj\r\nrT0wW6weDiJKbbRRw0BUpqyaErAEkKJAebw6feBy+FdG6cqSuCVpBqING9an\r\nl8hfHdA3LrFZ9MQLZWXWot0sx40+/1yyHoDmVuWppflunhWPtSLeaNfMSDog\r\nhUrckVcAOrFLxgssv2h13e6lUMka3hiTyuReU6+yAoKJbrLR+N81z504OZAD\r\nRlDk2P6cHUtp08aXVhaqN+DsIb9gGA1jyUwTJ7xvsgg4NJ/QnNGp2PjVF6WT\r\nctK/W9oQYHPuJRthGroXMTjVX8WatWhxY5JpAShPvoeWNJIii3hvUPz6O0fq\r\nOcm9DG2ltbBb/5HtH9git15hzW8oSuG8IAGgpKw9xaf8O50En28WfNuSTUuK\r\n99PITOHGWRYSuS9fWuHYbv8gkFF1rJ8BGPF6BpyxEJztyywFgWQbHF5QqUIP\r\nACU+MQwmoEpEXmldsF4Ts+50BsPaV6IJdmE=\r\n=Lzc7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"victorholo","email":"victor.holotescu@gmail.com"},"directories":{},"maintainers":[{"name":"vladuts","email":"vlad.oprisor95@gmail.com"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hedera-strato-js_0.7.6-beta.3_1660295687012_0.17398156488652794"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/hashgraph-venin-js from now on. Sorry for any inconveniance."},"0.7.6-alpha.0":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Hedera unofficial, high-level 'stratospheric' SDK for JS consumption","engines":{"node":">=14.8"},"exports":{".":{"require":"./lib.cjs/index.cjs","import":"./lib.esm/index.mjs"}},"main":"./lib.cjs/index.cjs","module":"./lib.esm/index.mjs","name":"@buidlerlabs/hedera-strato-js","scripts":{"build:4-publish":"run-s build:cjs build:esm build:declarations","build:cjs":"babel --env-name cjs lib --extensions .ts --out-dir lib.cjs --out-file-extension .cjs","build:esm":"babel --env-name esm lib --extensions .ts --out-dir lib.esm --source-maps --out-file-extension .mjs","build:declarations":"tsc","clean":"run-s clean:cjs clean:esm clean:declarations","clean:cjs":"rm -fr lib.cjs","clean:declarations":"rm -fr types","clean:esm":"rm -fr lib.esm","lint":"eslint . --ext ts","publish:npm":"run-s clean build:4-publish && npm publish --access public","test":"run-s test:node test:jsdom","test:ci":"run-s lint test","test:node":"jest --config=jest.node.config.cjs","test:node-previewnet":"PORTAL_NETWORK=previewnet node ./script/test-online.mjs","test:node-testnet":"PORTAL_NETWORK=testnet node ./script/test-online.mjs","test:jsdom":"jest --config=jest.web.config.cjs"},"keywords":["Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@ethersproject/abi":"^5.5.0","@ethersproject/bytes":"^5.5.0","dotenv":"^10.0.0","solc":"0.8.9","traverse":"^0.6.6","tslib":"^2.3.1","winston":"^3.4.0"},"devDependencies":{"@babel/cli":"^7.17.6","@babel/preset-typescript":"^7.16.7","@openzeppelin/contracts":"^4.4.2","@peculiar/webcrypto":"^1.3.3","@types/estree":"^0.0.51","@typescript-eslint/eslint-plugin":"^5.11.0","@typescript-eslint/parser":"^5.11.0","axios":"^0.26.0","babel-plugin-add-import-extension":"^1.6.0","core-js":"^3.20.3","elliptic":"^6.5.4","eslint":"^8.8.0","eslint-config-prettier":"^8.5.0","jest":"^27.4.5","npm-run-all":"^4.1.5","prettier":"2.6.2","ts-jest":"^27.1.2","tweetnacl":"^1.0.3","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-js.git"},"types":"./types/index.d.ts","version":"0.7.6-alpha.0","peerDependencies":{"@hashgraph/sdk":"^2.17.1"},"readme":"# Hedera Strato JS\r\n\r\n![NodeJS/JsDOM/Browser tests](https://img.shields.io/github/workflow/status/buidler-labs/hedera-strato-js/test-nodejs-jsdom-browser?style=flat-square&label=tests&color=yellowgreen)\r\n[![codecov](https://img.shields.io/codecov/c/github/buidler-labs/hedera-strato-js?style=flat-square)](https://codecov.io/gh/buidler-labs/hedera-strato-js)\r\n\r\n[![Discord support channel](https://img.shields.io/discord/949250301792239686?style=flat-square)](https://discord.com/invite/4mYCre869F)\r\n![contributions](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)\r\n![license](https://img.shields.io/github/license/buidler-labs/hedera-strato-js.svg?colorB=ff0000&style=flat-square)\r\n\r\n![node version](https://img.shields.io/badge/Node.js-%3E%3D14.8.0-orange.svg?style=flat-square)\r\n![npm version](https://img.shields.io/npm/v/@buidlerlabs/hedera-strato-js.svg?style=flat-square)\r\n\r\n[![NPM](https://nodei.co/npm/@buidlerlabs/hedera-strato-js.png?mini=true)](https://nodei.co/npm/@buidlerlabs/hedera-strato-js/)\r\n\r\nWrite Web3 [Hedera](https://hedera.com/) smart-contract dApps frictionless and with ease, without having to deal with the hustle and bustle of [Hedera's verbose, underlying services](https://docs.hedera.com/guides/docs/sdks).\r\n\r\n> **Disclaimer:** This project is not an official Hedera project and, as such, it is not affiliated with it in any way, shape or form. It is an independent, community driven, effort to bring clarity and _joy_ to developing decentralized apps (dApps) on the Hedera network-chain ecosystem.\r\n\r\n> **Note:** Please keep in mind that, although core features are extensively tested and appear to be working, this is still currently under _heavy-active_ development and, as such, we don't recommend this just yet for production use. The API is also very likely to change before we reach there!\r\n>\r\n> Having said that, we will continue to use it \"as is\" in production even at this initial stage just because we can and are quick to solve any issues that we might encounter.\r\n\r\n## Features\r\n\r\nStrato already is packed with a lot of stuff:  \r\n✔️ Compile a Solidity contract to obtain its Hedera accepted ABI directly from within the library (no external compiler required)  \r\n✔️ Deploy a contract to the network  \r\n✔️ Use a fluent API to interact with deployed, _live entities_ such as contracts  \r\n✔️ Pubsub for contract emitted events  \r\n✔️ Pubsub for transaction receipts  \r\n✔️ Fine grained cost-control  \r\n✔️ Browser bundle-able via a custom made Rollup plugin ([webpack pending](https://github.com/buidler-labs/hedera-strato-js/issues/26))  \r\n✔️ Using Hedera File Storage as a place to store generic files and JSONs  \r\n✔️ Create token via the Hedera Token Service (HTS)  \r\n✔️ Create a Hedera account  \r\n✔️ Ready to be plugged into a web3 wallet (aka [HIP-338](https://hips.hedera.com/hip/hip-338) [supported](./guides//wallet.md))  \r\n✔️ End to end tested, high coverage (targeting a minimum of 85%) sourcing multiple contracts for the test-base from places such as [solidity-by-example](https://solidity-by-example.org/) and the [hedera-sdk-js repo](https://github.com/hashgraph/hedera-sdk-js/tree/main/examples)\r\n\r\n#### ... with more planned for development:\r\n\r\n🔲 Better integration of _entities_ across the code-base  \r\n🔲 Pubsub mechanics for Hedera's Consensus Service  \r\n🔲 Other account operations  \r\n🔲 Better error reporting  \r\n🔲 Increase logging support\r\n\r\n#### ... and even more to follow.\r\n\r\n## The drive\r\n\r\nAs any good-striving, long-lasting, endeavour, we are using Strato to hopefully fuel everything that we, here at BuiDler Labs, build on Hedera. Our Hedera portfolio currently consists of:\r\n\r\n- [FileCoin-Hedera Grant](https://github.com/taskbar-team/hedera-filecoin-devgrant) - a development grant used to put the foundations of [MyTaskbar](https://mytaskbar.io/) v2, the more decentralized version\r\n- [HeadStarter](headstarter.org) - the first Hedera IDO platform\r\n\r\nWe're basically eating our own dog food. That way, we can hopefully prove that it's something delicious or, if not, we have a good incentive to make it so. This also makes it a good reason to not have it as a \"shot and forget\" kind of effort.\r\n\r\nWe will support this for as long as we're going to build on Hedera and, if there's community interest, even beyond that.\r\n\r\n## Documentation\r\n\r\nYou can find the [API docs here](https://hsj-docs.buidlerlabs.com/).\r\n\r\nWe do offer Live Editor functionality where you can give a go to the samples we have prepared.\r\n\r\nAnother option would be to just code in-browser using our [playground](https://hsj-docs.buidlerlabs.com/markdown/playground)\r\n\r\n## Quick start\r\n\r\n1. Create an `.env` file at the root of your repo with the following content filled in accordingly (see [.env.sample](./.env.sample) for more details and options):\r\n\r\n```sh\r\nHEDERAS_NETWORK=testnet\r\nHEDERAS_OPERATOR_ID=0.0...\r\nHEDERAS_OPERATOR_KEY=...\r\n```\r\n\r\n2. Create a `contracts` folder in which you add your `hello_world.sol` solidity contract definition:\r\n\r\n```solidity\r\n// SPDX-License-Identifier: MIT\r\npragma solidity ^0.8.3;\r\n\r\ncontract HelloWorld {\r\n    string public greet = \"Hello Hedera Strato!\";\r\n}\r\n```\r\n\r\n3. Upload and run your contract with the following code:\r\n\r\n```js\r\nconst { session } = await ApiSession.default();\r\nconst helloWorldContract = await Contract.newFrom({\r\n  path: \"./hello_world.sol\",\r\n});\r\nconst liveContract = await session.upload(helloWorldContract);\r\n\r\nconsole.log(await liveContract.greet());\r\n```\r\n\r\nIf all goes well, you should see the expected `Hello Hedera Strato!` logged inside your console signifying that the contract was successfully compiled, uploaded and executed.\r\n\r\nAlso, if you want a quick play-through a similar example, please have a look at [our minimum-working code](https://github.com/buidler-labs/hsj-example) repo.\r\n\r\n## Testing it\r\n\r\nHave the `.env` file ready (see above) and run\r\n\r\n```\r\n$ npm test\r\n```\r\n\r\n> **Note:** If you're targeting an official network such as a `testnet` or a `previewnet`, there will be a cost involved in running the library tests that has to do with API usage regarding contract deployments and execution (among other things). There's also the option of a `customnet` targeting a self-hosted `hedera-service` deployment. If you want to go down that path (recommended especially if you are planning to contribute), please [follow these instructions](https://github.com/buidler-labs/dockerized-hedera-services).\r\n\r\n## Contributions\r\n\r\nDo you think we missed anything? Want some feature badly? Do you have an idea of something that we might improve? Head over to [our issues page](https://github.com/buidler-labs/hedera-strato-js/issues) and let us know! We want Strato to be a community-lead initiative. This means that any opinion or critic is encouraged (and even welcomed)!\r\n\r\nOf course, if you're eager to write it yourself, that's also fine and dandy! Just fork us, add your changes and open a pull request. We'll take it from there ...\r\n\r\nOh! And if you ever feel like talking to us, you can [reach us on discord](https://discord.gg/4mYCre869F). We're über friendly! 👨‍👩‍👧‍👦\r\n\r\n## License\r\n\r\nThis work has been published under the MIT License.\r\n","readmeFilename":"README.md","gitHead":"0ac2aa860a061068087099c2525ed14a0848e722","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-js/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-js#readme","_id":"@buidlerlabs/hedera-strato-js@0.7.6-alpha.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.5","dist":{"integrity":"sha512-w61umRpI4PX7uOqeGwUfo69ozra8MvAMRpw7i/tDJ+5p/J3MTSlvcaTZ3IEOLsB93sz9NBY47mOfxxauR09Z3A==","shasum":"9a8e713cfc1d0593d63ed7a867eeee163ccf7dac","tarball":"https://registry.npmjs.org/@buidlerlabs/hedera-strato-js/-/hedera-strato-js-0.7.6-alpha.0.tgz","fileCount":274,"unpackedSize":801830,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCruhMYfcI6C438pSUQvrP7wvHs2wAWiPhYQ5baIN5/wQIgZ2CaETK/fXQxQAaMfZ8Zdt5H3VMahZf0hc+PU7Yh/ls="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/TayACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqlww//bDNhRIWFk88DArqUI8BA1hFX4mXvPF1sFCV6ku0ofPJaSyl/\r\noELUuWZmYGP9kDSjg5k6jcYNLdDQJ4B9r2+u6H0e09VA6/rSNkuz8+A8SxyT\r\n+6kJF2uIbBOkhkNRvRw4nQgUbgeSCz8xvRNMUMHcR3tggJsXcW7DJVYwgQ+F\r\nhjIFyjvTa6ACZVQo4QKgNhgrDDYYb247OnRxONDenaH8/ZfItzYAwpSt/oPf\r\n7ATx8UzNxDZrSu9v4elTr0yBD3fFaUGbM//YrcsXrho2whUTP3o1HQ3qBy1G\r\nvg+ayxC5kK2OWaxiNpAeXOAhPz7gdwr7NCcgM9cQDx2DAqClQ+5C2Ck9T2LV\r\n12NGZYMmd93rvXLCLKG0mmWNsUnJL9T4ItydoL84N61Q5NRTZhb2Nfzk3nyL\r\n0x9AE3UgaNIkCAaIBK6W0HGwfq4le4HyiYPjDNpYddQgDwHk4JRH4ztMSxu+\r\nrWl4PXvu+rFqLHVL4hwUNj+kisZf2x8+fHkMIut8gpPkn5CUlPEqrrlqumPk\r\n9BukdyjHVo6LZR19emOyddNFRS5s7afYj+RzvXxONvAN7R7XdarjYFoanfHq\r\nsdY05SkKqnHVOu5ABQjGIebr5JGRiWampxc+ofORaSkVLvF2gLbi1iFx2P2Y\r\nwcwaQ4ismXSftULxZfy4aUqCTkar5qqeX6U=\r\n=Xwe9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"3nigma","email":"victor.adascalitei@3vs.ro"},"directories":{},"maintainers":[{"name":"vladuts","email":"vlad.oprisor95@gmail.com"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hedera-strato-js_0.7.6-alpha.0_1660761778378_0.5258516259138288"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/hashgraph-venin-js from now on. Sorry for any inconveniance."},"0.7.6-alpha.1":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Hedera unofficial, high-level 'stratospheric' SDK for JS consumption","engines":{"node":">=14.8"},"exports":{".":{"require":"./lib.cjs/index.cjs","import":"./lib.esm/index.mjs"}},"main":"./lib.cjs/index.cjs","module":"./lib.esm/index.mjs","name":"@buidlerlabs/hedera-strato-js","scripts":{"build:4-publish":"run-s build:cjs build:esm build:declarations","build:cjs":"babel --env-name cjs lib --extensions .ts --out-dir lib.cjs --out-file-extension .cjs","build:esm":"babel --env-name esm lib --extensions .ts --out-dir lib.esm --source-maps --out-file-extension .mjs","build:declarations":"tsc","clean":"run-s clean:cjs clean:esm clean:declarations","clean:cjs":"rm -fr lib.cjs","clean:declarations":"rm -fr types","clean:esm":"rm -fr lib.esm","lint":"eslint . --ext ts","publish:npm":"run-s clean build:4-publish && npm publish --access public","test":"run-s test:node test:jsdom","test:ci":"run-s lint test","test:node":"jest --config=jest.node.config.cjs","test:node-previewnet":"PORTAL_NETWORK=previewnet node ./script/test-online.mjs","test:node-testnet":"PORTAL_NETWORK=testnet node ./script/test-online.mjs","test:jsdom":"jest --config=jest.web.config.cjs"},"keywords":["Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@ethersproject/abi":"^5.5.0","@ethersproject/bytes":"^5.5.0","dotenv":"^10.0.0","solc":"0.8.9","traverse":"^0.6.6","tslib":"^2.3.1","winston":"^3.4.0"},"devDependencies":{"@babel/cli":"^7.17.6","@babel/preset-typescript":"^7.16.7","@openzeppelin/contracts":"^4.4.2","@peculiar/webcrypto":"^1.3.3","@types/estree":"^0.0.51","@typescript-eslint/eslint-plugin":"^5.11.0","@typescript-eslint/parser":"^5.11.0","axios":"^0.26.0","babel-plugin-add-import-extension":"^1.6.0","core-js":"^3.20.3","elliptic":"^6.5.4","eslint":"^8.8.0","eslint-config-prettier":"^8.5.0","jest":"^27.4.5","npm-run-all":"^4.1.5","prettier":"2.6.2","ts-jest":"^27.1.2","tweetnacl":"^1.0.3","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-js.git"},"types":"./types/index.d.ts","version":"0.7.6-alpha.1","peerDependencies":{"@hashgraph/sdk":"^2.17.1"},"readme":"# Hedera Strato JS\r\n\r\n![NodeJS/JsDOM/Browser tests](https://img.shields.io/github/workflow/status/buidler-labs/hedera-strato-js/test-nodejs-jsdom-browser?style=flat-square&label=tests&color=yellowgreen)\r\n[![codecov](https://img.shields.io/codecov/c/github/buidler-labs/hedera-strato-js?style=flat-square)](https://codecov.io/gh/buidler-labs/hedera-strato-js)\r\n\r\n[![Discord support channel](https://img.shields.io/discord/949250301792239686?style=flat-square)](https://discord.com/invite/4mYCre869F)\r\n![contributions](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)\r\n![license](https://img.shields.io/github/license/buidler-labs/hedera-strato-js.svg?colorB=ff0000&style=flat-square)\r\n\r\n![node version](https://img.shields.io/badge/Node.js-%3E%3D14.8.0-orange.svg?style=flat-square)\r\n![npm version](https://img.shields.io/npm/v/@buidlerlabs/hedera-strato-js.svg?style=flat-square)\r\n\r\n[![NPM](https://nodei.co/npm/@buidlerlabs/hedera-strato-js.png?mini=true)](https://nodei.co/npm/@buidlerlabs/hedera-strato-js/)\r\n\r\nWrite Web3 [Hedera](https://hedera.com/) smart-contract dApps frictionless and with ease, without having to deal with the hustle and bustle of [Hedera's verbose, underlying services](https://docs.hedera.com/guides/docs/sdks).\r\n\r\n> **Disclaimer:** This project is not an official Hedera project and, as such, it is not affiliated with it in any way, shape or form. It is an independent, community driven, effort to bring clarity and _joy_ to developing decentralized apps (dApps) on the Hedera network-chain ecosystem.\r\n\r\n> **Note:** Please keep in mind that, although core features are extensively tested and appear to be working, this is still currently under _heavy-active_ development and, as such, we don't recommend this just yet for production use. The API is also very likely to change before we reach there!\r\n>\r\n> Having said that, we will continue to use it \"as is\" in production even at this initial stage just because we can and are quick to solve any issues that we might encounter.\r\n\r\n## Features\r\n\r\nStrato already is packed with a lot of stuff:  \r\n✔️ Compile a Solidity contract to obtain its Hedera accepted ABI directly from within the library (no external compiler required)  \r\n✔️ Deploy a contract to the network  \r\n✔️ Use a fluent API to interact with deployed, _live entities_ such as contracts  \r\n✔️ Pubsub for contract emitted events  \r\n✔️ Pubsub for transaction receipts  \r\n✔️ Fine grained cost-control  \r\n✔️ Browser bundle-able via a custom made Rollup plugin ([webpack pending](https://github.com/buidler-labs/hedera-strato-js/issues/26))  \r\n✔️ Using Hedera File Storage as a place to store generic files and JSONs  \r\n✔️ Create token via the Hedera Token Service (HTS)  \r\n✔️ Create a Hedera account  \r\n✔️ Ready to be plugged into a web3 wallet (aka [HIP-338](https://hips.hedera.com/hip/hip-338) [supported](./guides//wallet.md))  \r\n✔️ End to end tested, high coverage (targeting a minimum of 85%) sourcing multiple contracts for the test-base from places such as [solidity-by-example](https://solidity-by-example.org/) and the [hedera-sdk-js repo](https://github.com/hashgraph/hedera-sdk-js/tree/main/examples)\r\n\r\n#### ... with more planned for development:\r\n\r\n🔲 Better integration of _entities_ across the code-base  \r\n🔲 Pubsub mechanics for Hedera's Consensus Service  \r\n🔲 Other account operations  \r\n🔲 Better error reporting  \r\n🔲 Increase logging support\r\n\r\n#### ... and even more to follow.\r\n\r\n## The drive\r\n\r\nAs any good-striving, long-lasting, endeavour, we are using Strato to hopefully fuel everything that we, here at BuiDler Labs, build on Hedera. Our Hedera portfolio currently consists of:\r\n\r\n- [FileCoin-Hedera Grant](https://github.com/taskbar-team/hedera-filecoin-devgrant) - a development grant used to put the foundations of [MyTaskbar](https://mytaskbar.io/) v2, the more decentralized version\r\n- [HeadStarter](headstarter.org) - the first Hedera IDO platform\r\n\r\nWe're basically eating our own dog food. That way, we can hopefully prove that it's something delicious or, if not, we have a good incentive to make it so. This also makes it a good reason to not have it as a \"shot and forget\" kind of effort.\r\n\r\nWe will support this for as long as we're going to build on Hedera and, if there's community interest, even beyond that.\r\n\r\n## Documentation\r\n\r\nYou can find the [API docs here](https://hsj-docs.buidlerlabs.com/).\r\n\r\nWe do offer Live Editor functionality where you can give a go to the samples we have prepared.\r\n\r\nAnother option would be to just code in-browser using our [playground](https://hsj-docs.buidlerlabs.com/markdown/playground)\r\n\r\n## Quick start\r\n\r\n1. Create an `.env` file at the root of your repo with the following content filled in accordingly (see [.env.sample](./.env.sample) for more details and options):\r\n\r\n```sh\r\nHEDERAS_NETWORK=testnet\r\nHEDERAS_OPERATOR_ID=0.0...\r\nHEDERAS_OPERATOR_KEY=...\r\n```\r\n\r\n2. Create a `contracts` folder in which you add your `hello_world.sol` solidity contract definition:\r\n\r\n```solidity\r\n// SPDX-License-Identifier: MIT\r\npragma solidity ^0.8.3;\r\n\r\ncontract HelloWorld {\r\n    string public greet = \"Hello Hedera Strato!\";\r\n}\r\n```\r\n\r\n3. Upload and run your contract with the following code:\r\n\r\n```js\r\nconst { session } = await ApiSession.default();\r\nconst helloWorldContract = await Contract.newFrom({\r\n  path: \"./hello_world.sol\",\r\n});\r\nconst liveContract = await session.upload(helloWorldContract);\r\n\r\nconsole.log(await liveContract.greet());\r\n```\r\n\r\nIf all goes well, you should see the expected `Hello Hedera Strato!` logged inside your console signifying that the contract was successfully compiled, uploaded and executed.\r\n\r\nAlso, if you want a quick play-through a similar example, please have a look at [our minimum-working code](https://github.com/buidler-labs/hsj-example) repo.\r\n\r\n## Testing it\r\n\r\nHave the `.env` file ready (see above) and run\r\n\r\n```\r\n$ npm test\r\n```\r\n\r\n> **Note:** If you're targeting an official network such as a `testnet` or a `previewnet`, there will be a cost involved in running the library tests that has to do with API usage regarding contract deployments and execution (among other things). There's also the option of a `customnet` targeting a self-hosted `hedera-service` deployment. If you want to go down that path (recommended especially if you are planning to contribute), please [follow these instructions](https://github.com/buidler-labs/dockerized-hedera-services).\r\n\r\n## Contributions\r\n\r\nDo you think we missed anything? Want some feature badly? Do you have an idea of something that we might improve? Head over to [our issues page](https://github.com/buidler-labs/hedera-strato-js/issues) and let us know! We want Strato to be a community-lead initiative. This means that any opinion or critic is encouraged (and even welcomed)!\r\n\r\nOf course, if you're eager to write it yourself, that's also fine and dandy! Just fork us, add your changes and open a pull request. We'll take it from there ...\r\n\r\nOh! And if you ever feel like talking to us, you can [reach us on discord](https://discord.gg/4mYCre869F). We're über friendly! 👨‍👩‍👧‍👦\r\n\r\n## License\r\n\r\nThis work has been published under the MIT License.\r\n","readmeFilename":"README.md","gitHead":"d7460e7272c77cba3a4148bc1cb04351a30511bc","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-js/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-js#readme","_id":"@buidlerlabs/hedera-strato-js@0.7.6-alpha.1","_nodeVersion":"16.14.2","_npmVersion":"8.5.5","dist":{"integrity":"sha512-/hNcR6iEsWZjvxPi/5lXT7d8cLbUkIiK/P/WFKeuUkyJ4/dB1hJ75vNN9e2HRXmNdFvBOwyN3rmGGOstG4WExQ==","shasum":"86a635edb9fd9575f9b25b18fab7b0ef39b8b53c","tarball":"https://registry.npmjs.org/@buidlerlabs/hedera-strato-js/-/hedera-strato-js-0.7.6-alpha.1.tgz","fileCount":274,"unpackedSize":802743,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeJZ1y+ntQL4xMss4GLQ4u8qquhjSrvdoNotPjJA43bQIhAK+IlGCXmvmgbqq6YSshK/yvV4zU2G5CVxQpu6bBCHNx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/g9oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpyiA/+N4v5GUF28gQsvBMqbrnIy/C2Azj1f86820QLL/veV+xWaR1I\r\nA1NYtKegVGsSS5clxU8Ozg0pn4BZcSqMYoHYFHnpQvzb/I6lz3U5P4XKtwxU\r\noRFn5jL00P336pZSioCZo3irhah+5SsnjZIYiV1zByGlC6yQ00xmqeTHYi8X\r\nXM2z6m1NA0qbtqI2yxd/djGNfhhThzsd0ETbpH8MHcttkeiE/hXqv124NMTP\r\nacBET3q8Aw7ifJxxQFA881F6pcHKZYx6uubDOuRwfbIrUt7JpWSnqbWSlisB\r\nH4FCOOhPNi9aWb2yymp/1SMIZ/F6qjmOQM4Fj75FTmglTl93HDeHPUhpSN9J\r\nZsTPM3F5MOXgE65A45CGExfkh2w7kh9ZR9/wpr5ss+Ij1VRv2gzDwpsNBodu\r\nXmPU9JaEqM2PltKfd0E68ebBZqlBAJk5wUX9MvycZ/wLSZULB6I+bIcB+8wl\r\n/DbQfLLuw7N4jXy9SzSwZdNt7Z/43xHybgPcF8R68RDeOi9/m+oREz8Z1Ujx\r\nnQJZMsL5FI0+kJNMWcavae1UF8qY8Rcs0ZBzCJ7SHu0fEkHpmOseYbvWJhgL\r\nUZ1njiWxB6fSFLQEEabX+cAJk6tNKC2VsgMQMW+i2od25xqan2xQ/CAbbV9J\r\nxf3htMHi+qh2rIeF/ZFP1VMUDHem22Yh8/k=\r\n=sHBD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"3nigma","email":"victor.adascalitei@3vs.ro"},"directories":{},"maintainers":[{"name":"vladuts","email":"vlad.oprisor95@gmail.com"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hedera-strato-js_0.7.6-alpha.1_1660817256188_0.12908767694641154"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/hashgraph-venin-js from now on. Sorry for any inconveniance."},"0.7.6-alpha.2":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Hedera unofficial, high-level 'stratospheric' SDK for JS consumption","engines":{"node":">=14.8"},"exports":{".":{"require":"./lib.cjs/index.cjs","import":"./lib.esm/index.mjs"}},"main":"./lib.cjs/index.cjs","module":"./lib.esm/index.mjs","name":"@buidlerlabs/hedera-strato-js","scripts":{"build:4-publish":"run-s build:cjs build:esm build:declarations","build:cjs":"babel --env-name cjs lib --extensions .ts --out-dir lib.cjs --out-file-extension .cjs","build:esm":"babel --env-name esm lib --extensions .ts --out-dir lib.esm --source-maps --out-file-extension .mjs","build:declarations":"tsc","clean":"run-s clean:cjs clean:esm clean:declarations","clean:cjs":"rm -fr lib.cjs","clean:declarations":"rm -fr types","clean:esm":"rm -fr lib.esm","lint":"eslint . --ext ts","publish:npm":"run-s clean build:4-publish && npm publish --access public","test":"run-s test:node test:jsdom","test:ci":"run-s lint test","test:node":"jest --config=jest.node.config.cjs","test:node-previewnet":"PORTAL_NETWORK=previewnet node ./script/test-online.mjs","test:node-testnet":"PORTAL_NETWORK=testnet node ./script/test-online.mjs","test:jsdom":"jest --config=jest.web.config.cjs"},"keywords":["Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@ethersproject/abi":"^5.5.0","@ethersproject/bytes":"^5.5.0","dotenv":"^10.0.0","solc":"0.8.9","traverse":"^0.6.6","tslib":"^2.3.1","winston":"^3.4.0"},"devDependencies":{"@babel/cli":"^7.17.6","@babel/preset-typescript":"^7.16.7","@openzeppelin/contracts":"^4.4.2","@peculiar/webcrypto":"^1.3.3","@types/estree":"^0.0.51","@typescript-eslint/eslint-plugin":"^5.11.0","@typescript-eslint/parser":"^5.11.0","axios":"^0.26.0","babel-plugin-add-import-extension":"^1.6.0","core-js":"^3.20.3","elliptic":"^6.5.4","eslint":"^8.8.0","eslint-config-prettier":"^8.5.0","jest":"^27.4.5","npm-run-all":"^4.1.5","prettier":"2.6.2","ts-jest":"^27.1.2","tweetnacl":"^1.0.3","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-js.git"},"types":"./types/index.d.ts","version":"0.7.6-alpha.2","peerDependencies":{"@hashgraph/sdk":"~2.17.1"},"readme":"# Hedera Strato JS\r\n\r\n![NodeJS/JsDOM/Browser tests](https://img.shields.io/github/workflow/status/buidler-labs/hedera-strato-js/test-nodejs-jsdom-browser?style=flat-square&label=tests&color=yellowgreen)\r\n[![codecov](https://img.shields.io/codecov/c/github/buidler-labs/hedera-strato-js?style=flat-square)](https://codecov.io/gh/buidler-labs/hedera-strato-js)\r\n\r\n[![Discord support channel](https://img.shields.io/discord/949250301792239686?style=flat-square)](https://discord.com/invite/4mYCre869F)\r\n![contributions](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)\r\n![license](https://img.shields.io/github/license/buidler-labs/hedera-strato-js.svg?colorB=ff0000&style=flat-square)\r\n\r\n![node version](https://img.shields.io/badge/Node.js-%3E%3D14.8.0-orange.svg?style=flat-square)\r\n![npm version](https://img.shields.io/npm/v/@buidlerlabs/hedera-strato-js.svg?style=flat-square)\r\n\r\n[![NPM](https://nodei.co/npm/@buidlerlabs/hedera-strato-js.png?mini=true)](https://nodei.co/npm/@buidlerlabs/hedera-strato-js/)\r\n\r\nWrite Web3 [Hedera](https://hedera.com/) smart-contract dApps frictionless and with ease, without having to deal with the hustle and bustle of [Hedera's verbose, underlying services](https://docs.hedera.com/guides/docs/sdks).\r\n\r\n> **Disclaimer:** This project is not an official Hedera project and, as such, it is not affiliated with it in any way, shape or form. It is an independent, community driven, effort to bring clarity and _joy_ to developing decentralized apps (dApps) on the Hedera network-chain ecosystem.\r\n\r\n> **Note:** Please keep in mind that, although core features are extensively tested and appear to be working, this is still currently under _heavy-active_ development and, as such, we don't recommend this just yet for production use. The API is also very likely to change before we reach there!\r\n>\r\n> Having said that, we will continue to use it \"as is\" in production even at this initial stage just because we can and are quick to solve any issues that we might encounter.\r\n\r\n## Features\r\n\r\nStrato already is packed with a lot of stuff:  \r\n✔️ Compile a Solidity contract to obtain its Hedera accepted ABI directly from within the library (no external compiler required)  \r\n✔️ Deploy a contract to the network  \r\n✔️ Use a fluent API to interact with deployed, _live entities_ such as contracts  \r\n✔️ Pubsub for contract emitted events  \r\n✔️ Pubsub for transaction receipts  \r\n✔️ Fine grained cost-control  \r\n✔️ Browser bundle-able via a custom made Rollup plugin ([webpack pending](https://github.com/buidler-labs/hedera-strato-js/issues/26))  \r\n✔️ Using Hedera File Storage as a place to store generic files and JSONs  \r\n✔️ Create token via the Hedera Token Service (HTS)  \r\n✔️ Create a Hedera account  \r\n✔️ Ready to be plugged into a web3 wallet (aka [HIP-338](https://hips.hedera.com/hip/hip-338) [supported](./guides//wallet.md))  \r\n✔️ End to end tested, high coverage (targeting a minimum of 85%) sourcing multiple contracts for the test-base from places such as [solidity-by-example](https://solidity-by-example.org/) and the [hedera-sdk-js repo](https://github.com/hashgraph/hedera-sdk-js/tree/main/examples)\r\n\r\n#### ... with more planned for development:\r\n\r\n🔲 Better integration of _entities_ across the code-base  \r\n🔲 Pubsub mechanics for Hedera's Consensus Service  \r\n🔲 Other account operations  \r\n🔲 Better error reporting  \r\n🔲 Increase logging support\r\n\r\n#### ... and even more to follow.\r\n\r\n## The drive\r\n\r\nAs any good-striving, long-lasting, endeavour, we are using Strato to hopefully fuel everything that we, here at BuiDler Labs, build on Hedera. Our Hedera portfolio currently consists of:\r\n\r\n- [FileCoin-Hedera Grant](https://github.com/taskbar-team/hedera-filecoin-devgrant) - a development grant used to put the foundations of [MyTaskbar](https://mytaskbar.io/) v2, the more decentralized version\r\n- [HeadStarter](headstarter.org) - the first Hedera IDO platform\r\n\r\nWe're basically eating our own dog food. That way, we can hopefully prove that it's something delicious or, if not, we have a good incentive to make it so. This also makes it a good reason to not have it as a \"shot and forget\" kind of effort.\r\n\r\nWe will support this for as long as we're going to build on Hedera and, if there's community interest, even beyond that.\r\n\r\n## Documentation\r\n\r\nYou can find the [API docs here](https://hsj-docs.buidlerlabs.com/).\r\n\r\nWe do offer Live Editor functionality where you can give a go to the samples we have prepared.\r\n\r\nAnother option would be to just code in-browser using our [playground](https://hsj-docs.buidlerlabs.com/markdown/playground)\r\n\r\n## Quick start\r\n\r\n1. Create an `.env` file at the root of your repo with the following content filled in accordingly (see [.env.sample](./.env.sample) for more details and options):\r\n\r\n```sh\r\nHEDERAS_NETWORK=testnet\r\nHEDERAS_OPERATOR_ID=0.0...\r\nHEDERAS_OPERATOR_KEY=...\r\n```\r\n\r\n2. Create a `contracts` folder in which you add your `hello_world.sol` solidity contract definition:\r\n\r\n```solidity\r\n// SPDX-License-Identifier: MIT\r\npragma solidity ^0.8.3;\r\n\r\ncontract HelloWorld {\r\n    string public greet = \"Hello Hedera Strato!\";\r\n}\r\n```\r\n\r\n3. Upload and run your contract with the following code:\r\n\r\n```js\r\nconst { session } = await ApiSession.default();\r\nconst helloWorldContract = await Contract.newFrom({\r\n  path: \"./hello_world.sol\",\r\n});\r\nconst liveContract = await session.upload(helloWorldContract);\r\n\r\nconsole.log(await liveContract.greet());\r\n```\r\n\r\nIf all goes well, you should see the expected `Hello Hedera Strato!` logged inside your console signifying that the contract was successfully compiled, uploaded and executed.\r\n\r\nAlso, if you want a quick play-through a similar example, please have a look at [our minimum-working code](https://github.com/buidler-labs/hsj-example) repo.\r\n\r\n## Testing it\r\n\r\nHave the `.env` file ready (see above) and run\r\n\r\n```\r\n$ npm test\r\n```\r\n\r\n> **Note:** If you're targeting an official network such as a `testnet` or a `previewnet`, there will be a cost involved in running the library tests that has to do with API usage regarding contract deployments and execution (among other things). There's also the option of a `customnet` targeting a self-hosted `hedera-service` deployment. If you want to go down that path (recommended especially if you are planning to contribute), please [follow these instructions](https://github.com/buidler-labs/dockerized-hedera-services).\r\n\r\n## Contributions\r\n\r\nDo you think we missed anything? Want some feature badly? Do you have an idea of something that we might improve? Head over to [our issues page](https://github.com/buidler-labs/hedera-strato-js/issues) and let us know! We want Strato to be a community-lead initiative. This means that any opinion or critic is encouraged (and even welcomed)!\r\n\r\nOf course, if you're eager to write it yourself, that's also fine and dandy! Just fork us, add your changes and open a pull request. We'll take it from there ...\r\n\r\nOh! And if you ever feel like talking to us, you can [reach us on discord](https://discord.gg/4mYCre869F). We're über friendly! 👨‍👩‍👧‍👦\r\n\r\n## License\r\n\r\nThis work has been published under the MIT License.\r\n","readmeFilename":"README.md","gitHead":"042720ef7a0f77a10ed7b039d3132bcd7be64c2e","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-js/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-js#readme","_id":"@buidlerlabs/hedera-strato-js@0.7.6-alpha.2","_nodeVersion":"16.14.2","_npmVersion":"8.5.5","dist":{"integrity":"sha512-Laq+6JQ5aA4z2QN4BqobYbIM9TD3+lk8M4mjWy4t/jEqnGbhTfiD0Qn8mpSmSpG+YYoK7/h04L+lqdst6v63Iw==","shasum":"c6a49948dc4a2ef0b1d4e252ea77fb5eb6f1fb46","tarball":"https://registry.npmjs.org/@buidlerlabs/hedera-strato-js/-/hedera-strato-js-0.7.6-alpha.2.tgz","fileCount":274,"unpackedSize":802743,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcnVxQuhYIFYUIf3qK/l6b/CIshFpd82O6QzRAFiUuKAIhAI/IzxRsGTkNMDZhcyGAM2a0Y4tcnuuXdKaiKL+MkuWz"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/h1aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5gg//XAUaguaKJO4GVwn1CqUXaTwPyljZeCCM8FanDpzlMsDqKBAX\r\nsKCgkj12+t9YDOORuA6Ylz0NL+6vUugokzUxSwLdsbCXPp2J11M0s2qMMp8L\r\nQMKtk8Pq7IibbmeJdkR2fKZ2mgHSLvah/YVm5F9UepYAgmGocb1MAAC//zG3\r\nccdsqMTCzbbo/a/Z5FBblYcwFQAgPab6Guc2hXe4cajK60EDshQW9seAuPL+\r\ncUKLup2xDnt6TahjMcWpEtsZC2BQgPMyMiwft3ss43I2jJ22qu9YZ0yyG61F\r\n3/Q9Jwv9Euv69xClzeBRNietxVwPOMgLSdJMN9YA/CTCTpHVoAuy3ZUKfxFt\r\nePfVe8YcJBZ2FpKERSgjfOUMyByqQ5CLNdk+ErG/kDc07UX3m3J9S+sUWS8u\r\nzyDNUPI63olkMxva21H9xivPoliX9x1Et83VbusYGRx4M6Bt+NSmPs//NcWn\r\n4dFITsLhMTDXslNenfar3jHup+JakQGBGSffUHwojZXPSsZCCpq1oDDE3NOj\r\nIazQ9JkW6YK57Fc1ONjeqfW3niuNX7tE4A7TxOO9Mu6i78f/767VU/6Xjbz2\r\nvco8Vte2VrY+T4LmO8XfqVYLFpEhFxDu64wAkuauHXKrNVSofwn5FRNbiCk4\r\nIU7dxVjbu/paMMDWOAcSKsrICHTAeVke6to=\r\n=lzg3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"3nigma","email":"victor.adascalitei@3vs.ro"},"directories":{},"maintainers":[{"name":"vladuts","email":"vlad.oprisor95@gmail.com"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hedera-strato-js_0.7.6-alpha.2_1660820826725_0.6384921161420762"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/hashgraph-venin-js from now on. Sorry for any inconveniance."},"0.7.6-beta.4":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Hedera unofficial, high-level 'stratospheric' SDK for JS consumption","engines":{"node":">=14.8"},"exports":{".":{"require":"./lib.cjs/index.cjs","import":"./lib.esm/index.mjs"},"./bundler-utils":{"require":"./lib.cjs/compiler/ContractCompileResult.cjs","import":"./lib.esm/compiler/ContractCompileResult.mjs"}},"main":"./lib.cjs/index.cjs","module":"./lib.esm/index.mjs","name":"@buidlerlabs/hedera-strato-js","scripts":{"build:4-publish":"run-p build:cjs build:esm build:declarations","build:cjs":"babel --env-name cjs lib --extensions .ts --out-dir lib.cjs --out-file-extension .cjs","build:esm":"babel --env-name esm lib --extensions .ts --out-dir lib.esm --source-maps --out-file-extension .mjs","build:declarations":"tsc","clean":"run-s clean:cjs clean:esm clean:declarations","clean:cjs":"rm -fr lib.cjs","clean:declarations":"rm -fr types","clean:esm":"rm -fr lib.esm","lint":"eslint . --ext ts","publish:npm":"run-s clean build:4-publish && npm publish --access public","test":"run-s test:node test:jsdom","test:ci":"run-s lint test","test:node":"jest --config=jest.node.config.cjs","test:node-previewnet":"PORTAL_NETWORK=previewnet node ./script/test-online.mjs","test:node-testnet":"PORTAL_NETWORK=testnet node ./script/test-online.mjs","test:jsdom":"jest --config=jest.web.config.cjs"},"keywords":["Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@ethersproject/abi":"^5.5.0","@ethersproject/bytes":"^5.5.0","dotenv":"^10.0.0","solc":"0.8.9","traverse":"^0.6.6","tslib":"^2.3.1","winston":"^3.4.0"},"devDependencies":{"@babel/cli":"^7.17.6","@babel/preset-typescript":"^7.16.7","@openzeppelin/contracts":"^4.4.2","@peculiar/webcrypto":"^1.3.3","@types/estree":"^0.0.51","@typescript-eslint/eslint-plugin":"^5.11.0","@typescript-eslint/parser":"^5.11.0","axios":"^0.26.0","babel-plugin-add-import-extension":"^1.6.0","core-js":"^3.20.3","elliptic":"^6.5.4","eslint":"^8.8.0","eslint-config-prettier":"^8.5.0","jest":"^27.4.5","npm-run-all":"^4.1.5","prettier":"2.6.2","ts-jest":"^27.1.2","tweetnacl":"^1.0.3","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-js.git"},"types":"./types/index.d.ts","version":"0.7.6-beta.4","peerDependencies":{"@hashgraph/sdk":"~2.17.1"},"gitHead":"670023a580892ee6446887905dfb81c0c38de5f0","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-js/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-js#readme","_id":"@buidlerlabs/hedera-strato-js@0.7.6-beta.4","_nodeVersion":"16.14.2","_npmVersion":"8.5.5","dist":{"integrity":"sha512-PDzsLiIy0zxHpK1smlqVNrqzjAq+f1UQFROXN8iS+fkI2G4+cOq2pSFSo+8vOpiXEqQKwZsLaPTxapvOPfPFbA==","shasum":"35ae48d4dd0ebb6d114fc30e193c791f96e14a04","tarball":"https://registry.npmjs.org/@buidlerlabs/hedera-strato-js/-/hedera-strato-js-0.7.6-beta.4.tgz","fileCount":264,"unpackedSize":760927,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/FC6oX1IZPgJMmRpesfbK3uIN8G//qrGyNKj2NNjiWAIgWKTHP4DUJnLhMUB1WSRvoytVT8FqzrVi5nsRqG7t+XM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDKN5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGHBAAhmD008ZKJbS8pxW3C0+mJ06IHkwOIZ1aXcWj8YzQ6gR1zaTQ\r\nwQsHCVMufSvpP0ZZboVAmyX7HgU2V4MB0RxQ1PSlzePd4pnPAF0GA4mUywCg\r\nbFXJp1raKq0fG1kImqfLeJcrgFtKaPj9CPgIsj46K2OoRoIsabvaH9c21hrT\r\n48GJpALIZ+a6P4/ZcyGpE+Cw3i+qOuvdJmxmAAZ/ajThmVtIgCF4Sh8HATYS\r\nVfIwR02JgaM9gbpgEDkD7AQ8Oh2OddcnGwlGDMAi1N7NWzZEqEJVqmXdEYlq\r\nqmVFz0KePGQHgQoQ2YOH5lJzko18FebnFqQuDQmgsIsNVx81hy7hyYoil+BM\r\nYsxsiiLuoiJHMKH7UZnOXFlf67aoMRRkSamGx9RqSWUempnF4y6j7KRjnisB\r\n+hVxjnps3OjfHPCpiiCDNCyzib+0Mug8M4KPKcibhzlXWbL8xRFVxG30f+pV\r\nVxRRwhCkF/WPuggB641KTYSx58h/nL0wP2DpeijqYTDs7LOUjuCeRb0dLcUv\r\noWP1BCY2V+17mXEzgzP5Yk6vyNP9+pddWFkRfWAoNDpcB6VMW99gq6sgIwqJ\r\nwSiZhekpRP/teITIs0GIgGR+qZjrQ5aWYzS3ePQTzeQ/LHEiaCxyFPzRXGme\r\nwzNYfIC/T2yACrIIZh/VdWp6R2cngvUX9FA=\r\n=eN0F\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"3nigma","email":"victor.adascalitei@3vs.ro"},"directories":{},"maintainers":[{"name":"vladuts","email":"vlad.oprisor95@gmail.com"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hedera-strato-js_0.7.6-beta.4_1661772664795_0.3928152370979636"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/hashgraph-venin-js from now on. Sorry for any inconveniance."},"0.8.0":{"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"description":"The Hedera unofficial, high-level 'stratospheric' SDK for JS consumption","engines":{"node":">=14.8"},"exports":{".":{"require":"./lib.cjs/index.cjs","import":"./lib.esm/index.mjs"},"./bundler-utils":{"require":"./lib.cjs/compiler/ContractCompileResult.cjs","import":"./lib.esm/compiler/ContractCompileResult.mjs"}},"main":"./lib.cjs/index.cjs","module":"./lib.esm/index.mjs","name":"@buidlerlabs/hedera-strato-js","scripts":{"build:4-publish":"run-p build:cjs build:esm build:declarations","build:cjs":"babel --env-name cjs lib --extensions .ts --out-dir lib.cjs --out-file-extension .cjs","build:esm":"babel --env-name esm lib --extensions .ts --out-dir lib.esm --source-maps --out-file-extension .mjs","build:declarations":"tsc","clean":"run-s clean:cjs clean:esm clean:declarations","clean:cjs":"rm -fr lib.cjs","clean:declarations":"rm -fr types","clean:esm":"rm -fr lib.esm","lint":"eslint . --ext ts","publish:npm":"run-s clean build:4-publish && npm publish --access public","test":"run-s test:node test:jsdom","test:ci":"run-s lint test","test:node":"jest --config=jest.node.config.cjs","test:node-previewnet":"PORTAL_NETWORK=previewnet node ./script/test-online.mjs","test:node-testnet":"PORTAL_NETWORK=testnet node ./script/test-online.mjs","test:jsdom":"jest --config=jest.web.config.cjs"},"keywords":["Hedera","Hashgraph","Smart Contracts"],"license":"MIT","dependencies":{"@ethersproject/abi":"^5.5.0","@ethersproject/bytes":"^5.5.0","dotenv":"^10.0.0","solc":"0.8.9","traverse":"^0.6.6","tslib":"^2.3.1","winston":"^3.4.0"},"devDependencies":{"@babel/cli":"^7.17.6","@babel/preset-typescript":"^7.16.7","@openzeppelin/contracts":"^4.4.2","@peculiar/webcrypto":"^1.3.3","@types/estree":"^0.0.51","@typescript-eslint/eslint-plugin":"^5.11.0","@typescript-eslint/parser":"^5.11.0","axios":"^0.26.0","babel-plugin-add-import-extension":"^1.6.0","core-js":"^3.20.3","elliptic":"^6.5.4","eslint":"^8.8.0","eslint-config-prettier":"^8.5.0","jest":"^27.4.5","npm-run-all":"^4.1.5","prettier":"2.6.2","ts-jest":"^27.1.2","tweetnacl":"^1.0.3","typescript":"^4.5.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-js.git"},"types":"./types/index.d.ts","version":"0.8.0","peerDependencies":{"@hashgraph/sdk":"~2.17.1"},"gitHead":"11c54309a28dcb6ea6353318032258d68ed265fe","bugs":{"url":"https://github.com/buidler-labs/hedera-strato-js/issues"},"homepage":"https://github.com/buidler-labs/hedera-strato-js#readme","_id":"@buidlerlabs/hedera-strato-js@0.8.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-vQIjXiERnyLfp9lXmKcUXCPhoAbxCAqz6l0N+WTmtcUUNN+xgoYc8d0wM0slGENYz2VSxGmKJv1AslBpBTkPAw==","shasum":"f5cc8ba8c963e34387492269413fbad16a07fd46","tarball":"https://registry.npmjs.org/@buidlerlabs/hedera-strato-js/-/hedera-strato-js-0.8.0.tgz","fileCount":264,"unpackedSize":760920,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICuYNzzDrESzerer5brb9pNTxyC4Hy6x5+OJ05ORMeKfAiEA8cMak0ASEMyLLfEiZe6OIaN2qJGpaS89bVqbOWa6uS8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQAylACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDXxAAgxey49WyQvyYVNRcjxveoF+i5kYrrvQWWkInwfTU3wdgk60M\r\nxBTloohZNTuYrItReV4B9OrQfTM5kikjR5ZAqG31ePHKggpGZl4+ku3aVo4g\r\n9jF6D5/H8HeWHEzCv4e3+YaDf4Z4UM0KSv+5Peb3v5EnaA72Ka+YfB6ZJeyw\r\nh5LiAuBL/9mQb1Q1GGqR3M+sVHD8GOGdIR4+zYdbOS256OXj1GZXA+T5ASRx\r\n4APgbD9xegnEkvDRPQzMsIdwMWzQDbl3ikq3CO5acmm3BSZ6HAoW0pesoWMY\r\np2oUPbhDyc9AD8XssQIY1XORjZdIXv8eIEw1XP0N70wKCgdKcxqM2ztUyjRd\r\niu1r+YTWfXTgjS9pnxp0QrWOHTZxHOpm8OYaOyPBa0LUNZmyGz71wn6Q2nYV\r\nBXJA/56aikrd/aoyi+pJOLMkEkK3TaWoB/0+O+bUnGt/ySfPB08yjzqY3ViO\r\nLA2HthXyOyui8jIqw08B82WtiPi19oBIeDebj5+5xaINO+JabCwW+ERgoodN\r\nzgM5mSBkLVk9moLIO5zDv1Aguoujzdv+GwmkPRwaROcmZDHMK2mD8W+MtLbF\r\nPLLaH400vuMyY0sxxqVTOejX+IGSvMBJcuTkc46ypNhAYBA4BaGVaeFO6vak\r\ns57uHHAKMM+FcOPGH+0gyqlm13hwHT+TCK0=\r\n=rofv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"3nigma","email":"victor.adascalitei@3vs.ro"},"directories":{},"maintainers":[{"name":"vladuts","email":"vlad.oprisor95@gmail.com"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"3nigma","email":"victor.adascalitei@3vs.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hedera-strato-js_0.8.0_1665141925419_0.04981415221844965"},"_hasShrinkwrap":false,"deprecated":"Due to trademarked naming concerns, please use @buidlerlabs/hashgraph-venin-js from now on. Sorry for any inconveniance."}},"maintainers":[{"name":"3nigma","email":"victor.adascalitei@3vs.ro"},{"name":"victorholo","email":"victor.holotescu@gmail.com"},{"name":"vladuts","email":"vlad.oprisor95@gmail.com"}],"description":"The Hedera unofficial, high-level 'stratospheric' SDK for JS consumption","homepage":"https://github.com/buidler-labs/hedera-strato-js#readme","keywords":["Hedera","Hashgraph","Smart Contracts"],"repository":{"type":"git","url":"git+https://github.com/buidler-labs/hedera-strato-js.git"},"author":{"name":"Buidler Labs Developers","email":"devs@buidlerlabs.com"},"bugs":{"url":"https://github.com/buidler-labs/hedera-strato-js/issues"},"license":"MIT","readme":"# Hedera Strato JS\r\n\r\n![NodeJS/JsDOM/Browser tests](https://img.shields.io/github/workflow/status/buidler-labs/hedera-strato-js/test-nodejs-jsdom-browser?style=flat-square&label=tests&color=yellowgreen)\r\n[![codecov](https://img.shields.io/codecov/c/github/buidler-labs/hedera-strato-js?style=flat-square)](https://codecov.io/gh/buidler-labs/hedera-strato-js)\r\n\r\n[![Discord support channel](https://img.shields.io/discord/949250301792239686?style=flat-square)](https://discord.com/invite/4mYCre869F)\r\n![contributions](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)\r\n![license](https://img.shields.io/github/license/buidler-labs/hedera-strato-js.svg?colorB=ff0000&style=flat-square)\r\n\r\n![node version](https://img.shields.io/badge/Node.js-%3E%3D14.8.0-orange.svg?style=flat-square)\r\n![npm version](https://img.shields.io/npm/v/@buidlerlabs/hedera-strato-js.svg?style=flat-square)\r\n\r\n[![NPM](https://nodei.co/npm/@buidlerlabs/hedera-strato-js.png?mini=true)](https://nodei.co/npm/@buidlerlabs/hedera-strato-js/)\r\n\r\nWrite Web3 [Hedera](https://hedera.com/) smart-contract dApps frictionless and with ease, without having to deal with the hustle and bustle of [Hedera's verbose, underlying services](https://docs.hedera.com/guides/docs/sdks).\r\n\r\n> **Disclaimer:** This project is not an official Hedera project and, as such, it is not affiliated with it in any way, shape or form. It is an independent, community driven, effort to bring clarity and _joy_ to developing decentralized apps (dApps) on the Hedera network-chain ecosystem.\r\n\r\n> **Note:** Please keep in mind that, although core features are extensively tested and appear to be working, this is still currently under _heavy-active_ development and, as such, we don't recommend this just yet for production use. The API is also very likely to change before we reach there!\r\n>\r\n> Having said that, we will continue to use it \"as is\" in production even at this initial stage just because we can and are quick to solve any issues that we might encounter.\r\n\r\n## Features\r\n\r\nStrato already is packed with a lot of stuff:  \r\n✔️ Compile a Solidity contract to obtain its Hedera accepted ABI directly from within the library (no external compiler required)  \r\n✔️ Deploy a contract to the network  \r\n✔️ Use a fluent API to interact with deployed, _live entities_ such as contracts  \r\n✔️ Pubsub for contract emitted events  \r\n✔️ Pubsub for transaction receipts  \r\n✔️ Fine grained cost-control  \r\n✔️ Browser bundle-able via a custom made Rollup plugin ([webpack pending](https://github.com/buidler-labs/hedera-strato-js/issues/26))  \r\n✔️ Using Hedera File Storage as a place to store generic files and JSONs  \r\n✔️ Create token via the Hedera Token Service (HTS)  \r\n✔️ Create a Hedera account  \r\n✔️ Ready to be plugged into a web3 wallet (aka [HIP-338](https://hips.hedera.com/hip/hip-338) [supported](./guides//wallet.md))  \r\n✔️ End to end tested, high coverage (targeting a minimum of 85%) sourcing multiple contracts for the test-base from places such as [solidity-by-example](https://solidity-by-example.org/) and the [hedera-sdk-js repo](https://github.com/hashgraph/hedera-sdk-js/tree/main/examples)\r\n\r\n#### ... with more planned for development:\r\n\r\n🔲 Better integration of _entities_ across the code-base  \r\n🔲 Pubsub mechanics for Hedera's Consensus Service  \r\n🔲 Other account operations  \r\n🔲 Better error reporting  \r\n🔲 Increase logging support\r\n\r\n#### ... and even more to follow.\r\n\r\n## The drive\r\n\r\nAs any good-striving, long-lasting, endeavour, we are using Strato to hopefully fuel everything that we, here at BuiDler Labs, build on Hedera. Our Hedera portfolio currently consists of:\r\n\r\n- [FileCoin-Hedera Grant](https://github.com/taskbar-team/hedera-filecoin-devgrant) - a development grant used to put the foundations of [MyTaskbar](https://mytaskbar.io/) v2, the more decentralized version\r\n- [HeadStarter](headstarter.org) - the first Hedera IDO platform\r\n\r\nWe're basically eating our own dog food. That way, we can hopefully prove that it's something delicious or, if not, we have a good incentive to make it so. This also makes it a good reason to not have it as a \"shot and forget\" kind of effort.\r\n\r\nWe will support this for as long as we're going to build on Hedera and, if there's community interest, even beyond that.\r\n\r\n## Documentation\r\n\r\nYou can find the [API docs here](https://hsj-docs.buidlerlabs.com/).\r\n\r\nWe do offer Live Editor functionality where you can give a go to the samples we have prepared.\r\n\r\nAnother option would be to just code in-browser using our [playground](https://hsj-docs.buidlerlabs.com/markdown/playground)\r\n\r\n## Quick start\r\n\r\n1. Create an `.env` file at the root of your repo with the following content filled in accordingly (see [.env.sample](./.env.sample) for more details and options):\r\n\r\n```sh\r\nHEDERAS_NETWORK=testnet\r\nHEDERAS_OPERATOR_ID=0.0...\r\nHEDERAS_OPERATOR_KEY=...\r\n```\r\n\r\n2. Create a `contracts` folder in which you add your `hello_world.sol` solidity contract definition:\r\n\r\n```solidity\r\n// SPDX-License-Identifier: MIT\r\npragma solidity ^0.8.3;\r\n\r\ncontract HelloWorld {\r\n    string public greet = \"Hello Hedera Strato!\";\r\n}\r\n```\r\n\r\n3. Upload and run your contract with the following code:\r\n\r\n```js\r\nconst { session } = await ApiSession.default();\r\nconst helloWorldContract = await Contract.newFrom({\r\n  path: \"./hello_world.sol\",\r\n});\r\nconst liveContract = await session.upload(helloWorldContract);\r\n\r\nconsole.log(await liveContract.greet());\r\n```\r\n\r\nIf all goes well, you should see the expected `Hello Hedera Strato!` logged inside your console signifying that the contract was successfully compiled, uploaded and executed.\r\n\r\nAlso, if you want a quick play-through a similar example, please have a look at [our minimum-working code](https://github.com/buidler-labs/hsj-example) repo.\r\n\r\n## Testing it\r\n\r\nHave the `.env` file ready (see above) and run\r\n\r\n```\r\n$ npm test\r\n```\r\n\r\n> **Note:** If you're targeting an official network such as a `testnet` or a `previewnet`, there will be a cost involved in running the library tests that has to do with API usage regarding contract deployments and execution (among other things). There's also the option of a `customnet` targeting a self-hosted `hedera-service` deployment. If you want to go down that path (recommended especially if you are planning to contribute), please [follow these instructions](https://github.com/buidler-labs/dockerized-hedera-services).\r\n\r\n## Contributions\r\n\r\nDo you think we missed anything? Want some feature badly? Do you have an idea of something that we might improve? Head over to [our issues page](https://github.com/buidler-labs/hedera-strato-js/issues) and let us know! We want Strato to be a community-lead initiative. This means that any opinion or critic is encouraged (and even welcomed)!\r\n\r\nOf course, if you're eager to write it yourself, that's also fine and dandy! Just fork us, add your changes and open a pull request. We'll take it from there ...\r\n\r\nOh! And if you ever feel like talking to us, you can [reach us on discord](https://discord.gg/4mYCre869F). We're über friendly! 👨‍👩‍👧‍👦\r\n\r\n## License\r\n\r\nThis work has been published under the MIT License.\r\n","readmeFilename":"README.md"}