{"_id":"@alephium/sdk","_rev":"78-39c8b33ad6d31f78f0dabd5e2b1ef51f","name":"@alephium/sdk","dist-tags":{"latest":"0.7.6","rc":"0.7.6-rc.2"},"versions":{"0.0.1":{"name":"@alephium/sdk","version":"0.0.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0-rc9","explorer_backend_version":"1.6.0-rc6"},"scripts":{"compile":"rm -rf dist && npx tsc --build .","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run compile && npm run jest","test:watch":"npm run compile && npm run jest -- --watch","prepublishOnly":"npm run compile","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"bf95cff6f558303961d3eaebe0350c49e0e594bd","_id":"@alephium/sdk@0.0.1","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-xj/uR6uPmZya3kAT3Skss3N9t+WqunvHxHVtCNlb3TXnA4+gPqW3AjYCiArwzznpUTcHxoH+OEV08dksGwLRbg==","shasum":"2189848270465da17b807aac8144d24d8568dd51","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.1.tgz","fileCount":52,"unpackedSize":219317,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHNrMzcZ31sVaQMhxLXk2WSbhCRLnsLwwnwXZGzNGhNvAiEAhuDmeGWrdFgqjL1xjD6TvqTE6dU+s1+QM0TLXFTZiw0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRr2wACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHEA/8Dys+IIv/BO5FNkp5lrzWlMej9AP48hoqfaLPVnEnEbL4ffK/\r\nI0dqIDVRsRDjNng65CdwUokZeXwDhGu9KNg0BH27tZYn6hpArcgxq0hhL21G\r\nOjU3AjisyxDH/dG4Qy2SKwWCniYfkLNna60ELkpEqoRrRGRNZ87rt8nifS9n\r\n42e4vjwHGZ+BmLsj1qW+83I99g0iLubGfgcIuGuiKTiid9OvNrUziLEf89Ax\r\nPXSC0UX88eAWUqv3S5aA1tzu1WCi6CWtJJ9qdhRBvXyLgHU2BKDolE4jd7VD\r\nzRjNLbECR4Ri9LBqhSKofq6JAUT2Nai6UxHur72IiFfsaKwpuBjV26nifXuM\r\nmmyRL5jhgLfmfAJvs8ytgy30AowTEYa67XV9ssKlxHSOMsxspMLFtexkscz0\r\n3IHZ3J3+wLFSJiPK9TpaB4yQyarRmJmdFJ5kKkwT6YonawMmaVcmKoxIv9co\r\n6Ijd2XvDGe126KNgvX5gvRX1P/vr2mXJgsKn+xkHSkxJAuGi7r/HeXQ+xlty\r\nhu72tlwJRNzdBf+WzJlxQuT1JdeAlegZDvMpnV5VGBgx/0hXKoLE+025Aa14\r\nyZ3/PtUnBf+tVr24Qq/64us+ktDWkgSr3LC+rmDaHrDpmWsn1QXbpMJmD6P2\r\nzn2PDe8Qp9SLM2tekw09++3FTv7Pl7XrD9U=\r\n=6yly\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.1_1648803248423_0.7620383160725879"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.2":{"name":"@alephium/sdk","version":"0.0.2","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0-rc9","explorer_backend_version":"1.6.0-rc8"},"scripts":{"compile":"rm -rf dist && npx tsc --build .","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run compile && npm run jest","test:watch":"npm run compile && npm run jest -- --watch","prepublishOnly":"npm run compile","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"1a4836902dcb4da093d2bdfb303c112b6954ec19","_id":"@alephium/sdk@0.0.2","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"integrity":"sha512-sD/KylCSUrDHDv2D8wg7Kfiqkmy+pq6FFoUGfM2rdnqkT/S9Y88glOwcpm5BCmaSg1CLYr4MQ4PV8+00BRlUbg==","shasum":"c77705ec2f105e1596e36b9ff901c2e972a1b21f","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.2.tgz","fileCount":55,"unpackedSize":229864,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3grYPRuICUH5TS4bVPvSOOggj+1C5513gdR2Fw0iYggIgVSj2aMxrQjqQGQA1YR7sUbyXX8MiYZ32H/aPCsDIgoQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRxhAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+pBAAoWvr/SJab3ouv2IuIr5c0glTSaZPv0CyzgFXUjdftyiVy7nU\r\nIcNEz7NOD2gDhEubvQyFHr+fBcquoQv0ZLZcGhDWSnSd4Zc8h0VNN8axKDoC\r\neYf1MoEiVYjh4B+A1HHkgNNOlHpawwDyDKHLaGLLjaO4hjzHFBGodt0jtAOp\r\nYcHYRmfxDV0AwhhPBaQMBR6zYzFyqhzBTakM5N9fV4VB0I4CfWSZ7ZTHOpYZ\r\noM1/29oQVslN1wUWwzAeyeQE7LZmYvcPbw5h6aiykvYJdnR0O3hX00r26YPS\r\nZVCwgv+ZG32FfZ7GDej/7h7I7RAc7BumdP0PsikNIOF8Ic1nPrieVhcGXSoe\r\nyAJ23ZItTDrk4YmvLM2DOykFtmWvPzvEx4lpBKW/v00WAN3hzHYjOtnx4kAW\r\nryXiKlizV8dlQ1mA057g1JN8Xcr5IJpQOysEcILLP+irfHgFyZ8dxdVr1pii\r\nlT69xgE0lm5BT+19uJGB0MWkFHyhmN5KfF5fNjUCT2KeTfZvLP6cJDJ1z9TE\r\n9ekMdPmG93pxbqcpfC/Is1kicDJolohYJhfVuEmr7mp7Jv5JvwffdxP+sL4L\r\ny2573rSHdPwFV+5UUBDN72HPvY/jLFc0ZxvzQaOdfTznoh4GivLur8wmkUE6\r\nGFJqqZy3iM3UCoeHCprz/emlr/+xksJW3u4=\r\n=IHK6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.2_1648826431883_0.6301293131875081"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.3":{"name":"@alephium/sdk","version":"0.0.3","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0","explorer_backend_version":"1.6.0"},"scripts":{"compile":"rm -rf dist && npx tsc --build .","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run compile && npm run jest","test:watch":"npm run compile && npm run jest -- --watch","prepublishOnly":"npm run compile","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"7b0be0470beb727dd63cd4620bd514b814fd5360","_id":"@alephium/sdk@0.0.3","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-hwRz8uNtZ22rMBiARVw/lugFWZsEWeHLikd7MGXHWPSl7glycW4MTSF78/vPMfu/c/ChEfnlV3tZtfCAg/Dqzw==","shasum":"c2e028d0e090c407005b6452d01223d2e4437e3d","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.3.tgz","fileCount":57,"unpackedSize":232013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBVm0hrCo4SsCTM8WmtNn/YaBSmhgsqydPr8B8MUe+NxAiEAj4VKkPB+OBnJV8rRSu8VxaE/p3/BWRq+AIUZSfc4uU0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSrZyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoLexAAoHODvY5nIKdwDp/p/6+WuGCCrV2FW5yQk6OzbCzdByM30FlS\r\nxGIZ0RHPImcdeCp0zZpJPMzSBH9L9mK5NGrhsIV1I+vcElcFzhf8M5AxChC4\r\nb6+PQY5S+FkHqPMlFeIFRQuVtsHuhKtCkSLyH0sEGe9oiKuCmMie/BHpbLWG\r\nj24DI+oSEg5Ql/NeQs3qy0rlZ5FuX2GLSzDHsh8TFI6nCm/mZQoj148yJwfp\r\ntO4tfide8JHJulUnAExg3S79a3NRaaoLVfdGWfhUYN0P30CnjSPvaQPulyJ6\r\nc+Fhy5GjjOh8yhTmJ83Y/lQ9Wulj/N1714EI5MLyNm7pXNhIc059KQwBe6re\r\n1IXtUOmoCo2Jg8wibjCe8aRh9uzi9t7dGEntSzq+57FOFnifnuoXrh4UgjKD\r\nT/YDUAr+WRcfMNH/iaoHaSs3lWKvkZyXLvkWbJndd5q64yP5JX4aq/vkX43d\r\nE5IQP6d1V3WOE/lwhw98nFYq6J8HCd9/dIGyppBucBJ4H2Zwgc9fyThUidnJ\r\n25eRqdxsD8Vl7F593JpWbVgG2OooAmPz/n7tLFQPASb4PeMQ143GjsJBr/Dz\r\nC4BBO6q0c2BHzV5L+CoxFHqY9LkLDPbk6mUkZ4IweumJT2AZL5r4D22K/qif\r\nXacpCZslRMXkJ1NI2DGVjw/MU5G0X1oQccs=\r\n=J+WY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.3_1649063538136_0.4569387383653538"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.4-rc.0":{"name":"@alephium/sdk","version":"0.0.4-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0","explorer_backend_version":"1.6.1"},"scripts":{"compile":"rm -rf dist && npx tsc --build .","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run compile && npm run jest","test:watch":"npm run compile && npm run jest -- --watch","prepublishOnly":"npm run compile","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"c188edcde5c1d43e25d6e8f00da8ac3066c3658c","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building decentralized applications on the Alephium platform.\n\nYou could run the following command to scaffold a skeleton project for smart contract development.\n\n```\nnpx @alephium/sdk [name]\n```\n\n## Install\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Packaging\n\nWe need to include the `.gitignore` file inside the npm package so that it can be used by the `dist/cli/create-project.js` script. To do that we define the `prepack` and `postpack` npm scripts that will rename the `.gitignore` file to `gitignore`, pack it into the package, and rename it back to `.gitignore`. Similar approach has been followed by `create-react-app`<sup>[1]</sup>.\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Compile\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run compile\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.0.4-rc.0","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-ODMNOhMGNWpCb5My+8pDbyZJRRUTBNArvyYOhFzncSnOpDI5r1zGPS+qnlZvNJwbdEDVPpmSCwlxkAutjQXEgw==","shasum":"7af8a15fefd6e2f11147e2bf4176900e4b6c1a98","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.4-rc.0.tgz","fileCount":57,"unpackedSize":233899,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoDxD4lvLippaZIwoyzKtKHA6umSQe5moJCimc0KRJIQIgCh66OYavUa4PGedRgZtYcnxn6wasJtRjnGsHMF7rEMg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTp9NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDkRAAk/GriUdO4Xwt4HzW9KHQBKY5Rhnap4srFWddkdCAQJdoZlkp\r\nXtuEkooODjNAlHx0HAr9eg8aaQH7nC5oSlqo04sUwN77yc2D5rYP/GjEktJy\r\n96MMzIvnImMtixbX3mxG7VDGro8pb5phSKb9mWFf7kgAUKUJXfKOpHWbzGL/\r\nBHDdPtejEPa11T3n6Cai0xg34f1iHQEaNqCa/iIdCqDZn/mWpN+j1rF97AIu\r\nI3e2JZBeOk/hWoqhNSxEuDefz7NlYucZKlsfqbmctihF8z6+Ws2Da0w+jCnP\r\n0tGnaziabtjEkFSuG+pVrlSVU7Mu3WEt6NyF/chn0jZ4w2EJVwvKu+faCACL\r\nDIrp4upqj7HexmTCbuiHRW8wzAOgWBNclewEVlDpSxAC9oVqsmANCUKP2O8Z\r\n2Ri62BgfwCfLkbdkYDuFz/hC9YFIitT4MHqstg8En562B7XD0BMGbTvZba5Z\r\n3U4kQxZSZJyTCf6KaCixyu5XfCsTsibRcCY+QCr3N+60J3sBoTX0WM1XU44c\r\niMmiBS6nbHFLCUbPiwT+kva/EvfTWBn7wP31MKbr6jkYn/FCAVY/sWy2cnVu\r\n63vKqqoVszmXf0Vpbdx6LMmE1b217GGWh3zS8ozyNcYQeq/O97cvUsam2EHc\r\n1IjurR7XwMEVhO9KiIoApGu7WtQ/hbS7N/k=\r\n=4ymy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.4-rc.0_1649319756852_0.9745007044217384"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.4":{"name":"@alephium/sdk","version":"0.0.4","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0","explorer_backend_version":"1.6.1"},"scripts":{"compile":"rm -rf dist && npx tsc --build .","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run compile && npm run jest","test:watch":"npm run compile && npm run jest -- --watch","prepublishOnly":"npm run compile","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"ebf5c5007e9f34437dc9d7a720e83c8b627a6fb3","_id":"@alephium/sdk@0.0.4","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-SYhnl0ylQG3WWIESJ6qF/oMjSF5tw7GBtkwrp82DFxvPN06n1T+Gn3kU1EYu+qRNiaLQ++whykxs6KWIUYYbFA==","shasum":"7daea5fcbef4cd6fbc2c9c764cfd2e9320ae9a6a","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.4.tgz","fileCount":57,"unpackedSize":233894,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFECTECzwDEQQZKjzw+uDZEy309S+raJ2v5MfbsDoNKpAiEAkbYPvIOq+YwjR3H1+o/eYMwWv2Fzv7/XQBACjNH3LJY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTqhoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6kA/7B1LTcqc1LKjqIqf1EtuYCIca6lRstmuFSVP9oL7u/IhtI8Kx\r\nmJLwOC02PV8Hdkq7AiRoSziW2k7SrkemULixbHw1lucDn6dkYZIvTaisLGpQ\r\nfhA3Lv3oUw+A+7KSl6AfvAgyYJxw/udmXM61J+nb0K4bw6/guDSw44usYCE+\r\nWX/xUrmo2nF6cfAT8FiXYFRPNyG8+qbwVvEygikrCx28PXE8HaHRnAS2QM3t\r\nZzuM7mrQ5D8/KjO7FtPOvzz1eUYA0vl/e1IDU5jHIJ4tOuVEqaAcPpfyU/fY\r\nnfRNFnqCksjtyR+7kzShfQpnwvgkN2qpErl8XweXEh3HRnJco8uEaCkbHaer\r\nJktbqn4uw70qA05qca3nIFFa3I4wHSp+AADk2QR/qRmrUCkOca6OpnZoYoPx\r\nPgJJucB3skpjRwNkIbcJVluv7b9UhbpboALSXJf+muFLqzGWxM6CM6QC4Aip\r\ngFaRpo9Zq692+gGNmCXVMDxHQLaY8pfahu3fUQzmd03iAPh84onwOeFqGyue\r\nLGJBCrBqBZjsddrT04arXpB2jOGL7JA2a19cYzr0syn/a/Db93bjoJ7xjgOY\r\n+IERXVWI5bvk+7r1+DQQl6k8umSc9Rsb+nRLCcXT6q9jor12I7HV7Iv6+zKk\r\nKz0JuUlCA8ud3le0ucQ0HZ8ldMPkQ54ZYuQ=\r\n=YnD6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.4_1649322087780_0.6414348722778589"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.5":{"name":"@alephium/sdk","version":"0.0.5","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0","explorer_backend_version":"1.6.1"},"scripts":{"compile":"rm -rf dist && npx tsc --build .","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run compile && npm run jest","test:watch":"npm run compile && npm run jest -- --watch","prepublishOnly":"npm run compile","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"9b0efb907768d014cc1943bf942c9d77e2f26db1","_id":"@alephium/sdk@0.0.5","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-jm99+EB8zWMu5WktNt6/8mVuR2Fo/21BqOw87t4mF4HCJcqDEhbWBm+KeU27XaijDmGLu+kMbGHFeyJ/nuAZDg==","shasum":"6eacb009511ff8d92e80a14633fde8bf4399b6c5","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.5.tgz","fileCount":59,"unpackedSize":235690,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfSMCBQW4byM80H13BquysEiqCtPDq81GipLpgOgK/1gIgCJlmz5ROy281TtTV8rD6gQMGfhg34xNch/XIl3FjuAY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTsp4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmph3xAAk40OHwQtLL747UncBqkAQxTRPh1WtyzUNhopSfTzmzjtHd7L\r\nGI0Ua58NGpvBXGupyrYa2QmhiAN2RQzJ8lNDEZSg5U2qQjFbuzuL4oHBZiwt\r\nRZApAB/E4eVZkZrCHTV3rGvxPOrYOUXBSLHi8Gbzr9d+qNvdWLutGl2ldtMV\r\n35Rhpr3dBHQvgJLXeDM8BcYA2swp2pu9q0GIB8zjs/eeAz4fa0XAdJXDfVoy\r\nn5t/XI5/mgKxiBdmmk8SV/8wUwPQ/Otpx8PWOO5ydSaHce+oKGCRrYSnMphE\r\nxJim3mXpjKbBUp6SPlTP7RfC8y+wVEJPMNHtJafN4zqmP2B2+doLnQKFkr80\r\ng8PPaAP2AdMSZbzaRZ6C4/9V+4WJLiQbv79ax1wwsCxVrrqnbAtHCj9zRm01\r\n0Ok+6PMmjQ2/DW7ZQ0HC9DGHrZQipV5aBWIOF2bWhwoJRtg6KDbx1YCHhgJB\r\nVR4ko4YDRP3Fr7EH+RuNGjseoqMQdPn0RtCOSAEQALDuixg22Xpnr+opWuh8\r\nUkhwoX0TIbJ6f6dNu7cLOvIUaYR53NYNp2Lo4T8UNDPHLwBCeXCfcagsVYrs\r\nRyL9d6KzyJAOKvUzw6UV67K5N9YH4Q/qyVvS2jW2BPPZUxuytpPWFhJYqCbM\r\nmUycjZ3h5tkuJPCeLVlYd6Nfo8BPc72jcmQ=\r\n=fI+f\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.5_1649330808282_0.7643409943476833"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.6":{"name":"@alephium/sdk","version":"0.0.6","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0","explorer_backend_version":"1.6.1"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"435030acfa54728d6c976d4592d0b0f2355a102f","_id":"@alephium/sdk@0.0.6","_nodeVersion":"14.19.1","_npmVersion":"6.14.16","dist":{"integrity":"sha512-uISjqXJ5Rc49VAgQpmy1+xdWT2IPB8iedPbOR2oJIaiHwuUjDe/i7kdeRE8MTiDa/nEp30KPQH24ARWj4SRanQ==","shasum":"53ba9efe8200195395502c5a02c98b5be241e25b","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.6.tgz","fileCount":63,"unpackedSize":2851330,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDllyUHJLfS9hCpbOQxdaOyjibLJEeXLvsJQl3f8kDLfQIhAOZgGKOPWIgHgN2rgDCDaWSe6wki3Kje5skA/w9xMk5j"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiapUJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoYRA/+PLXbS35mxPXRSx7mYdCryD6gbto8uyHKgh+xwgTrE9/k9JCV\r\n1A98rzmKWQRepuMXMEH1e2wF4vbVl9DLQ2ca/ltJ1GroT9cZfPiQaZMCKxPS\r\nxj1OuHQfYqwZ2z5oNl/LkmCRfRqu4I3uNvLYBnx+sCi9gQ5DLfXzii/O04lj\r\nGanby5AmZpaFmis5uFlGV/Fk/YxVKEnKGQOju/mzNSvCgP4NHbfIutMhsxuJ\r\nxckx79b2sU0j0WAGVI2pF2CZdXALV+hfYechEaAa8xiSyQvTmZjcHGK9unQc\r\nuXmcqVnFmr/3wpS8DjbWV/0jnXjj18WexKVPKlWbmlTRq8BqQhiprk3cGHfz\r\njhq8BkG5o3Ecx/QfOwfeQyTjq9nkSJ8GeIckg0umarlKh0x8brWFtoRWGJXy\r\nAXlPY21rj1af5ic2Nf3sAmrclQvuMdfOA8jIpdf9oiYuLbN7GxFutT5a1vCY\r\nXlcnzWVOypwctD48cH7X3lfzgvKLKCk2a7ikzKjfZq5jRPuyJT1pkpR1tr3Y\r\n7pC/AM7H+lShacI3P86daU1n/80V7Xx4HPfjwNLDuUvF0014+skvktts7m3T\r\nTK2/mgk1BybF60FhDR7sOKdSSjItopb9S0Tn4+SwLafs88LnIAo9OPTGaoY6\r\ni593jhnjanzeELb0RY/f9XZR0Aq8VA3SOkQ=\r\n=Xuud\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.6_1651152136836_0.6010273458557462"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.7-rc.0":{"name":"@alephium/sdk","version":"0.0.7-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0","explorer_backend_version":"1.6.1"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"a3fdc77f72eb6683404dd81a5d0067481a35ff85","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building decentralized applications on the Alephium platform.\n\nYou could run the following command to scaffold a skeleton project for smart contract development.\n\n```\nnpx @alephium/sdk [name]\n```\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Packaging\n\nWe need to include the `.gitignore` file inside the npm package so that it can be used by the `dist/cli/create-project.js` script. To do that we define the `prepack` and `postpack` npm scripts that will rename the `.gitignore` file to `gitignore`, pack it into the package, and rename it back to `.gitignore`. Similar approach has been followed by `create-react-app`<sup>[1]</sup>.\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.0.7-rc.0","_nodeVersion":"14.19.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-aHJ1td+8eHgj443/qxS1/dSysBSCmv2F0n/brctyScFlEe3gMyFkgqecdQP8blHipvMTeLhDV9RSMV92NozpmA==","shasum":"5e5a2c598abae209dd69d0e0d08462f6e65d5fe8","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.7-rc.0.tgz","fileCount":63,"unpackedSize":2851798,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvJT5b0ZUsFZsPZ6yepFCByhDXpej5YvhGPa+JHBvy6QIhAIt0TUm0L5NNFPRFlzIAeoJtAsSZIgxVqwoIGZlpbrd5"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigiBTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/7w/8CtQf7SdNRo8qIq3f/5oGI+clkKtk6jxo1c0BlI30TeZil9fR\r\nS4bCXMpWy7qUgmMc7S7PKsKWdkuF3FZLIskPQNiFKl3LeXldGXc1nejbxV2F\r\nd8cVKL2WJe2gOIDVRUJLBdGubq//KObzgb39n+snhr97m+559bfqrBFLpbUV\r\nY/4hnlkgeO8PowmhBN1WD0PgdNmIE5o9BCt/C7+JCa1VNv+drHHIQhLgLTm9\r\nG2SFEuj1UQ1BA3GtuilevMOqDcthrHUFrpC39SnRajh2yVQZEhxsrAF9sWcu\r\n6sgq5DoKXJbVEPTK7+rkAUlY0tzW16GckzGvw3FICIRRov+aLGFpxPMkgV9o\r\nmCCRtD566yGrasFRv0QAALCu94agNfnHuLuylFeaIBDFvauxfnt5hVSaKqaB\r\nGpW9DwDm0Cpp/7jjwS5lf7amQl5pk51nEtL7zPUFN3fp2OX9JA+DOsOP5vRY\r\nEWp9TeR15kXJEFAEk8Y9XCDMrPiAWPpDhNVB/AHETvCZTDM7MUNbbxcZMwX0\r\njPnyIsCzT2I2FtX6m9u5FX8XxlpiDHlHYDyPt/PLJF0/sjBGxzOhgBuslFCo\r\nm6QXLEDRD6tYuocxFKsKECBGfjAggMJnTZXJke6SQfuafkalieRIG3xYBB4V\r\niWZ1Vt8bdnm1sH+i3pPnbpMeuTw9S+GIeqw=\r\n=/uTC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.7-rc.0_1652695123388_0.7979000091240844"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.7-rc.1":{"name":"@alephium/sdk","version":"0.0.7-rc.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0","explorer_backend_version":"1.6.1"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"70d5477ba1eae4f1e2f9258f34ebc34620eac597","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building decentralized applications on the Alephium platform.\n\nYou could run the following command to scaffold a skeleton project for smart contract development.\n\n```\nnpx @alephium/sdk [name]\n```\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Packaging\n\nWe need to include the `.gitignore` file inside the npm package so that it can be used by the `dist/cli/create-project.js` script. To do that we define the `prepack` and `postpack` npm scripts that will rename the `.gitignore` file to `gitignore`, pack it into the package, and rename it back to `.gitignore`. Similar approach has been followed by `create-react-app`<sup>[1]</sup>.\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.0.7-rc.1","_nodeVersion":"14.19.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-V8XWKj+7cZ2HMlpLeRWmoKaPpunl/g9OI/3hU7relz2CYOgDcpPQRy45C2wZse8ZjS98rptiQU/N8EoLhOesHQ==","shasum":"89114ef24a811b5351637ebf3a519960516d23d3","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.7-rc.1.tgz","fileCount":63,"unpackedSize":2848982,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXXJmV5AWJ+NsIUC10oYrn9Aqi5+CDZosPDwYwQy7tuAIgdlTN0lJ/bHj+OC8I+vOmOFdFfeAYvWA2yUqQr7n8Vzg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijQ23ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmry7A//V48EOHXRf+zteLewZrncTQ3bffFDO3to9qdBaY/C5igcFGDi\r\nH159mUPq2E8xTaQdXGsFrnFZtAoU8n/Wf4WH0KQSUS48MB/Wt4vHaFwtPRk9\r\nkbxhpYXtvPCooB4UBcxA29NmJGnF/DlbLgtbPd4NE+7YK8KxnL6BmkyDLM+f\r\nf1FnG/foZf4TvLZt2R9HLtY8kIBXGIbsIOsGT32varw0fodRZ4t4ta2gv6kz\r\nkxwxHgqKxzfxTq/HVye6OYlld7PKAq2I/ctnFLVLa3FvwSr5BuYc6QUbd65N\r\nEebvn5GGXrAoQPUgRhrKN7g0Rx7Y9sXjWdGGaTOmU2HxXoBW+DqrzaSqKXt+\r\n6KQ4Hl/8d0nYtDsdR7DcguwVzhoTBecvruIVvkIWWMk8dNcyUz3qNZWM0utD\r\no4aPTB/ePgVsIfCu3Xr6BpXTNJP1xKX3XmGVqQ1dn+G0a/UpuxvvoFknrPsp\r\nU/qaT3rnP1CSyZXGMfVfKCq4rO23AD7NTqTV9b5sny/tx+08O9U+0EYxPeeI\r\nwU7NsY8VP1LxLmvsOEDYcgNNn50SSDhd/veOcpIqZxhLkAaUj9JqN2FEtkwp\r\nKl2gk/5ppFDc+kOiv1lhmJ7H3zjt5IObKjfmxecJ0ilrU1XoFkn+uAFfRhzk\r\ntsdGSxG9fNLtd/A+/5+ptaAK/sL7yk0oyL4=\r\n=CCyj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.7-rc.1_1653411255390_0.7363361502852388"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.8":{"name":"@alephium/sdk","version":"0.0.8","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.2","explorer_backend_version":"1.6.9"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"a882ed79e47951c939bcc44f4c9dec32d37ec7d4","_id":"@alephium/sdk@0.0.8","_nodeVersion":"14.19.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-ZWrbiTplblWfsHuEp2UC0Db90Y/T1ggg1NEGB+zlCzDYjTDHUqXoI5oUAwCuJh16BfmEr/wJqmz+9lJxQbZ1xw==","shasum":"55269beb663bce1629f6147f16dafcf3766afabd","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.8.tgz","fileCount":63,"unpackedSize":2856357,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5E/lmGLGR3XN8EKstjkgXsRV7Ii2R6FT2wy+IsNkJvAiEAvv3Y07UvS45yP92fgbCpDiKqogUGa0BmmEvbAaLbJeo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilkpdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq1cBAApMDDPANwCYnirbXr+CWJoULJYdGYK++7X3baLBb5mV8Y7bSU\r\nCTxGW5ksroz24QtdLc/W2VC/EFa88EF7YGC5Soc51B5RCMymdGgGVZxr77eT\r\nlIBHO18IpirQx0KqsLJ48a5RihaXNKXR6X8cq1qfBEgpscAKKDDOBwn5Pu4u\r\nijLaP+Ztm0FDViOcEQTyts6pHYkYju5lG9Y9KHMO+Xy8Tyw3IcGy8mubwe4V\r\n13VyiozYeGueVWOCrePmfmczpEiM+VfFf+bOaAEipfWaWTbhOB0xfOqkt69Y\r\nRVz6y62pJJgdVfWRSI/S75/R86RFa7QJRfjSXt2iKUHeW0IVlagLg4BN/Wu+\r\nH7mIaaoVekOb4+tyTuBKDtvwtW0189v9bsIvbQAl7+T04kQBVQag6bYLZ65W\r\nN4di4VEPKisxhtORWBRKb4rqIuAf4BAsWYYZI+F5SF/8pg5w4ca1HaQsnedp\r\nSax2QjjDJu1fzXki1eiz4g3JBnDlWFJGJLjL1xYE05Em2wF/BpYilQnkITjs\r\nyQwXBoQxJVOXRXAVIgYGXmogSlSXdQxqGUsQ/U3lETsqcwXk/Lhw6h6IVouy\r\nCZ/naK8GYledio1l6U/XI/FnBCGYTonvX6qGPWXGjyfR0d4NODKzbkmtquZG\r\nbyOeWLyKA20TxVQke1JbGI9Yqzf/QXvdX6I=\r\n=vHPk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.8_1654016604989_0.4268835078777433"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.9":{"name":"@alephium/sdk","version":"0.0.9","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0","explorer_backend_version":"1.6.9"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"366b0a901349277415e248b6c4a12976b0b1e64a","_id":"@alephium/sdk@0.0.9","_nodeVersion":"14.19.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-Iu+UjFopbAwrDkOqteqsf91BgbToAOqH8U/o0p83aSsp51PqQkDCS61S1R9457v/t3Mft+zmdbTy3j0BoFlD5A==","shasum":"865b4e61957f209bde1c2a53b527329f6907311f","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.9.tgz","fileCount":63,"unpackedSize":2856357,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfCnWSPJ658UbnvpNOhtsPVfceFwjHvCn1v1sUgHCYzAIgCr8a7HZ0LmOCMeCeqrFuV3bGPN897PEQbt/PKRbYhKU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilkyxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq0aQ/9Faydl6QolpqaknCQgBLER6R1RMvsKjJ5xW/n2lnuFOFGH43B\r\nIKpUocmBI0eJwXko4xCsCTBh7K3OajgG+aTAUb5AaRjamrYt5VQpcEaFWM7P\r\nh3YeV68+CSpTNCuYpN/3hjYO7n0nAh8+SFPdQWD3chS5gugZSsjBPWSO+ESx\r\nIxF6julyId2dTnMe5Gwvf51f37IgTevkMAqcv/q3k5/RN4QyWmSWEMjgQT5O\r\nSjc8fbuYtPNDp0AhMbfj/H8yFRhxDb5tobu6uDN2q5jv2KVuvxCDhb40w8Hm\r\n82OOFIlA6yIu85xNcL/RzqmfFlcDplZxCXiPG/yVhObD7P2AZYuY+AxY5z4q\r\nkuEtMl2m2K4liLsRZppvvTAxbqGPzl/3azp8I+frSa29DjQHar9cjniZRuBQ\r\nWwPdUxRPvL2Ij7PU65DneRmlUCTNEkJo+xt4/a7Jg7pFkSzfnwdjgrYj2iCX\r\noSOc6oc+wypl6EfhByNt3X9cE5/s3rMHFi0vl3wi6Oz0o2qgi/0zZmQb0IVR\r\nQiC6WCZnB+xcyMKSxBuMHKEDJYdsCz1WW4lHVLjI6ieqL2pkhrN5ueytb2n+\r\nhrBK7k1qo5qgpPfLoOW6SE2X/lngvxwVneaDn1ah8LdLl3BfmPZa3tia0Ggc\r\nf1NyfxDzWsJ1Vm5sureuO2PgASgBP6UwsNE=\r\n=kkpS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.9_1654017201472_0.9964962988314716"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.10":{"name":"@alephium/sdk","version":"0.0.10","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0","explorer_backend_version":"1.6.9"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"4603ba23fbc105fe9e0859beaed43a584ba93a28","_id":"@alephium/sdk@0.0.10","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"integrity":"sha512-OGcqgIidiAngvrjQFV4SGRP5y42eGrcOJ751paae2FA2eUh6ZH+9ZZbTRGatdewYO0pa8vikrb4TG+vRq5d9CA==","shasum":"cff163632fdc1d6b8eedfc711766b0e768e7df60","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.10.tgz","fileCount":63,"unpackedSize":2857302,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUvX79dvPnoJ3WB6LZlupOCkYU/CiSEbFJ3xwdq5MzHgIgBmKezF0XEHJQw3zf/ruS58+h8IM+Nwu4DKinxlfVezA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJin1pPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmppoxAAnKYl2I1IBJ2lR69QMh3sLXAlIyEnZpHMmDEVrPYwrVh8XEPS\r\nGUsgBYd3gjoTy8jQ0zsEkP/5gZ6/cOn3FQOI7NuEZaUSChNdAJYztLF9QL2V\r\nwmsTkrQq6tAtInjpdVciunsuxU0etEQmtSB0lby7McI9wkbSeLiltDXP0W9+\r\nykrs3+JhOSEVRl8g5lfbflwsd185WxDZTVwGjMgd8uDZm3yEHCH7BisFIeNY\r\nAplmxukzMWDc2EZAtdg8Vrq6OxAPgOLzXFum3XXTcxKiogFE6I985clor0BV\r\nDwG/uOJsnoGs6Z1JOQo0LkCjeax+d65yp/7Zzb0x4AYLb6Ut+d7pk7SFrZHt\r\ne219VY5gD2g0/EN9hXzKI3yVQjE9TWarzUhiZ5Pnx3HFjVMS2URIIQWvS9wO\r\njg8wnMISPWAAJskNpPvpeJdJBl8MdwhBnalRtBBCoda2ifeV//bxp1MduWzO\r\nn+SPGEoYWKUHMLp0xCjfskEWOtOtMWSEcOtveD817M35xfPpTDIM4sX5mBz/\r\nL3ij5zLL2Rp0dq/0Fk8+Naf0XbkOcxfDzQbm8Qq06zl12kDO8HUr07M+R4yg\r\nuYb1IkQOsgDCl3iwf1V3lBbkwrgk83jqEqzruhAmUfq6avuoEV9L+yP3KkRr\r\nz/g5wm/oeZ2fmWFkfsA6AKz/iDnoatuGd4U=\r\n=fPiX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.10_1654610511234_0.18303093101440426"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.11":{"name":"@alephium/sdk","version":"0.0.11","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.1","explorer_backend_version":"1.7.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"db0a00ed68954ba6a06f74bbb2d85a35e730fe29","_id":"@alephium/sdk@0.0.11","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"integrity":"sha512-6+ErZuDU8xF0xS3WtJiEbTwdiByOdXjZjFhn0j8vZP3TSVhP7G/Dr5osDGubL033IO0YogSWi4cUVc29ryQwaw==","shasum":"20b49210c91d808c1dba06ab5e701495429eb316","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.11.tgz","fileCount":61,"unpackedSize":2404766,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZZqXCvR2b47j6+OzH2dtEPiBpyF9moO3jo+XMfa+Y6AiAdCuIQUZX9Ver3Rzz8tGzdtc+E2tjdpJwlyYDOzYegrQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiscMuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZhw//SlUuemklpw+y8mBoAd/uL0uJMoP+JmJxRqniz85RvnpFnF1R\r\n8XudlPP6jYWPQ9d9YeYtaQEXpfQohYCeFHpaoYaD5LhA4LCHqdTAdqe0767L\r\nYGCCi1RDuecct6et+R2FvtLtflEKCShUP3pVfYSgQid8hoNJZ3zCcbjVjiC1\r\nJ6hS1//IeZnRJCAQQ0+k+8//yDvDcIv88zYp3poPprx4m3Rro+rnhO33UNnc\r\nHTJTadkFva7olcBzocXoJKmv2Ape9Ld//nDGCO9C9z/AQSdNNWkexCL5Wj8M\r\nKhREhTsGnLngPQW3e22W9P2e5HLeyiKwewH+doh5Ji5aOe2EhnFLgnTm/mtm\r\n5OhEDVTsPSO/9iPVKU3CQsFcqagKCwNQXNWc8xpmu0r7PLJGl0KVvJv34Gpt\r\nT8wV6vLBtuYHDQaryfCG6lflK9uu5/3Qf0gJfKzLzfj1YD8Frdoes5JxmDD9\r\nt7thlika8CtCHBR6Eo9LDaGjNI2W96806V+g/q+tc2sCidkUTTMXCoCJaAAk\r\nnH5d6ohPjdgbp+vo2dS7DiokkdRawTA9uJBf8TL7WxyLNXdVtDLUk6JbJL6f\r\njQ2BsWaFObsECSCpoGS42RzoGgu9AMfpI1TMhQ4LZ2Qi8K+N+Qca4WrDoeTA\r\nyVR4OXH9qLuxhYS3H0+OmRMyDzNEtL+kc0M=\r\n=RpXZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.11_1655817006496_0.8023088220039025"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.12":{"name":"@alephium/sdk","version":"0.0.12","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0","explorer_backend_version":"1.6.9"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"75b6c24779ffe8e16c73b859bf823ae08782a602","_id":"@alephium/sdk@0.0.12","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"integrity":"sha512-NhVxKlvF8QEF2NDl+OCMaNKm2FvMvgWxteKMB9wVVtNqweCaFqSO0wxrMD5+iE8u/aRpe96kaFGgaEJt9wTMsw==","shasum":"a89e620b9c47b28afbb5640fb1511256164fee6e","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.12.tgz","fileCount":63,"unpackedSize":2857615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID9SPxcN08BcHBMpsmq+UPHIFOQFNl8uUTpzVvOsNWpgAiEA4xs6Lvf74WTZy95WEjtPc2EA4iA+bC85727540tEJqs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixtnvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQTQ/8CUZY7+C5UrEEyLTh0dok+U1BGp5KtgwJ0PdU1Q+4pCo7ok6Y\r\nnMAAMVUNdERnQu7kV+KSgIxtR2tM5aPV/GGSjkwivZsAxCTKOXeODZOm69k/\r\nDUfx1gpnN57XfpENAiw1xrgHxnd5wRg5MY2FiGtfp67WJhNiJ1eI+6hA3fSe\r\nGcqssM3y/D73+IOa6VTXcWros8XlYqk0eZX4qQMLPrGtZmrImqWVD6VY14wP\r\nK4pIN2ELusWVkE3sJtbPdG7fHl3/AD9SNxAwDnbIMAocVWrhqzk1P8ubbxVY\r\nFNCNfLVY0z5YpsjeiE1DyqwWAajHQizCihYJU6xaWGrCmb6DuD1Q6fLbZ8yj\r\n1Mgddt09TA9awpeHodczFQQZbn5xuUoDz4BkKkcz6truJzTJ3CNIf3cwUG9/\r\nn3/GoOYGJ536y9txGv2x3KFa7O+oB+XlBpgnG6sBv8JHlmTvniD172WszW9z\r\nQetHM7nSQpfuHkdbyFagzABZeBA2+IzX71yUl5DvNKWPzD3nHvD1ZgbC6yaf\r\n1eJ65NSPzyLPaPaXApBQ14VwnSnU/PnOxVoPEySgOfB8OiaKSSvwU78R021s\r\nWTJ4tTUTh8hbBDLIC0IttHB/52zpj2dACBMHXEZf+qDGBetmu7EPy771M+6U\r\naGEmL6Yn6Zx1pgtyAP53QMvMTLnj5vlwEYY=\r\n=BlJc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.12_1657199087096_0.6607552173093671"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.13-rc.0":{"name":"@alephium/sdk","version":"0.0.13-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.1","explorer_backend_version":"1.8.0-rc1"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"398fe672519f7cf515b0110d5dab405e5b5c853d","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building decentralized applications on the Alephium platform.\n\nYou could run the following command to scaffold a skeleton project for smart contract development.\n\n```\nnpx @alephium/sdk [name]\n```\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Packaging\n\nWe need to include the `.gitignore` file inside the npm package so that it can be used by the `dist/cli/create-project.js` script. To do that we define the `prepack` and `postpack` npm scripts that will rename the `.gitignore` file to `gitignore`, pack it into the package, and rename it back to `.gitignore`. Similar approach has been followed by `create-react-app`<sup>[1]</sup>.\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.0.13-rc.0","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"integrity":"sha512-fCgtwbvQmi+eDqcQC0eLpE0pyl88Vb22dDlDdnOukpiwmvnrAlA5H4pZKTO3yvkik3fgIPCwcMHYwvqT1X5U1w==","shasum":"44aaa75ae702efd92a9b226948db078662984e22","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.13-rc.0.tgz","fileCount":61,"unpackedSize":2421230,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjvsGmUtN1ypg22YgrZaDUKHmMJze14toXSXo79nEBVwIgPFwY7oH4ZcSb/drNA6/KtNpKNTl9/Es59Nb6uJSlowc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizBa+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJIQ/8CEVsOoTZgv2UO8WdDQ+zIpILV6fTobUgftMwzikt6yVJ9ziC\r\n92NqbbtIW7hPcSC/1LXknPk7A+8LO29Yv/uY8ZpX2mvVZizQcWab9Xh6pibz\r\ngmTViz5SWWQi/Q4aXJOVJtALKLgE9TWR+w5A8rFknKy2mPq9US+TAVNBbucB\r\nA13AHD5HICNY1uN8xc36PWC7Yv2/Cc+ULVM/p0qC3Kg//cPw5QLlBFJP5gP1\r\nj6CCygrwQbfU8N8pR/o/tEKGCwQUN0FQuhPPbz/GW+AHA5XhGjVdquPvyyB2\r\nI4TG92IK4VTY8gqgLttU1pnSVrHxQCov24ALxhrzYKBhGUnU3eyZNk8Ya9gO\r\ngnOpdC51bmqBNYe9d4IGAncoKHNa4X4TT9N0zSTtABQk6H0XtBff5j3A3Rge\r\nJA++QaMr3ahVLHh04qGObxInO5TMBABFzaASC9q2RoY2grBh3d5uZZlwgGrK\r\nxlmk0KquCDsDykrhf5ZH8CrYdFMlOcArkWhBQYpm3zAz9ay3tmXjRYspyDm5\r\n88egha8un9WoZXCyP8cqXOAPP3d2FXw/8QUUVbFiy9O7fKSgiDQGHtqwur4S\r\nE36hJ+REUH0KQSLYNErXVqjx8pR7VoD+lTBkA1HfB5mdTvTWNekizT67O6zS\r\nS7lB1awP+SlHyvmTUrLtmWSofm75GODZcvo=\r\n=C5/c\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.13-rc.0_1657542334200_0.9631390367040416"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.13":{"name":"@alephium/sdk","version":"0.0.13","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0","explorer_backend_version":"1.6.9"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"0975577b3a6f38070e979474946ef59fac522c41","_id":"@alephium/sdk@0.0.13","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-Nba2GhnvfKlxDkEH09p2XkD+RDITtA783HeQPTILBHGwaad0BPWeom+aiNJXO3xyzLDlQ/PHISrm+9yNrfKYAQ==","shasum":"2b77e8011c4fdad7151f27303356ae8f1af99c99","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.13.tgz","fileCount":63,"unpackedSize":2857974,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgwxoz37xoHT9g7Y43fF/EIhIo/KPLzKoIOS8rZnY1uAIhAKjI6Xu06FQElPM4axjjJjD8V2hgY+8J9m2XSdfpHbvi"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1WukACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnKxAAoL3TBxVFB4ly0CPgguL0LN1WPRWJvxki1JOytqApuzv61XWo\r\niyMb9bnybsc+0F93O06cWBSt3A226t/RRE61fOrpJotpk9WM1nn3xt6l3Mak\r\ndI001w0emw/Hb9gVBZchT13lhoUiGKJaVcLtmBcE5qjfu3GypBP+zCpQStaV\r\nkyAAGgyYFgXsSUjRZf9x51sfaIVb1LuUL7lus3Ck6A/mTLj3IilPPvzYDi6c\r\nbTybL3jMU6cXboh0svhjNn3QmAIUUbpsOb2qyhrmr95oFAbSKMkyWb3H0/sN\r\n5982NCgB+U+CrIU6NbeOtheObkvAKKfHx90BB+NupIDThgjegj3/LvkfqSdv\r\nHK039GpH62zEB2ySI8ltfYMW0VGh0MUIbYi2q+yCTTEpD/1oeuZ/sT838zWY\r\nGH9y1KjAlz+OzjPgUD0yS4JsF8rxZAs13HkwjZagTDx8k/VNwzhrPf55MBrj\r\noAuMfaXdujDjNsdzN8VWsP+FoVoH3/polXV1OIG0w/jy5QFJQfQzAaxTZ4dm\r\nlL5jektSuV4Ggyg/+3nSZs3ts+PHeCCjrn/IDQROY+pxEyjEKOyt201DGTGY\r\nc//rLVe+dbJ57sPZ9xGDBOsscEzZXLDsJDH3sGU26RUDH8H7cCGf6odcAf3+\r\nFjBIB3DRcyzF9kwtYvHJwc3grVxcRHX8x9g=\r\n=tQLr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.13_1658153892322_0.6058491338558287"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.14":{"name":"@alephium/sdk","version":"0.0.14","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0","explorer_backend_version":"1.6.9"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"e507b2b5c07adb95b877afd021c1e884f2a5f3b3","_id":"@alephium/sdk@0.0.14","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-/XTsfQKmX4ml/7Z7LRXx4NebeWcohxUWRqaJHBvIJqSI4AESmzV7nNUGqdgPaLZrSMXOChhc3B02+7gWC7XuKg==","shasum":"8f1f0c0c0055c2c652c27224f154b2a809402b4a","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.14.tgz","fileCount":63,"unpackedSize":2892437,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6TgSDmZOVrdmue5z3SBnwkEoj4EML0nmKz+r/GBxXzAIhAPVpZyFbq+nYiboxTt1Lzgd/bIFGYihe0MlS5rA/dfUU"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi68MSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHug//XmpQvYIJbs3foqSpNTLAiWz6qcMn7fvEnqtt+Yd47hxjqpYZ\r\nHVEJhURgPr9Ch8Nv9eFpi6DIFPAzgabEI9MPcW3YY/yB0RoXpDcMXBGat++O\r\nt4ixPrnQxgMVT49YftZkctGABrn8spL5TJl8CYwV9tZV8ejgxqqnysH0vfnT\r\nCof5I9ZEWlZD+rePi6W7VVTGV8myHHUaql37snwWaKQyi7/UJB7KicMsx7Wy\r\nCKfTud8hE6qav+Y9UEc9mVIB0TiYmEZd3H2wV+15//QGGnUmAnn14ZtUVueB\r\nwMyPd2lAnPaLyXaL6dDP9x02iJxqYdtxPbTkWCuzjaRNmB0kduyBZxLD+hPL\r\nH8QTvxXrtbG/4mztv8zjOAOpMSMlRJOhqXMHfxqqRYOAdocatbFEoJPL3M/n\r\nHRh+n4mCFZf91kHXyV0WJDDfWjXiWlU+01gkjvPqlDWdMrx/kEAxSwI34XjI\r\nUAhvNg5Jtq1hmfzzF2zS+AdIj/zqhHcZvxDO9FfeE7hV5/NtjxH7uJXTii9A\r\nl9yJzp0P+96Hf0KkiT4tM0+7ghF/75xdFnpFeMFLliNIdyyQMqUOldfr10kd\r\nCMDgb/CuxDAhWvpsFBGI88xIJh2rDy/31wilv8TElf9JRxB1iomnIkoxaixP\r\nVVV112NiAitOE1/jucnJKYvtLdhWfj2P9Is=\r\n=Wn/M\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.14_1659618065942_0.0264323822968362"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.0.15":{"name":"@alephium/sdk","version":"0.0.15","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.3.0","explorer_backend_version":"1.6.9"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"60b57b5d7153c0bcd10cd821f36168aed22d08f4","_id":"@alephium/sdk@0.0.15","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-wvIZrLh6v40kK93ttBUr6V+B+mlgfdIFYUiLGUIpZcR2j726FSFNE7CIsGUKQ2Rxc/yh5O5sH3+7JS8Hr3w0dg==","shasum":"c71352b6b20601e17d14269b7b86dfcda72511e0","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.0.15.tgz","fileCount":63,"unpackedSize":2894101,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFU9+E+EztG4R4hxXTN4VAvRRiGExWDpS8ePQ+a0tacHAiEA4449UGK/74oSvJElJYp4gZGffDTOht2wkH6dzeUOtE8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjB3JbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpgwQ/+OdKcm/FmWhnw5q6nQ/aoSOTk8txqbGMmobx4IPByYgn+Jlio\r\nniICbLnuTlCbv8eba0Eu1KRMa2O5w5PV8RFSLOXRDb77XxraAz7uz0YdV+vI\r\nDHEyLZ1seGyRHqCvMP4SglktJxMu0gOImQUcqCyqDIVwIStB/VBFvIo+bQ99\r\nBQgksBStPKP+WHZvTXj4KEzaHkt2TmbeLgZSB2TfkIhSThd3GUP4l7vxLPlb\r\nqwIMNVwh65EhWs1oDnX+rDFxAYKHIHKsz6I6qcx08XTmJWviBBl8EST5aC7x\r\nyuk3Y6wmcyGwod3LPFPSRTn3qCI5oXGjHrsJYWdPK35xMZdY4sd0XmoMKlxm\r\nUSzdv6klwEv1zjRgA31NWaUR7aEJWeXCev7K4RyyM4lRK9H4XrSlx+EznAlT\r\ngxRlyGgU5Uh5NbDKFmIuTlQCsnwCEdvCEDL+zxrS/pykNHTYuBUa1+gq4rgW\r\nkCrY5Qs55IUp/vNU2DIm2oEhPpgjhy1SM+szXHqB1sK00+jQrCxODbh06y+X\r\nmEJB+aW1OTUzMxaKJLA3QH6u84EUvF9q3V7mknXJ3JYSRCqSzlyTQ6CKzbjH\r\nNjaibyNIYiK8OyxBQYs2uBsK4DXNHb8d6R6YW107ssTmXpn6ppZLo8NEnsem\r\nuZou+fC7g+ncAjYk5MaKsLdmxKYgq1kiJU8=\r\n=ua3F\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.15_1661432411452_0.8591192540944261"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.1.0":{"name":"@alephium/sdk","version":"0.1.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.5","explorer_backend_version":"1.8.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"ccdc98a0e0403d965d11baba4edf696e192dd0c3","_id":"@alephium/sdk@0.1.0","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-7+BENuSaN5mZG64Uflp0tPDRbKJkQiZsE40o1vYOmLkveGzgkitLTmvn9JZ/ey+oEt8HMWosl2VWqq4z9E/sLg==","shasum":"3411a61692f37ef0812489842218ca45830341f4","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.1.0.tgz","fileCount":59,"unpackedSize":2449588,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICADSPgxrjf1QMnmSeAKvqY0imW6BxRqIenpr2haE5DsAiEAp8X8DoFo3VBia/phGCwFo5y4rgCKReC/WZgUoz0dKYo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGIscACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWtg/8DX08uGAFuceZiSbUk9HA93i2CmRSxXS3D2OvoyaLja5wY1dK\r\ndm/cJ51Luw/hVZ15ZBRWGBEhdnKbR+Y4V7ycoM0s7ASmVc6CcTJTLzBa5rYe\r\nNGltE2R5CLzJIZ4KTzdL3jQk6Q1oJnSre4FRjbSc0FifkzVGLr+mPoNjUXae\r\n/kOnyJs1MfY7OXHDffbE/SZNASwT/ET5a1qCSdTf0GOMddEt09lnKnNVAIoI\r\n+QbFneynFa9BkvTUPG1oc2dc1UCbnI6yeGP52kReWIrg77ynDK/u7aYdVbxs\r\nNfVxwimp1kg50rq8Si34VYfuyquNZMv2JAZTaTIms7mhh5Ec6CcVhn+RTMKy\r\n3L5zHckjJPJ1dKyDikkNqgUBoTo11TW2fyURaowziQ1ztXDUmoAo9I8Fzgqp\r\nAW16K9AcVmDqHWIyucYSgdSS5FDvUA/Wxmjw6mlQ79bmJV7RUB5NOwl6kwTl\r\nnIoO10zv7CaeLenzpWGLO3elB3GPRPgw6afDu/MHPj0zPYJi0t5BdxzeaHxU\r\na+C+UIFXd+MXj9aYn9qKbSdsa3pdw7omK6YETqmGysKq3gKdM7rCNNBayi6e\r\nN2b8/yrk8AO+5W7szJq7I3mDteV199uWDSuUKZ8ABNaiQdqXMGlB3YhOUwdP\r\nma5cCZn81dpfTiE2mwY02IfY2WWZKwIH46s=\r\n=IqFc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"lf94","email":"inbox@leefallat.ca"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.1.0_1662552860172_0.2805619805560111"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.1.1-rc.0":{"name":"@alephium/sdk","version":"0.1.1-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.5","explorer_backend_version":"1.8.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"cb0776fb5ff5fe30d69f4c2b279140a2a2bcee55","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building decentralized applications on the Alephium platform.\n\nYou could run the following command to scaffold a skeleton project for smart contract development.\n\n```\nnpx @alephium/sdk [name]\n```\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Packaging\n\nWe need to include the `.gitignore` file inside the npm package so that it can be used by the `dist/cli/create-project.js` script. To do that we define the `prepack` and `postpack` npm scripts that will rename the `.gitignore` file to `gitignore`, pack it into the package, and rename it back to `.gitignore`. Similar approach has been followed by `create-react-app`<sup>[1]</sup>.\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.1.1-rc.0","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-N5UZS2xhtAWOUQ6+/MF8S+KnEqE+osZmHlub9cVN73NZons31j0GhjB419/ScCa7eGumtm4+d279KTZk/FXBIQ==","shasum":"23e3b0345a1954437f43e7f1da83ff046e1335e2","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.1.1-rc.0.tgz","fileCount":61,"unpackedSize":2454107,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICu0rC46x4QC3AaGzCLiYN3gPXlTubTfgcD9AonJBFISAiBu+yuLRjuHLyi0/D/2JRTnHQKxozWU1ouAjE0ZdJe2OA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRrBsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoxEA/9GU9L1LVAeqWIZ6c+pRFw+8uZ+imdCKba0x2eUBXh+NIBGuCO\r\nRzNf/8um7YCyQTy4GsXcQ6NpPkOtD9aXLFCUgcBlCAoZX8zK4hTZDKSBdfxA\r\nIxF9uPFlO9mZUqs4/F+IuuN1vHbft0fWy/UAwHLECjeHE4eAUz6kT+xlxaTj\r\nOCyi3sEn86sCgLlgZ0Jkrhda7mmu61zeVrABjA4q5QLCg/WNzXHx0VLxZ5ZP\r\nYK93CZIfWrtop5BUAYQrUu35leV5kAOAHirIkFkNjcRaLr8tc/Lkr4sWI43P\r\nVglzuZB/KwyfcGJfr5Lownd7Y8QN2H+KTcozcY9JWuSSk3H1x+1VAlX2E6pQ\r\njqJIJ34M1j6rW0YZMU5fXilkvPSQ3kQUT0g1y5GlCXs4AEG2b5yc/hNgVIRn\r\n5HkeHP/bT+ckyLaj9efXxQVuyd39QtGVFCdFRu6aZ1RA00CYhFhUGWoFjeVK\r\nvQESfswiL3wpRLj56wKYKu0gI2IeGB+8xlZsQLT3wTcRx9Cp14yqtyzf4bN3\r\nSCZ8UdCtgtjvZ19Flb9bmKMeEecNnlhNUH7IKt5qP3JzzTORRLQITVcV0HVQ\r\no/m1MFF+SG5Osn5ZJW8bhZI6xfMEq+lJV5muWYCmOQYEgzVjKJf2EG8YZgXn\r\nAsWG1Bp8HazQuLDJyf2DGzWKXiByU7btYo4=\r\n=foQK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.1.1-rc.0_1665577067932_0.5396556344496073"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.1.1-rc.1":{"name":"@alephium/sdk","version":"0.1.1-rc.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.5","explorer_backend_version":"1.8.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"dd372a62eb5fcaf812b26b2e16cbbe496cdd1134","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building decentralized applications on the Alephium platform.\n\nYou could run the following command to scaffold a skeleton project for smart contract development.\n\n```\nnpx @alephium/sdk [name]\n```\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Packaging\n\nWe need to include the `.gitignore` file inside the npm package so that it can be used by the `dist/cli/create-project.js` script. To do that we define the `prepack` and `postpack` npm scripts that will rename the `.gitignore` file to `gitignore`, pack it into the package, and rename it back to `.gitignore`. Similar approach has been followed by `create-react-app`<sup>[1]</sup>.\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.1.1-rc.1","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-X1pH58MKbBYkqBsvNE6YnFAZuFrxQ75pWRfhIJGwgmPF1KM1zDX0ob6YQnUZmNz+pkN9vtghPn3raMKghVsjrg==","shasum":"0969df221290f4c1b74668eaf0ebd960b4b22a3c","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.1.1-rc.1.tgz","fileCount":61,"unpackedSize":2454192,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHlgrZxtH7m3O34WLzHwuNLCVY3Ng2euXA+bWkmw90q9AiAFYZbReCI5WBcvHa+fsMcPgQ3V5JyzUZJZfgRSARFJYQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRsC3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr0uw/5Aaitxdl7UZ1rtfWa2lgNoIoiUAXj5hdWAWzM/QzNh0AocfKY\r\no5Ebt97KAiMDaIZUfQLYnNqEQq7qGvJhJHtaLPnpM0RNiE3WbK28k4aVwsBZ\r\nKlpZtyiXHt/C57G4dbcadrcv9Iv7/x/iGN8jaz5bQYhEYk8mgjmtMzMNitxC\r\nTj/7KClHKCB5kQ9zmY/sSylGo/Eu2lyCDK/6R1A4I6yKi7aun8tXAJ8Jk8s9\r\n1GY29/zDyIckSPkuteh+Kd+S9io9fvHFIJr3n1nEuxPUCt7nrKXEuMn3CMsb\r\nkPz03CNlZxU4EnWly/P4P1nr8Yblp+5+DfZYXnCj32mPym3N1XtaBFZEyzEn\r\nQT19gTCkOd94cDXxVNX1NDUpvFl0qWwK+rEBkWpg2PAsJGIc1739dTpqauim\r\nJEqyh/7cAPuBtzC8sV9dHiGv77p80aEpw2Pw05SVSGq1PzOfOMt1jt8rA3v+\r\n/W5ePwjKIGx43YdX8I9kRadZOOBmt30F7ZgLWGDX2cIjx+Y/SdceuygqeuXJ\r\nh6T4M6BtguzZUyAvOF6OyfPCjVoy96/bdbyk6jEXd9ipnOAAiTpwSSfdhvC9\r\nFxnnRqfgNN5G8BXnMWNUH1LC6BZKO8Bg5+K/eavB7uYBf98NFJK3mgt9gbnK\r\nIHiMj+2OTuOhPx2RnIveMSpvKhNi/UQf+WQ=\r\n=oS99\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.1.1-rc.1_1665581239108_0.6653421420657761"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.1.1-rc.2":{"name":"@alephium/sdk","version":"0.1.1-rc.2","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.5","explorer_backend_version":"1.8.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"9ce248f052a60ab15922e4c0d18b8518eb99da7c","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building decentralized applications on the Alephium platform.\n\nYou could run the following command to scaffold a skeleton project for smart contract development.\n\n```\nnpx @alephium/sdk [name]\n```\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Packaging\n\nWe need to include the `.gitignore` file inside the npm package so that it can be used by the `dist/cli/create-project.js` script. To do that we define the `prepack` and `postpack` npm scripts that will rename the `.gitignore` file to `gitignore`, pack it into the package, and rename it back to `.gitignore`. Similar approach has been followed by `create-react-app`<sup>[1]</sup>.\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.1.1-rc.2","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-V7DKQjm0Z763Hm55pE6D99dFR5pX1oeCkn3rK90i02GN6NL0Z8CFt3ovABtdDPBPfCc2V032gnEGgweSexbRQw==","shasum":"954861e20d379ae1ed6287cba0a8308a1d1b1d68","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.1.1-rc.2.tgz","fileCount":61,"unpackedSize":2454737,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH0BTQyQr8xFi2UceW6cC+mpWH23Ib3LnXmVSPjz2CVsAiAcz2jSNMf9/jxn8odtHvSU7Alz0pwlrL2VlPnC8DvMfA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRsg4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmopQRAAkBowBOLrn/Hh74XdxSnv9jqmSo/AKHDaU4gcVDfcnF7HBblO\r\n5ruk3zCp5tEVMd+eJLg/GoUWxP90PBvtRrOo2Csd76CXL0ZYZ/zO/GrWIhHl\r\nxNq2+1aoixhAQJ9c9Hs9gWjEuL5DdEfS2xQ2mgK7ttH3PxGBZSIWKwInIYB4\r\nl/D4zj76RKtUE/69GlSrK942gfYJfgmIa8XI7ntfrAWTJ+BtPvGAJkfV2Y5U\r\nA7rXUD7EVgO5Qd5tFnOLwmsOSfibJ1RCEoGPqFsFSHAOI5Fux88Pse7djPSp\r\nkhqvxo0b/cvioUsou7I/AHBZB3oKynTayVw7/Ak9rxDf2WE9RE0YcBumOBpb\r\ndjydQY5srBM3gyaXlLBkW6NCuCFArHzWGLVB31FwBpI/RONsiVdIPGQaSyL3\r\nzCp+ebrUeAF4foWzgS2CGueQjXqFb60OxFP0kSv1xYdn1Ban/N9rDzs/Rehi\r\nFMb1b0c9ckyNZFht+JcwXhcYCHO3NTmeCcFw2SCJmYS0endPyX/vCykoLFI+\r\n+a7XXFl+ESe+oJJsjMMd69I1VbiUyYEqSYtYXouKrS4VYghrcCqISBpfaxy1\r\nc0Xj+0mbEDJqoayoFHOWu+i1i0HQw9dYRGRil81rVlZ8gRb5hwUZSBvu+cyf\r\nFh16SmjyGhPPJBSkXTHggDrvY1lAUcZ6CK0=\r\n=hmRP\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.1.1-rc.2_1665583160308_0.1960502085136142"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.2.0-rc.0":{"name":"@alephium/sdk","version":"0.2.0-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.5","explorer_backend_version":"1.8.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"6e623c13a5404eea6797c77cda89d3c4924068ca","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building decentralized applications on the Alephium platform.\n\nYou could run the following command to scaffold a skeleton project for smart contract development.\n\n```\nnpx @alephium/sdk [name]\n```\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Packaging\n\nWe need to include the `.gitignore` file inside the npm package so that it can be used by the `dist/cli/create-project.js` script. To do that we define the `prepack` and `postpack` npm scripts that will rename the `.gitignore` file to `gitignore`, pack it into the package, and rename it back to `.gitignore`. Similar approach has been followed by `create-react-app`<sup>[1]</sup>.\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.2.0-rc.0","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-mWSNqOwBUL6TnfUlNOy9ag/vg1xfBmImIiP7Flgk5rO2M924UcrSlWuJcwQ/UmrEVw13kzlB3BsRNdHvHz5DBw==","shasum":"65e36cfa0f6abe3f78bed9dc936000a1a2e4da0a","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.2.0-rc.0.tgz","fileCount":61,"unpackedSize":2454737,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD06VmClH7RfgdgJ+pPaKUKby7xG6x7+Y0fzt9fdPqGLwIhAOcobDwT4sgfXsr1S7n1TjMEHYQiTlwKxlXWrK519zBl"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRssnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoP2g/+JD7T8MsweZhBOhtUjlqprIhhclJfqIC4UsTFUeH+jrBrvIhH\r\n3q2ouivs9QwrizPveyYs+AconMQgXqxM9iwfEvyCbQ2l5Qw0MQFy0cbI+wfo\r\nKQyaGBAkIwPgexuO29sbKurhC6041BqNwFImp//tImOalHAtD/xMShLNjdzD\r\n+6akTrY2YLRFB2ISgHAMEyVLBPqvbvhjpe9N0/2U4InjBXk+gTI8ZQqbuQUM\r\njW6wM0nzceHXe7HdLzeXvHu4a7RdqpH56AMyNQmFXU3jdxfacaVEJ9Wzsim6\r\nptlCKAgtvPQBsHVg1Yi31c9gH7nkg1PVK4hgRlYror3Sm9J3X1x10HAXA5kd\r\nPcWFIN936s51hF+Y0yC00xzEqly4lEv5rN4uGqnbJ7Df9nfXZiCA4dQkGGed\r\nZI5i9/CKGjSoEIMv2ClVOsYZ5Iq0H0ohDANzblHf8V6PLeJE16y4rhl0I5sJ\r\nZNK10nZBhpv6ZSC9X3VhByTaJL4jW6gDtBul3DTaVxY/Bbw0a9Xp5IUHqGsY\r\nWQxC94qoCdeoDPwt1vSwo/JxLA/gYs2AQv8I4TP0qka692LblhYEpFbuoQd9\r\nTlC7eck9qNfsr3cuBkT4VN/eCvIo4WcGekDDphOWU1vEPdCyiQRxxXY6RFqd\r\nha9YOmsj41mZxdm/HQAhp/QPqiGlnd/Gcj8=\r\n=pGH9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.0-rc.0_1665583911590_0.13545891651108866"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.2.0-rc.1":{"name":"@alephium/sdk","version":"0.2.0-rc.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.5","explorer_backend_version":"1.8.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"582638b7bb59854eb3198f177735930b2cd8548b","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building decentralized applications on the Alephium platform.\n\nYou could run the following command to scaffold a skeleton project for smart contract development.\n\n```\nnpx @alephium/sdk [name]\n```\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Packaging\n\nWe need to include the `.gitignore` file inside the npm package so that it can be used by the `dist/cli/create-project.js` script. To do that we define the `prepack` and `postpack` npm scripts that will rename the `.gitignore` file to `gitignore`, pack it into the package, and rename it back to `.gitignore`. Similar approach has been followed by `create-react-app`<sup>[1]</sup>.\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.2.0-rc.1","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-DuMCzObEuRt4N2Fq1O+A1QJSI/6+5V6bm1vdOpM31Pwc81doxi58cQgwlNDaydLkGFs5t6w2Kw+irVwjXzzifQ==","shasum":"eb722994a213173eb3cd08baa3aa524dd385256f","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.2.0-rc.1.tgz","fileCount":61,"unpackedSize":2459193,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzBf3WckcwbNMvS5lgvlZD/NkckGex0jGkePR/lHfiqAIgQ0aInd3syAaIL2LbwZO4TCtNNrZax8L3hcHIXh/OEhI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVl5WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEgQ//cEIgjEpplJeL4kS1HHkI20Iw5M0NFukQkc2xcc8efgdWqKRX\r\nlUyT0gbLkAPp+mPBp9qjCtEQyUwsKhDsCky5ZntXM7xfCoxDDOZNY17AMoe0\r\nR/CX2mim5NzyaGmULSiIBjahNTUACb/vsvNYC8mM6oiyzeYTKdxRpygAPXta\r\nn4r97PSnzNmz6+HHdagtpXjgxAa7/TsJW/qrlMOLGst1n/jVhojWDWF+o4SX\r\ntQO0bXxTXenNTlecj2yPajgQBlDI3Qt0G/phMTFRYoPBjTYbxR9z4EpEVK8D\r\n7juUcBBdmbUj2Rq93n4gmDBZSoLKZmL3qPVyeQeURkAUYAOTBDa6IlZA1QQ5\r\ncdd6USIeY2fzAnj6PICM7pEOANlnecv77TbUoJCQKWpQhhrnQkWjhq6prU3n\r\nokKQovkKUMk4xAzcXF0ja+pfcoGXt56dyYN0es/gv5PUdaRbNx/wsaf8jL1D\r\nLAxW66LpuJzZnaKeL6DBt6BHF1Rw02/sgHj7TTdgssbk39I9gJkgwA1lj45T\r\nbmgBshs+rXg/ZIp3GxWwVYjSF9vIf9fmVNwFQSTYjmr6dY7QNA76LlLD9KD4\r\nvhmWr7fSPlDF8cIDA3mEHkHvznPyLUFbV0evJ5MFPSrGubZhbMtmJWq1/B5p\r\nifMkG4SfbiDwNG+u4gNkzsOWSgr5JwX6vxQ=\r\n=h+7f\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.0-rc.1_1666604629833_0.9886923339821774"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.2.0-rc.2":{"name":"@alephium/sdk","version":"0.2.0-rc.2","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.5","explorer_backend_version":"1.8.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"c28eb94e305faf4726f8a15185077216911143b3","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building decentralized applications on the Alephium platform.\n\nYou could run the following command to scaffold a skeleton project for smart contract development.\n\n```\nnpx @alephium/sdk [name]\n```\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Packaging\n\nWe need to include the `.gitignore` file inside the npm package so that it can be used by the `dist/cli/create-project.js` script. To do that we define the `prepack` and `postpack` npm scripts that will rename the `.gitignore` file to `gitignore`, pack it into the package, and rename it back to `.gitignore`. Similar approach has been followed by `create-react-app`<sup>[1]</sup>.\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.2.0-rc.2","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-twUyhoul7pIF+4Sp8mb3BnkvkPDwhiX78EKaiVoQ59PvPuQVKEp+pMNqMDJZbgdSlzQwP/mkPdY/pQZCQhV8Mw==","shasum":"d2a48477ee49efee6964b85d6a35ddd79326d0c6","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.2.0-rc.2.tgz","fileCount":61,"unpackedSize":2459193,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBP1qrzsVQGgaeOAgjX1DcZ6dHtzqbK3YlVYH2qL+1S+AiEAjlrq6jt9lysbHetVBYWy1u6st8QpK2mI1P7FWbpH0e8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVl90ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmopChAAgV2kZgFH9BHIhCo9+/OyM1z6fYeScVGKJ0xvhtbijEhhVdD+\r\nYW79CzQhf3joqRu/uudIgrt0HEeTD8O7ft8hMq4WzY3fDGs5YQ1pWr1MWNBh\r\n0Qd9nivbglUK4sBwRDU9dHr5p4oXdEqUt8Y+FZKHLh8KsrKrCMUUPsIy6EY8\r\nz4ItbmxXFg1dMuYOfv/21NGZNwUgAkZZa9Y1CvG/hsmJcbexh6ZUQ7Tw2m4g\r\nBHzRtH3K0JxdQAXwlcFUV/HMmszQbmVzn+wXD3xSq2HnIs1bS6bvrZUiqB3A\r\nz+6VEALEMTxrInOitJjEsLDYWp2OGTsHC+y+w2swu7r5hxBrg8Q5Tm/beEVl\r\nyoPOHv1JDa1GlWxGWeqNlwUA3mA4243gwDQWgj/2NpzsrDH952eFhfyUQWPZ\r\n2Catw+GBYJFQAID/FzA+eaoL1G0BMV42r3+ggWpKY0iTXoWqtS+1nqviDtLR\r\naC2wHCJzk41HNrqY/jI+J0dX3eK8ch8mrqew6k8KQpwX+dmMj7SNtzo3aJVw\r\nEvuvHzXQHtX9ulXwwjuaz9TrpMTy++GEV2lju6sGCxXF+/i0lmZKK4XEGxv5\r\n8LKJp9g8odngMRHtxIc8agZwALOnrtCr8cvXTserV8HYcODiufCr7D76aYZc\r\njIwboD5TvM8YJAFUNSrAqCB4/0apxzM60/8=\r\n=S7AR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.0-rc.2_1666604916585_0.875807173798304"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.2.0":{"name":"@alephium/sdk","version":"0.2.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.5","explorer_backend_version":"1.8.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"fa15e868997d02c1f081bb58940f950106993bf2","_id":"@alephium/sdk@0.2.0","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-WI1ebbqhNjWpaWpzQKzu+A1eFMmYW/2XlGqcvC5xpjTr3AjRTKFzFBUFPq61rB3H0ZUJWq06ITj2feljFTKf7g==","shasum":"3c86ff0fee95b883146a59200007f46beb77d696","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.2.0.tgz","fileCount":61,"unpackedSize":2459283,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiMK5NZ+u3IvEwgaS6jaDbelsgMtGTq9FOK7ax7o4dAgIhAK7TM/ar8jLmkee5MN8Q+v5q/Kuzp/B84OJ7xErwL8RO"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVnQlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSNQ/+McPymiXsXG5BfS0BHljDP/QGCsoktNkirY8HRGpxQGFixTOB\r\nQv0WykjURZZ7tH5w5/taC+QA0r21Odq8l03Lf2iywgQdLqBvPDaeyMdkWMBA\r\nVq2AGH1cP2e87W/8vxhPZBEXE5Q2oqWdGLx4Gw4jYYtqpFlU/J7LiBwFb/Ox\r\nJSvVU+eZL7MFF9mFc06ivS1TXzQQ0x6wtBUtrN1NrT3kxC7Et+R7D5LiOzWE\r\nnleiJFtSDaXhJAPQUPpX/nDk1FQawfBfJTc1QWMKfbGLgTiqdqWI/B6Dsdpa\r\njC9UwZb3GE84AQ2OIhVciUDfawExCGXcfDzPSV13VPAIWxmeO6BArW66cGWh\r\njRdb81MV4RuUSyW9zByNe3XnW2+4UqkncIR81/JAUPWowQyFMBtcWfT7W1nv\r\nnWLY9UZVUzg2QEx0e2Kns+vM37y78NysS0iKu4tby3qstkCWyuzlphCE/7a6\r\nQVeLaVhmyQPscz9Sc4H8l2FmPa05O4Ox6zmN5MERpuf/+Zw1DT7G8piMgC67\r\naUz1JhIXb3VEFtW4Mha7lBpkILtq/kFI2d3b9R/8jvUhbnHYZdTArXSCaKez\r\nBsfMh4hsOPBov0DQ7R1jE4c9u6aJmHin1DD2gurG50HbzNM1OzRMLlYRnarU\r\naXkaLZpCMggzJ6IhUDXcHHZoOOBP9lV3tRI=\r\n=Wwah\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.0_1666610213562_0.3527091508107869"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.2.1-rc.0":{"name":"@alephium/sdk","version":"0.2.1-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.5","explorer_backend_version":"1.8.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"c15c436fe36e508ecc27a5d00e9d04d29c44b993","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building decentralized applications on the Alephium platform.\n\nYou could run the following command to scaffold a skeleton project for smart contract development.\n\n```\nnpx @alephium/sdk [name]\n```\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Packaging\n\nWe need to include the `.gitignore` file inside the npm package so that it can be used by the `dist/cli/create-project.js` script. To do that we define the `prepack` and `postpack` npm scripts that will rename the `.gitignore` file to `gitignore`, pack it into the package, and rename it back to `.gitignore`. Similar approach has been followed by `create-react-app`<sup>[1]</sup>.\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.2.1-rc.0","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-eqU0HU97a98T9XckkvAPiWBhMGVlHp6chkOlMcKkvnsdEvH15SdyA/WctzWTIG9cRab1GvLBnpZzlo3FC2TLHg==","shasum":"070dce8c2629eea740c4931ffb22356ef1ed157e","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.2.1-rc.0.tgz","fileCount":61,"unpackedSize":2462149,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF/bXilH9NJMik6++m3zr8Z4DD/E2JJ3eKjjbeBmIczUAiEAx/tf2480u8NkMfWfqCQ2hryNcmEY7tk163W7K1rBEfE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV+RPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPSA/+I2LJuMuBYmBJu/FtRDiPQvPmNRCqTJLUCSyC1i3SG3NTcrmW\r\nWfczo0dlHm3s9J4qV8r6TNQ1ifhs8hm5mvFSozZnsOyudQtYpSRPrG5mXnmh\r\nOB6PPDPBOlybRdAhwpGVh9TJ7NB9vJB6x7rCiMOy+MSvYcu5p0P4oib2RYXc\r\nA8G4rl2YeEVNkju7Iy/Hc/VdXIdIYKhyupwGsMutb6tQVi7hN5Yz+v21sINr\r\nn60hJs6DjyRjOv/W0/AHEqrNWXire8oQ+Tn5yxKS5NlbiH0bvDYzSckmWTHa\r\n6OFaPn/wphFooKgobwZPLGk6xv2yn0rHKE5TOWXrPjlO9CikYqRxcHJzaqTI\r\nfo+56UG/DuMXsXJKJTc5hyS2i5vTaA5jEgzyNTO25P0Rk3QToU/4JunSxa7Y\r\niIkQKieBBUPyWSFw0LYmL7W62Pv9ZY1ygLiBn/lzWIVMlLl3gjmS5Q6Jz+e6\r\n3SwZfXlVt6Yyclm2B1U/sgu03M6zUW2H8NOaNYHbWg3HzPgTtPBPK3Txgn2+\r\nRX7UzK1GKLd4Ikweo6yZ7OZvTk9MtcDbGzVZ8EzmzS2NCACICfgUJyd/GPLU\r\nOWTaCupwjlosyjcLMATVFD8Ri8qlDrZ4YTuqa2sGmA/EcjLwDX6hmgam5dqv\r\nC7CU/J5qnDWFHcDPC8FdvEJatH7FqasS+xY=\r\n=b2+d\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.1-rc.0_1666704462795_0.34186016265589836"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.2.1-rc.1":{"name":"@alephium/sdk","version":"0.2.1-rc.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.5","explorer_backend_version":"1.8.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"3b08db660f2523d6b5045fb5d6f836f16cbcd81c","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building decentralized applications on the Alephium platform.\n\nYou could run the following command to scaffold a skeleton project for smart contract development.\n\n```\nnpx @alephium/sdk [name]\n```\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Packaging\n\nWe need to include the `.gitignore` file inside the npm package so that it can be used by the `dist/cli/create-project.js` script. To do that we define the `prepack` and `postpack` npm scripts that will rename the `.gitignore` file to `gitignore`, pack it into the package, and rename it back to `.gitignore`. Similar approach has been followed by `create-react-app`<sup>[1]</sup>.\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.2.1-rc.1","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-dfojhfzhhQCpZaJAKFsf6ifgTej80v//+u0xXpMpdp5AYlQOqZ0jIxLc8o/43Ma/m9WS8fGixb8vKbgVwwxWow==","shasum":"6ea090c1f5b7638d0be84b7aad10af147be324dd","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.2.1-rc.1.tgz","fileCount":61,"unpackedSize":2462449,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC1vGezj/+bHJtITSc+aRGLiSEXFKPFDp0BDUt1z2Z6YAiBDhVn+i0GuTT7D84ilRSrE3X/iCXG42fEQzGiG8Dx/WQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWnd8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQVQ//TBMHr5JTJuV91a2UdWMXg2/psClXf3KYvpJThC17jySZy2WC\r\nZIzsass7+TJUl1JGUcCnWORw5aWIwaCvLCqJ5m4GNUn/2BF8AvKQ0nckoEmH\r\nCAsv0PgsPRqgunHU2U/7mWiKK0qwnXjwA6PMlGuiVtZKzaLBeJn8zuh5kPhD\r\nK2QyfxihSrUrvzgL2LG3XV8zEF12cVolgsBOIGHZWLVyGqF53uajY7VeAoUM\r\nOUa0sqUZw0KbVCUFHSlE13pOKqEcxMUVK8kXbnJp1OXeDQc4tt9rZXUx72kA\r\nHB3OhboWci03XkHKa4WI0QVjYfv7wf26HVtdsq1jvGRjxnJyHKIJFDRWtrMW\r\naHvFkoeNB1mBmEW7c40+NYkZG6baBX5pb0UQGJPaq5ddMZwIZEhXLheoTuPk\r\neR1bqkdL7F7JNDHsFZxF/w7XhIbkRX5sjoJz8IQluanaBnVerswVWDBFKOOs\r\nh5haJRhRmaBXJ3i1S/kmLEOg1sXPNOjU6OdTfZQRk4plWXHQaczzNINXcNXN\r\nVkz0ho31f5+eOL2qRwqMPbwgMAwhL7UoxNdKHInFl5C8oiwX6r2d8p5lhgeq\r\nb42Os5ClwajbXMWb48H76O8iFJzpdC9pNQ5y++T9GUmeV+fLSXEUaUbWbAHD\r\nd37+qoxo53V/SGK/7wXMx69cPEcFlH1WUrI=\r\n=AmC+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.1-rc.1_1666873212132_0.632355553500904"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.2.1":{"name":"@alephium/sdk","version":"0.2.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":"./dist/lib/index.js","./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.5","explorer_backend_version":"1.8.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","prepack":"node scripts/rename-gitignore.js .gitignore gitignore","postpack":"node scripts/rename-gitignore.js gitignore .gitignore","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"bin":{"alephium":"dist/cli/create-project.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","chalk":"^4.1.2","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4","find-up":"^2.1.0","fs-extra":"^10.0.1"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/find-up":"^2.1.0","@types/fs-extra":"^9.0.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"eeeeed3ec1323f73fdc9b4ec05effc52ecec980e","_id":"@alephium/sdk@0.2.1","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-86wOH92UPzdIenbZBNbYAmUsqkZzbzAZOSnZRQ67QAFEiqwmE0r659+LCRLNBxd2IhUM5SkwzLkIM9Rp0zggkA==","shasum":"83dddb610a71acb75de45c4af58328fc790f65fe","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.2.1.tgz","fileCount":61,"unpackedSize":2462444,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6kfeRj2lw0+2Zzp4+4nfoGBnlF/wzBvA8dQ1raVpYbwIgI4r6Gvojao9T5Y3E32xW9a8kqDvu5tD7LPmOcRMT0cQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWqXtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrbBxAAmMKT9sAs4alqEy79DYLC6sBUJmBlS2jhJQNiD/6eWqe1Zeay\r\n4QeozKOWXed9x+FiaFEnKVUMo3s8d1tNsbSrKTHjnpEuYDnukMG4CgrusR3h\r\nELpdV2i6piP9Je+pRYageaTgfOieFvdl+sixYHTKQ96VhnyTLzRdsSYoBIQy\r\nAEeYnlttqfzfCElKYKQXXxDQrxqR63ineIWFD94YncdF0PYb66zeKFcG5h+5\r\nYnR6BCCb7YHJ1h+bwg2deyTY1krwsM1nHZEFE7Y4EqEmmW11DKkkX7bWKzKS\r\n2hv1VWl04XL3aAkRT44hWxr179TO4V2yv2x4W950yN1aZVAC4Jy+pMWe2L25\r\nA02TY8DHZhgLkUoRvDOPnGFW2x7jd9n2ymrw9FqXCTl6ljd0k8HrJ+sm8OB3\r\n5BZ7igfATLPQFiVzgET++jk3deZ1wUlGxA+kqo5/9I5sZVmF3p1SWdncBWNf\r\njPoNvxo9eNrUGMaU2f2tHVr9CWzrL8CrLW985Y6GfphVhZTlzy37zdaBQ8we\r\nuX60sI/FkM78YUFv6IPw27Cs5DBeh25Q5fHgPkmV/Sk+H2moc2C+y4FdgHtr\r\nObp37mvD3at5wTcg0Ypp1X/snQLXzGWdsgAQujVwUKUqFEzw/b+mhjni5Cac\r\nMcQiLFanuknrQwkJe05gUs9FKA8ksxik7Kw=\r\n=9mbB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.1_1666885101070_0.20243400750897078"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.2.2-rc.0":{"name":"@alephium/sdk","version":"0.2.2-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.5","explorer_backend_version":"1.8.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"3b19d48f6c2192bd6e2841bc9565f5e8d8979fe4","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.2.2-rc.0","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-VfbS++brMP3gMY/1oPbRP15f4KIw1Y2hxRSuV8F+rb8FwJXIFWJAzsNRCPsfPXOurB03V3WDpxPKP4dzHLqjFQ==","shasum":"ef8070b04567b5a3554add32912bd7b7ffe99519","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.2.2-rc.0.tgz","fileCount":47,"unpackedSize":2452301,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZAu3QUeV2h5+5tvQnal+z72F1feTINowQToZgNRJ6sQIgcGrHUOw1dklrsFuqHGut6mQcQ9SSg5D0y+tFbdRHxSE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbNX5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/hQ/7BTzIK0M71jNH9jP/0DbaBur/0hujYVybl2xuUqMO53CP7YKE\r\n5XwO1sgghqlprI4ULgUEMC8neM7h0ljzaxzajvCYy/2v4DzLvPSGACH2dk3F\r\nC4Ac0J83+mccpk6/KFT0imgs6wQWCaEzcy1qsXRcm519sqnS7gMlbz+Js9P7\r\nQXlzxO0qieFbXhDKxY2mAvvyhcHuHnbusaf51VGOOZMoFREm9s0FNEqiuWJI\r\nPmArgKRWids/vgfqyl9nIvgeZ9x0x/MqsXe5az7qnhJHKedvYC0k5x4XwCmn\r\nnc7N8Y7wQp++Z9gQBJNe3pfM/mOrxG8JRcwqWKIddp7hoQalpNE/jfCwIJj3\r\nK5ArxeXEh0quHRzDkU6zq1OzPrIZ1GCHk+QIdV6Vm57rCINXnxvKYVnxsPKn\r\nKzyy9MOkCon0YpZcC3TSzdIQJ13UbCUmFeceOIzoaKXigrkdNTwEfxtxfMtz\r\nSUJj5ZT9NPNQyMoPsIE3tcoop9iLWHhlv/agIdVUcFVC+p/MakrmqqnRVpY0\r\nOApDBvhlOnCcgbQKz8bJLSxZp4r3KJLKPdvnZCzxjPKmeSD97BEUwPYmvdlv\r\ne6dhylDGGKEe2XsJHrmN02FH9Hz7uKgb+Nb7WydWip7Lca9faMG6UUk4cHrs\r\n/NHTDRCtARW9XqYgnbJuIWbp7WLfbkGC/14=\r\n=SnFI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.2-rc.0_1668077048958_0.7303946797248642"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.2.2":{"name":"@alephium/sdk","version":"0.2.2","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.4.5","explorer_backend_version":"1.8.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"1a170f772b2def956e9c9e0bb408348a1a837a9c","_id":"@alephium/sdk@0.2.2","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-qvnbPI4ExwX8LfBUQh0kuaUfpR0XJLoSkKKTpeVxySu45o/TAlVw4Eu6ZJqoxtR6ledQ2uUmjD2Y2D5ikXsxfA==","shasum":"766614720263b3aea3326bdec39d8d8a19c7dd2e","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.2.2.tgz","fileCount":47,"unpackedSize":2452296,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDMoJ9lrgnpxFX4VXYQw9vwCxn3CduZBi29Y0BfbUSKAiAJUptAwNfm6z5AsOpfFDUwVl5ldY7WUSCWxKfzg4I6bw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbNloACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPkw/+LgQjMk2RlaE9mQmuVYJCmyQA0F6nyZ4FWohe9xkscYvUYLoj\r\n/DjavEW4t1GHgEeLajYU8b4FDk9GJTVdOCjuRCEn2MXeDlN31Ht/5xuPUwcn\r\ngYH5nfbZhphesyQ3I1+SPJlCV3FiE47lzCD8ctE1TIuqY8GbYnImyEVIGOmC\r\nLdQT3thMbV9VB6hoXBoJyM1Ok4WhztLbEXSv4Bjq6kstqWgsZ+G0gYoYfOKp\r\nOedUQKRzib5+DtShIux+rZMQ+6geAvLsPhqYvCsJ4hNn+9uNnrF+seLox8Sb\r\n7iAaIDKib+8MQPAQhi/xxsiJGdtw/55zntMKSYQz08gn5rww9jRowBkgGNUv\r\n6Du+4AOOk5idFwUcHWZTZaYofIop9shsPrHzrw1AvmyTO5eZJf6yrhXZoO4b\r\n1BtK+1HsqXSHPAOkFRzIoNHas84UjQ+yWtFfT89CqEpTdjMKGpY6aEuuhMun\r\nEhAwUXSadgH1BStBH49SSruycTIpZvjaYcyOWYVhA8IMvikamTBTHUQm4S2+\r\nC1RtKQi6xMBz0JXi4lQKkD9mckddDEMYhh7RMzF9aLkjTSJ420/xetLetFvD\r\nj9NnPr2svf7C8mC/xd34vHDJU/7IvG4VeUgQZjHH2zGZmEwOJNegKjRKINd3\r\nZGyvH4iV47wgmXx//x5ovYET4ICaFbBoJyc=\r\n=bNFI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.2_1668077927632_0.46308859501277344"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.3.0":{"name":"@alephium/sdk","version":"0.3.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.5.0","explorer_backend_version":"1.9.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"26b672c6273ab346a3f2289d35c2811990dcd920","_id":"@alephium/sdk@0.3.0","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-GvGve/JoH8yKbk4lsdXDA7P2shrSCmcjC1c+OyvzSZLbEq/SQQFiUB7RukzCF9hpdsMbqo5V0cQ7uU11zKfVww==","shasum":"e63af8722312bc5decdf4f8c75489be93e41e04f","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.3.0.tgz","fileCount":47,"unpackedSize":2466917,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHAW1kneIEvWdpDDjRQR+mvIFZtXawJ68iHyFft/z4d2AiEAh3jV24uA3RvA/3k9PKePmALLWmQKrgzWnUOo+ZQ2hY4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcin/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOGg/8CVro3BPIBg7dlinVSPdUwiL8UnmZmu8sqlT2en3jOMCqeN9j\r\nSOQMH2rZr7P0ebLguELKkhndU+4SmV3Bh6Iyy39tyb5eUqrpenmf59wVY3Wc\r\n7elw46emVxMzaoML4kP+rQbT0s6LkQ/sc0t6VFHrGraqgaWSVd32ozsMVf7b\r\n06ounUYr6YMVq62cdGP76TCabAVDXiiH+G4gEKTK/lChwLpcKx/2vx5Dg1bp\r\n7u+pLX/LLHVZgTigY7xIitKt39f2PZ3QGHap8Fy8x2BGzefDj5IHoKqSNtIN\r\nDaRFeinZV+Uc25xo4jQQoF1hzL0myGBH4vZwMnKI6HrYhVnW8wifrgVfjl9I\r\nGMT9s97crcko1Hjy1STa3jRQnw77zOzCmtwwM23TloEN0LZ5pQysLayZr3/0\r\naaBdzOI1ree2AOVCy9i3dVUACDlXRZVGv+MD56SpI0juB7ZbmfBWKz0cHeZM\r\npW93d0Cr3NTo3R8d550c+7kMydsF2VPCPbN3mFtmFSdQnlTbE0+hJoZOB2oc\r\nUN0fABnWEkYDcu6GR596DgmkBYDsNFHR48g9PLtPgiWYkUnhvJGY4qZIORvx\r\nvwvbDk67JnR/lL19TxKFGAwHUGcEXIPQwcU/XOnnJ1CdujNetbBBvHnnIvIQ\r\nqNDB1pqHvSHNaIFu5+pObY2kTS2LNzU0x/g=\r\n=RJq7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.3.0_1668426238957_0.6377106601077072"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.3.1-rc.0":{"name":"@alephium/sdk","version":"0.3.1-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.5.0","explorer_backend_version":"1.9.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"79ef6d9c8155bb3905e03f4f2585bc2e858c6ee5","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.3.1-rc.0","_nodeVersion":"14.21.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-7GvOqZrEudoKZAh3l6c2TH/3cqXHMUskAWJn9PUrwYg3Lxu4lD/jQURiwbDQQs65T49QlcSfjdq0giu3pmSDeg==","shasum":"28346990fef8f5c7048c896506a2b27a9048905f","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.3.1-rc.0.tgz","fileCount":47,"unpackedSize":2474371,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIERFuzfxRiiKhVzHtDPerUkF7OgSE8RPZcq1OqG7uPpqAiEAv3pZYHRQ/8+u3qGK0NhZJN5T3mI66OWN8ozw5cQA1Eo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgj4UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFKg//cTpMzAYKsLy9B6yCvYy872Z/Wr9e6YsnViSzeOFuiRRL6zTH\r\nsF5cBGDsPq8jstjv0BiIhaCq9N7Nlj1OIk3BRmNKI1HNGQsa1zHWFfBoBZgL\r\n60x4AIvT3JgelW4b8YTpEghNEsNuyzSByugoTOMzscpwn85LKkBU0PtMIlPR\r\nO9V0unJbpz3Zv2dP9PuJXkAVcuXNlztbPNm82c4xvD5fWtcmliE7NrKEpJDU\r\noNBZoC0X6wjEt4hC4jAhQsEB8wMhAtD3f/z//sQl+Lw0BL/Izo5p8TxUrrDp\r\n5tbiAD6/RikpDnCCp92aCVc+F/vmkGeLb3/RhI9cB0Ybu/9QxQaYIQrvA9ew\r\nUPBWLRpLeIXPEr3/kA4Y2QNW+3YWJ10XmUDnIldL0avx3o8oYat0mfM5ITdu\r\nTaHBwtK98WFv0wn3chLg5Q7jHNRL6KP+O4C9eWorYh62gFjAGmdUwbJfsmmY\r\n5LocBkeXwGYmpeX8vHhA2pKHT0w+i/ro01b5WA4QUU1PJ+4a1RGgkDaKLETz\r\n9EKjPuOviuDs0HtEhRYNtGxO9mhaKUQ5JeU6rlp04JRPCo847OdKyhV/B9pi\r\nVAsPYOXDfAmK8BUt3LtzAej5BxqotUmH11VQ9rasxTdue1iQtiXl5zd3oUXd\r\nP34TUpXC8N4LTgkddqnkp7FWw4z+S0e2+48=\r\n=uJBD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.3.1-rc.0_1669479956378_0.3452737039455198"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.3.1-rc.1":{"name":"@alephium/sdk","version":"0.3.1-rc.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.5.0","explorer_backend_version":"1.9.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"0efaf743f6991ee875a1a3a15a229f1b1ac45c98","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.3.1-rc.1","_nodeVersion":"14.21.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-xdA7Ffopaez/Pr7ny/Re/Ya2qsT7quXztdv9E6KVBh96uLxrT0/r8j9unhUeJNLWPyl1phTiL8IoCcQDRbRHTw==","shasum":"ded7d1972c3e4a0d12d42770efeea070b5a2db38","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.3.1-rc.1.tgz","fileCount":47,"unpackedSize":2467382,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHMaH8sdyCVBcmGPT9uvquVhl8/rUBjL6Ix4qCGtFdblAiBtrTcHYv+EuJDgi7zP/DjnkLEXZNp5YK4AnvhCCh+L1Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhPaWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqRA//e1627PfvdF6ePe0xfjDdMEllNGt2SIpus9/W1vF/rFemH9bR\r\n55SoLsj76mxD+wh6AEAqkduqnEpIqJ29Zz2a/cBHUe3a0MuYGaMETo44boIE\r\nx7+p4wVBgGmPBrJrUQYUrpBprB90UxWN/qmEnT/XYqvkPuhTOkFBHzrF5y3E\r\n6awEiqyGjQkFDGNN+mRo/GKCWLlsm9gvK1V5E6Lkt+6zbXIwGH7KYlZgQ9IX\r\nxbTIefUqK5cz3VMwFxn8mWL8INL7BrEQ2Q4zkiBqjWjiv/nqNlHMmCi92mky\r\n2SXPSC5iTnQvxBn5+Mg/GzO+Iu3KE5KoWyoaj1pitaamaqk0y+5agAUiPQSa\r\nxONX91jHh9aJcjHVVmayLXErWTl3EtaoW6BG+P2s6SKBbkh5agImjjoWe8VY\r\ncy9v/BhvQnsbrcej4s4vw0wTqCOCMNNJ1DjureDeoPRst5QQouYWn4COrLm+\r\nYdYUG5GnxZqiq5QBXhqlVfF2lnCWRH5iaQM+yjFm5U1XH7qSZME2dh8BRZZv\r\nEwyFQcKWa6dRX8hPlsnE2DETl7fLcX4VhUKkTuTQottLCscvsf3pGNgBce6T\r\neFyOVrxa1OdeNOgcIwGndno/Xsj5O+gE2Xzkr867JLX0RUf+QBDW5QuwCpja\r\ndYe9OH7c/qrdQI4iDVYWGNabgpGUWz7xVEs=\r\n=E3cb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.3.1-rc.1_1669658262387_0.6706434865819098"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.4.0-rc.0":{"name":"@alephium/sdk","version":"0.4.0-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.5.0","explorer_backend_version":"1.9.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"cd90e5885ca6d8bfe7e7430878c0a657c4870305","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.4.0-rc.0","_nodeVersion":"14.21.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-hn7cAgMkkQbQNBzWb8ypwHy/+x8nM73sxSkbGLNj01kFzf7Ai4bvbkM2dzpH0y+MzpYQbP23O9G+Df0dAD0qAQ==","shasum":"996a318d13a321687db08f01bb2faaf0d7cef3b8","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.4.0-rc.0.tgz","fileCount":47,"unpackedSize":2481786,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDePYNjuXFdEIhyDYBgf789OeGWn9nBzjqblZ/0rer70AIhAJ8/FqRJ8zYYYGpOyKdKHIhE8cEP3l2IUuix4AhW7y1W"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiJspACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpOog/9H8Ihszh/RkIwN3RfjRqb2A2XLVefsHQwnXxKJJhTD/HJj4/W\r\nu6VmqB2fqw0Lrk14LopOy06rTHMrW0Yl7ge09rmYrTXFmVA3uUbvKpzuf216\r\nhQTAlGhVft7XGsviabmHzyRruCIMjIT/GXRHRU4JUsy1DBED2/7DEDifBtrt\r\nY7QmpXzfiYAafvvU5aWaa2PmGI7gOtSIRDDh6SXQds6qfIEfxFw+uPowEtd4\r\nW5v3DoD7VeDtqVH5UqprUJ1sqxCYQ42JCWzIdQ9u4xs/bWqnRcRSjSoLyF8e\r\nmP+2zsye1BP8iJiIPX+8amn3/rEIYXcPUYi0Co8fu3sPId0TMMiCH+PMtDTk\r\nofQ5cMoGVjwn+Z8AMcHxcc7ZGw80vY5J4Tv51g+Ij7xIjaXCDY1X8jXXLf58\r\nXDqdf0vZqKe2iPbKJ7Uf+AdZO4G8eXXBmQXwJXLr/pxflLNfhxDXfzfyHwVR\r\ni7mRJgp+4y8H0+y6U6V2l2qvuaf2E1HWmFAOsWU9LNU0Q3FcbrMDn8uKIDvC\r\nzGBgwafkaX29R4LaDCDmDIkn/ZX/BNhYTZUK4V3j3MZZn8O/hWDKoh6PwXqI\r\nF/f9uXAy+QlX5CgQydp4nuoomZWUd+2Thy9KDAAc+IR58t6y+rBWk4FO+yWX\r\nFKDw7LAyHACmmzm7gDRl5v9Ihy+u6G/UCP8=\r\n=vp/D\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.4.0-rc.0_1669897001491_0.6038996708391704"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.4.0-rc.1":{"name":"@alephium/sdk","version":"0.4.0-rc.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.5.4","explorer_backend_version":"1.9.1"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"2c584dd6788c306e3b68a42be7d1fe28d3600a7e","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.4.0-rc.1","_nodeVersion":"14.21.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-neENpR6+uAyxWg2ruwoU1am/ZlOKfyhVkR2XqtS+6nV0qhXGVGjWXzGHZSGUvf41W8ssBYX66w+ro66uO5+vlA==","shasum":"37bc2d4d6ee427de8ab7f0601b004fca8a1445a1","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.4.0-rc.1.tgz","fileCount":47,"unpackedSize":2485440,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIClYs9P1BJUBfUg5odxYtHxy0bSCetHULbEBxmil/Dy6AiEAjRPcYtw09i8h6mb7iPHCiH5ErCl1qzPOWUlmHVP80lk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjj3ALACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJRw/+N37XarYthsfqRJeigDLwi8FXyxROHfipKKzrEEhmaGX4E83G\r\npNfzmVjIthWGt6N785d28LYNUYG3/y/ktOtV3cjBXqcnvLVDkYL1Xie1FRhf\r\nFinjLHxXL3lwn1ciMftwLudP1FkbURD5JLlWglWgq8v3yRo89ta5OHvN6dpu\r\nXXG/Ix8blhuaycoujZNV40/+aZ8YAEwknPWf31/fVbVX8ub/7ed5cuZBFb/q\r\n8RGeiF8if5J9CWHsgusZ4ZZr05WwAQMmrQW8poZ4xEuD4SLIfIN/cg7Lpkm/\r\nJ6uhvEZf97x3Xzmvs/fWNfmtYdjZizwXjjg5LYxtuwBPVnLYtkQMC5qdbURv\r\nFE7D6wrK5YpCKmrEc3qBwxASwuMuzBzifayhCEcjkB8QzyJF9Sx+uMstR45u\r\nQ5wj5hOwr1TWwvI0xl3eRV/+TIKCq9sDvjk/9NQhNyldAQSkWyd+S2ohdIK1\r\n+Psa7+Rs5VXonV+pFVJ2kp8TuhiAhnwlolCYxMUAMx9Lb58jKZ4mCqdlWK/f\r\nJdwxtqc5zmmD4XacF0/NppcKhsWrEnVk3OdCo9fBaZH+H3jUDIw/zZpDvmxj\r\nPJZh2p6ccoQVZZF8YcMvERAcG79CQCx+uWMCJt34fC0mlsh6l2lGcdwiKtkb\r\nSXfbPK5+Q/pdAaajWXSBZPMDa7tmvhMFwCg=\r\n=okJp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.4.0-rc.1_1670344715337_0.7048231521790309"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.4.0-rc.2":{"name":"@alephium/sdk","version":"0.4.0-rc.2","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.5.0","explorer_backend_version":"1.9.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"549ef62eade2ef94f3b7d06c567144d0ee3e147e","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.4.0-rc.2","_nodeVersion":"14.21.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-4ptpzMyGNl6FxIOvIGAHYEjvhehKetuo9+jDaiN8abXj+GLdnwFAWJ8eHP9TPi6oweT/FWddkM6vpWZjc0wM7Q==","shasum":"31cfd1a073ce8533dce272bb4720f2454f889ab6","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.4.0-rc.2.tgz","fileCount":47,"unpackedSize":2482505,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzS7XZKsD6Wxcsw3bnz3cBrBgUnxKTv47RWdP8eRpF5gIgItNwDwxbJ9FGs0WNYOXLaTmtSgEduBf+FSiX+CTCuPM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkLGlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXAQ//bnNZDztqR0x3KBgnMx6EBfY4ELUIZJfvybpfN6ha9EfktRBJ\r\n6C6w/caw7iUpDpdbKGVSnXX5hO9gbWBSVFj8Kyl8AdAQL+SEECx7grsY0J1Z\r\nd4cmtfCX0D9K8O/NtKa4LxslZuFkZPXrkgkpkesukVTU64pegBIOtH8DIUMQ\r\nVcgQpeK7p/RiAxDpABAv7TQuZ14FT8lYL5nwy1fpv7FdtqEGN+VHVLJFKH7p\r\nQ26U3u2bWu+NcoJRvUqxuG52hPEmbKcHWPeOKCPlYmXe2EKpNyb7rkUcBol0\r\n3+cVo3ni9U/umJrCXc2XXQ/9AYw0lfKQYUBI2qV3VVeVN9PfccSmRJ+SFQZz\r\nAuvBK7T3WqS6uI1XEx53ZwyGPqOVpcyEBXSQON5OICbiGUbEad7OzQO5VjqC\r\nCcRRBIqMj9CMvNVefzr/EcrfFOckwutkHB+c9Mfl+rF2uUUNs78SggKgBxeU\r\nV+OFJRjMyak2q4BwKW41xyMlOfIgN9z7jj+aVh8tQGjlKYw72FXdjax6Lmqc\r\nHIpLYliHGy6kepZAdWp0ivxOhLsQC0rSf6/IFYE43V7tRM7PMP41UNuf7S3h\r\nqiaV88UjccDY6Bo5IJ0KCRn/VLkzKvcUanncvV/7mskMt6BKk8rZiuEzb7LB\r\nt26UMrLmfhML09ow63RBFRlaxm18wbh9lX8=\r\n=/qdX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.4.0-rc.2_1670427044899_0.479692147291932"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.4.0-rc.3":{"name":"@alephium/sdk","version":"0.4.0-rc.3","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.5.4","explorer_backend_version":"1.9.1"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"dc0ce69ca97e648a2e65a22ccefcc3c42d1ff08f","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.4.0-rc.3","_nodeVersion":"14.21.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-7EYrjykZNmQw8v0s0DNdz6FiMMhyaNwtW4qEIqvEwg7TN03Ccj60kUfOZJ4x7dxI2+HVR2USlWInqL8iaci+EQ==","shasum":"9bf101e2f5546d6209d23af44b9e41e81b89ac98","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.4.0-rc.3.tgz","fileCount":47,"unpackedSize":2486617,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGd6/8eCajFHPxzBmHvzLRM/NmLcvL6r6VMvPjHdfORbAiBqFwEyhL0CZHcAg/Y4DwzXKKQFtIsBwRCNLKfP1W179Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkhSWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHORAAiij6sQEEDUFNW91RHSS497mzLtNL4WLVUDRMTpFASUOEqeju\r\n9D1Gxp6wM4n4qv2XPlIYqhxWey66IbYKx/y/xN5zmabJjkQZb2FOBLD6MIa7\r\nl2ylgQZEUi/CoTg5fvbPYTv+PuSgVtuKnOb+gYIMSqLEhW2JCSqN4aLdEtGz\r\n4x9pGVMz8PqkIjMGQhF1qgwqjkdqDtKUWVjkScvxJPWiFzBj4tYGDoSG+fM7\r\nhJhGD5rUvdM2NHqjxPtKORLs1U+wiTJ7FNg8KTjhP5HEe+Z1MsE1WK6Bc0Ia\r\n3JZig4O5YfF0uqcpOnlxIj0Iavh7sIhiTAza1N3iz8qssmXDLk4hrqk5jLOY\r\nknKE2v5EH3s1yWtTjkYXbugOVXSPhuuBIJsVn2PWQ2Cpa7aXEsBxAEOF7D9R\r\nUMtdl1lFYM6Bi+fuvFGYi2FMOltxo5xw9fZlIKEBwEREqL1MplLgxPEis14w\r\ng9JWxqDRrfRLnI5I3BWd0/3tiKdcUWZ8sWcSIDCtkN8J7HP4mW+6jAmcXuHZ\r\n3/oVM0cQTY5MF081FkV8QwUDaiZgEOZgnbvpeDlbuLsJPv75H5Nk4vo4s0WV\r\nBcYK95uZyoAcB0q0DSmM0P74XC/THLasxLIzuFaQp/IxrDe9opX8U0Z82Qa5\r\n9z4Q6hi8XynNRfQs9kwgz2HJT8XV/+c1qmg=\r\n=GX42\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.4.0-rc.3_1670517909701_0.9417135993182022"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.4.0":{"name":"@alephium/sdk","version":"0.4.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.5.4","explorer_backend_version":"1.10.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"223b0d7642a402e858988552128df090031d5569","_id":"@alephium/sdk@0.4.0","_nodeVersion":"14.21.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-GVnZCg3ifQMym4q2OogLP2wl32JDx0xcgkZcQHVt1UCLbEnxnvVTUcY1KVzXoGO14T5nOA07WEMu0NE9MUIgKA==","shasum":"e222c464f8a38d3afab5a8d6701fffaeabaec87b","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.4.0.tgz","fileCount":47,"unpackedSize":2486613,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLudsF00TLdXshSoRRSXANvPH05Ws/hgblMza5bFFDyQIhAPddRFtpy5+CLbnuaTqcwHCbC4cuZ9nV51pk9C/AbXm0"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkzJ5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrjJw/9G+SUSkuHShZGQK1vxJutBEzD/rtV2siBvaT17xq7gGOPbjmN\r\n0QHU6+Uht8scEC3wRbHvEGPZb7J20JAEND3E56Zjdzech+GJQ3FBZFNlj7PT\r\nEgOCh6QVLTs6h05wgQUSYIDyVTvhqPuabzby1UOYzu8+PiYNLXct9V14dHvP\r\nSSV9kmSxtor4gmE57SL2Hu40EFPp75GyF0u/9whkTC+IldELFylk9aXpSNRi\r\nja/9ezxB3nT2ZCYtL30+yILRS0pY+zdqqa6V45N9tRmbisQ/1HmXUZlhI6LP\r\n9+MgWSpentay8PWpCHADxTuyc8tycBucjksJ6RFgt5fdB7YRAw9mOxqXfnsc\r\n4FDu0aufGO3fBQ55zNgI4VtbJBvmUFpQCwMyAczwhp3weTWIjY73vvEPhvgo\r\nOUr6Q3fumbNe8RWcXi6xePhdQg2b9IVvj5qlk9ID5W5VPWNv0coInE4JBjyC\r\nrqxRa+wRsKnkpof00bgSDLCnXxg8qMMGj/d5/1zAvyFrXBBVb4IXWO/ydDAi\r\nmJBBmw+IDjccH4O5hVdggFS6EgDN1kGWP8KlHLA9rEuDlfcroCN9EmG/nwZh\r\nAkXnnb1FVdIBqWOsDG9mVCGsMjoJSqf86E3xdOFBRdwehyeKht3rm9hDz4JO\r\nhJWUMbrOwh41ERJ+WtBt5m0Gr9P/IPMNjP0=\r\n=LuOe\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.4.0_1670591097601_0.5034617178069722"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.4.1":{"name":"@alephium/sdk","version":"0.4.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.5.5","explorer_backend_version":"1.11.1"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"66952e4e56251dd75cd072db60f900a26403bf3d","_id":"@alephium/sdk@0.4.1","_nodeVersion":"14.21.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-wVjzsd8C6uoCVqDAkvJNy24zGfSvSNaAs9oZK+dDTCxePpFBOErKMcITpGuXKnes6NNCeFFX1LfhrxvhT9w/1Q==","shasum":"9a98b0116c783827a8bcafbe0e3229b2439effd1","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.4.1.tgz","fileCount":47,"unpackedSize":2486669,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCai3RssiEhjfyH5Cov6+9TmOu1V8F2YZSZUUAfLDlnsgIhAPrq2Rd7BEWw1fCQN9YMFxifyONvw506IbmUt68aeo1F"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmFsyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrT1Q//fJWrRLREvBNlGM8UqU+S2Ga1bSJSlOMHwG9aRBZf1Ji9pc2r\r\nANhACdvLB8H1w+DjHMzzQo8/SLSQWK/HjVPlxY5npWbrcssk8kpsIlROstup\r\np5CsXDWL97a5LkMU7qkZo8YkJLMfwnUONdsyfcsp6p8hk1xydTckVr8pVPAD\r\n1hUF8ke6rTAqQP9EUEXNCaIZ8Qic2xteeppHHDqwMjs9YhkP5d5YXDaTy/n2\r\nuqJwWS+EJxmj3f4LLVK+Ekz2Ctyteh87cjXfFolfANpXmTNjQxPWTMzPE/ix\r\nu3PyNJG+jY4ARxnhHglc1kpIEMydONBCdGU6Z/lAwIK7VCxMf0rGx/KNc50m\r\nUb3emOWTxvzm3DPeRbbikE08a/+wjIii0TTrW61rX/vVDX/0FMRTR9LQ2Wws\r\ng1UJwfFDvQkzB6TZN3HMWgkR4O5BxVF4bfBXI9u1C5FJXbrjPS3huumaT97I\r\n7tHLrw2vxEYZUiUt5vEQULi/g04TBNFMIf3sMUio4UCdR7V3n6yjBSHr3WQR\r\nPyQfQlraPpMNaI43CWjoZKtCywZZPGX44TkQtLx5yOfuPk1VYHivMYSU2dsO\r\ncI4l8w8i3HQt63h5nymheWBiM5ajDMXMdJCrG25ZkGQW9CGxW518AZqnbpRp\r\nc3lW7kqFPQv8p3rIbvhzIj1NBz/L7lqmfJY=\r\n=VNSl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.4.1_1670929201814_0.8052868248588569"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.5.0-rc.0":{"name":"@alephium/sdk","version":"0.5.0-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.6.1","explorer_backend_version":"1.12.0-rc2"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"76cb53de367551ac3720bfa51323b6fc6081b4fe","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.5.0-rc.0","_nodeVersion":"14.21.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-9oQ9SSpYqsqhBXvnJsmN8tEG8WuoLiOFcYtRKW9hr1YzmljIrGki/UOYvdch1Sa0rZDw2jMtS2il+fCjxNWWig==","shasum":"d8f04d77779342bbd6d12af2c83860e575ae64a8","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.5.0-rc.0.tgz","fileCount":47,"unpackedSize":2493083,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGr3pooUMVZcmd/+y/gKxtM+mvcaA7lV5LTA9EcIDNdrAiARQJdNoPcoMZJ1JaYEgWleZdFsze5TfT2mFP5tJgkyow=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0PuEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrAzw//StB3TRxqbFKDxSw4zA2amkOPbJp+PxUL2FvpPDyX9dhsVBCe\r\nF35O4PLia+wJnILm+4z7qEBkCGK60kaG/GPKLvwq2kdO47cNf3lhBojXOazy\r\no4rruQCNMkvKNVp2yFnkaQVjOTpjBOwYMH8OtcTRQlvMg/18Cu5PNtEO5QvF\r\nCPIVTn5tA7EqJ1dCC8o6dI31Du7YrT5qNsseQgfQdS5MgRAOsz8+pYSbBtOT\r\n4VWrB2sT2F74YvQoN48STT2PpbiCf0vE+wDQsULOcBE9V1VuVSHCcSnq9+it\r\n9WIpyEdFk2CPEIVCN6SaJA6MeJfHBpmt69jD2D29Rv3t4e0mmvsxd9zWVXWj\r\nmvH1Esg4i1mw3RjiE2HuwuzDRO7S6/xHhmlcbx/dS9jM32mTaodyOr2v++I1\r\nL1+ZSVbRf7NO5Lpwxp8mPz+STOAYboV/O0aYI0Qjy/JUfxDLsGa9AcdvKugg\r\nsvhJXne8a+YtqFdYCwHUwl2cYPlLFUkoATz8mSGNtCH5mJ8c2JlRW19tftQk\r\n2ra+mRVwFq149VYALVom8rOyP+o8izdRennuR02+a1pOCkfpUVQiGh8G7VWD\r\nObO3V7Q/7zvEy5BMqQX6RySRmXGAsRP6ku8ekhBdKdCLjSMyjHAa64Vj2z/0\r\n4lBdBiRQ0z7Buh6sB8NO2naVpv08aBZO+KM=\r\n=9MTm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.5.0-rc.0_1674640260445_0.31316521664682995"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.5.0":{"name":"@alephium/sdk","version":"0.5.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.6.1","explorer_backend_version":"1.12.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"127ffe8ffdeedf2e8c82e0ac8a391f007ad99a71","_id":"@alephium/sdk@0.5.0","_nodeVersion":"14.21.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-GcuaKU4TOUBeRy1UNvOpYPGjQ2zF2fY7mbHr6/wC28IkSbQgmAzEbIsc0y82w0opdkQZQRCk/hJeQmShuI6iIA==","shasum":"af91293366b3c187a3c9eb2fc9869c5b771f937e","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.5.0.tgz","fileCount":47,"unpackedSize":2493074,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZX6ecOWk5hPsEI1owsRhudsBf9W9DN7FPuonDUxSSjwIhAJxJnj+ZTCFQVMWWjoE1qhm3/jRcWCUM9hLB7XXrTwGY"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0kbtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0iBAAn0pTDE2qA/XT63i35lnjRCr7JHlUPhxXqDdhO3cHgKuLJ5+C\r\n2SR+QOMyT8Trcrta27z439+v1W5Rwb+FgolCgyXprRu8GRn8UO4bFHiKQTRo\r\na06KWdR/BugNmAEYSQnuVVLW94cCV2Cra0vHpqA55w37N2/DPOSDQOlpcQOa\r\nBMunRjadfAAbrqgkFVrgQEfzGYHKmq8Cs4cBRh1IwHApcXV6EEhmOi+pAQbn\r\n8cqqUPCUpEZEy9dmynD6H9Z08m4dVsZ2d+JThV3uvAEvK620TCIuJliAyroR\r\nXK1S//5J5MqN1mryW6cIj8n7Q+hR7E+1nDoyanL6sxYzIvuEH9vW5HXK3cxN\r\nQ+Tv8XtUmWX3qmoZaFYk7DuF6bAf4oRZCeggvO7Mhoe9REbRcYsSTMyrMiNk\r\nQbtv1lRPdK8tLqNSUIk6+NThQbnhQ9t9X8WjbNrT74u71HwAh9km3c4RIEFQ\r\n5P6tLxVJBONsx77DR8b/wdIOAY8XveSfyvUXddVX8TINpWczewUGYisgsO2n\r\n+yXnhfi+r0rosvjmrmkjrDdwfDqa0N1axqesQy7UGXco8i4JDV+cdkWzUqbf\r\n6xd1aQSdy4b7Xm+AaK4HGJFtIXcR9E0dc2+eAvTgdRaUNmKgambUlEvTZ1ID\r\nW8Y1rLPtFLDFkSZlchSjbY8PZ/twzy0L98E=\r\n=oDY9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.5.0_1674725101379_0.4534268194939155"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.0-rc.0":{"name":"@alephium/sdk","version":"0.6.0-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.6.1","explorer_backend_version":"1.12.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^27.0.1","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^27.1.0","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^9.2.0","ts-jest":"^27.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"30a87fa49a84ce9822556a2463645ae63e2b05ce","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.6.0-rc.0","_nodeVersion":"14.21.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-dzV2a4Q/2SJUTDslMhHNv78Xl7ntsVaXlJHWX/JaHGztUzpx/p8vO2/OQryOTbag+atylP+lA4V7sg6CoVKuNQ==","shasum":"e5c3f4ef778110d8c380092f0749b48de4b4f836","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.0-rc.0.tgz","fileCount":47,"unpackedSize":2496493,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGS2SbVrEXDhRIHCmxgllFg/9qtvsiVid29aE3odLUyKAiAsnTphctRUwcORH1Il6s4c+6nw9nSKRqnw4ez9dhXS5w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj86oFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo0yA/+L+b0luA3cj4XNelcsPJ2vpj3wY5A/SZ0Hi4e6YwamVohNBIt\r\n435heuVfMCpg6S+4MW9muLs3sWlpqulcL6FWqZA2HyvorL6SNF1CPUeZqSbH\r\ntzC9IR9lw+f+rCAEjOeOuFW6tOvJYIvWMJ3hbgqWdl4279cWZ3/+yYgFiIKs\r\nKzLsM/PY79/L65qWb7rWyeirrBh5eEsOTXVUzj6+IuBnJM9KIhtq87L04odC\r\nfFjVbcajWFxn32Wnp/z34WwF4pFIWOHOqXwNlPuVOaCA1juQ23BYGGQXg5IR\r\n1NNKf3XQ9d1hFHrFu8ilTECVP2aOhwDtkWCl+TtTRoGerOTpjLz5P8a1Mupe\r\nYzcBFRn74eReh4bmk6ex60AGcRaHK/mw4sN0NZ21YQfdLCt5iotw41u4qO3N\r\n3Q2SJNMhILw2qc1pkeOc2qegs6Md7O/wXBIgC9zdnC+nGwlegWghzJ1VOmAo\r\nz+ppAuF/4iZLbOHfeOmvC+Uo2/gKXl00tra3BYPXQ9ERqB8LsELF9r3ObmgA\r\nnP/k2U1KfHJydHZLoTO4Vm91ps/auiMwph2ww3a5NApTaoJeQN36CWQpqgiX\r\nJQ/oU3ugtakh6F6hhUPYPqsX35aahZkJgskXwdIyOBONPi0BomBN1O3yt144\r\nmdacE5Nz5YMswnUTpBhPJeX0ZNquRORbN7A=\r\n=oY5b\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.0-rc.0_1676913156925_0.2546621138306211"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.0-rc.1":{"name":"@alephium/sdk","version":"0.6.0-rc.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.6.1","explorer_backend_version":"1.12.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^12.0.3","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"c65aa015816cce74c3ed0d1b8658ef955f01d1d2","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.6.0-rc.1","_nodeVersion":"14.21.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-gqg2ysa+Q98Cjx31t32azV4OPa+zXpXUsBjj31xiZnAPIba3RoQOfQE3q38Ajs5IcaYNYsciftbGi6fDuvFsYw==","shasum":"c5a945d0af2d9bbc707dec6d34ff6093253ad7ff","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.0-rc.1.tgz","fileCount":47,"unpackedSize":2506456,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEnigAynpvE56ZzsJl8Vck+el3D+TUYLpR44Z1viWmSgIgMJct3SI9jzabT/wKVZb3OC+tr/Vp+9zVs/i1n/36mJY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9OYnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmolmg//UsMA4QwYxIoNE+mqv3uhKz0K7LG0CTZmY/NG7eT8BFmR7kfm\r\n/lxJtHjPrNTb3bhne407KD63nka1DXPK/hWfixtRic1HuqJaKXJuSkJvn8jU\r\nhGCFoj1Z1mrxAw0sdgWQvhvdzX9NNNWis30NhWvUEASOFyRePudqhQNHEZt3\r\nNtNjzgrbnjoWrx9hU7z0qlDyP/bA67SbXM88DoV9fnISz0nrOmqnRcSN7YHl\r\nOOp0YQZBnKkhJXBy7oXycqyQHkeWCzxP2OXEE+Pv2roRHJdPOaZT8/AGW92L\r\n+YPT5VlOiumYx86TFdRvBNmZcJbd+htLs5FR5k54V/hywuwQVLRIy204xYEj\r\nSt7g1WADhTBpj/BUb/A2DPKZtKjg3nlSLQ55BMPymu5WE37h4XtApXn6dTYx\r\n7nIcqSjyK1ETDPjEzDoBUzYpGCdlCJQRoytIrxuF2X/niBwHRPfvSQnok6k0\r\nuRb3rlE+V2MzBqqs1BUkJ0MnLfhC6GKY9mn9+mn8Hr8MO+7m7UP4kh/FDItO\r\nFAgVPdnhJaVMogkmEXio9Yw1fnaxwDzkmHx+1+xLlppJKBVA14LseqhpGMEJ\r\nKllVJXiSAGPrF7a7nIVNfrng3FdsmyHHLLRGwYjHt9ledZ4at9oIDpVAXYws\r\n4JAAaveqsWWqdPLGK7j5KuWEnwg2gNFsdq4=\r\n=mMbn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.0-rc.1_1676994086818_0.09156175853098847"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.0-rc.2":{"name":"@alephium/sdk","version":"0.6.0-rc.2","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.6.1","explorer_backend_version":"1.12.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^12.0.3","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"1b8103ee06719b160a55d68d30796360a37e0a9d","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.6.0-rc.2","_nodeVersion":"14.21.2","_npmVersion":"6.14.17","dist":{"integrity":"sha512-H71yARPGfjBbl8tt5PUi/xmQyA5Ev28v/DOepIg5JbFHUr5hzUTyrVHGG3xJdh7FDTY1TKwrdgLSSdemIqZnbQ==","shasum":"915b3ed65d0fba92b12919e3229cb305bb08b068","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.0-rc.2.tgz","fileCount":47,"unpackedSize":2511482,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHxcg6yQ8mXCAX8f/48jycd9z4OxXljSzuf30BC8Sxz6AiANRASSZC1U0M/FvFu4+U9xIt73cD8JGl/U/CAr0fopRg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9jsVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYqg/+LcYJrNXLC04Mxg/I75QoChzLk5lTZHN7MCTgkpYwUArvrpSg\r\nuBSwTFUi5seaF3W37j6kWRSjpLPCC0MalhIMu4dzL6ESfxmk2iu4eAUI33nD\r\n7ReXo00uVb3dLgV+t/CHL7BO+CUgOBVHdoYPUGS3cC99gHt2ANu15PsPWPcm\r\n5TOvdV5OXNNxlRKfBq0CphU58LnZmgB9OiJXroML1GqtjpxGJFMQSz/JD09Y\r\nTgJJqrXsG6jEux0JrLdPMXuh9VRfXEXdUrYYhoeAiJG+R7UfTLrgKs/DXOy0\r\nAEgwlqdEmaLf4GWK6Iuj/weu4Q0+saEnkuPEdCrAW4c/hRnUqct3Q0yyRCmm\r\ncKQGzaYbBeg7CX0aS37TysIL7LZwZbBeChWG6hk4UeBN9v09Thg5zRP16RTy\r\norzfmAhHi5OrRlhpvUOGqDi/v3OSMAJc455jUBnc27k9mBDDPRp1z4SrNE4E\r\n5CbJ3KhdwjXCaaTvJS97cdskW79oem3mI9hPb3J57f3IyAKLuQoZN6lJGGuw\r\nluC0at1LAsBTBiSK/1qIIR24fAv4lDEH5ODoHlvbGzJgiHHLZv8AHc84IUcY\r\nXf9O3dTERgLPJu3WV0ptRUR/poIQmM9oXpSJaWsD/NOc+xyy4kAhStGU2mRc\r\nqRymeKIJIrpGO1BDZItp//uARyLamiNxRsQ=\r\n=Vixe\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.0-rc.2_1677081364919_0.3908046184013123"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.0-rc.3":{"name":"@alephium/sdk","version":"0.6.0-rc.3","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.6.1","explorer_backend_version":"1.12.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^12.0.3","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"5aa21bc08557d3bec0fa8e408cf89f853a49063f","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.6.0-rc.3","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-Xd+kr9wSKBEwpmq7GJ8CIQ+tdA9m0H02HmVI9pZ4x9wkBpfsGuJr6K2I9/LcNrR2b6LdEjxFjhn22InmxP4nFA==","shasum":"6195d0b330b07a1730005884ed1fb5a65caa9383","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.0-rc.3.tgz","fileCount":47,"unpackedSize":2511507,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8yyafVZKjjAgSwC2a3q/HXXvd5LltiBu9OBpB7M4OLwIhAOhf+Z+ki9EvCCpXtC0R9vibJlJDCE94zvNpKVGfQwPE"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9z7yACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQ9g//WKrmjQefpjs3KSc7qTpt3/wKYQnXjrP8I4AXnK2UewbFw8or\r\nUaZP8rxeMfPCBAlO2MrcgByoOtuPSs74Wi4i/Cjbw17CJ4zCYB1qXp6JJZJL\r\n+1nE3GNy+5ukjSfa+CSdO3KJIBPbA0o7X8Hafs2ACgO9Nlcu/dMhnb1LZlMo\r\niwLB2UH1fP3ZsXdk+GEUkz8D1985wvu7WYpNrqHO4LoC7yiJCmiJVjRFVkJX\r\nznlxr7SvJJF/OeMjZ5JCf1Rf7HGJxeEo33FmBvY0GcEoUHOysi9BtkwxEOFw\r\nPpMci76WFMoxa92Sbhh5kL55GtGo5+QhZ23sANXDYhT8ZMhgbuBbUF39ae8C\r\nbq9G+ys2vdyNBwcK10sOXo2JvA8QB0cpCkjlG1VuGbshOQvnM2IgaSGtIB/s\r\nQV2C+zUYXTW3hjmxjXgzplZuuAmNdPB5k0U3gTqj2/2+6HuiQ9qzkiytarvQ\r\nJcGOjH/EwMJJIOQ+dUvTs7NOnpgiBXe8lTeGo3CMsMHIh4if3rqVqf/omHVR\r\nmRsn+D8723Z2eoWikpTrtNAul1rd5DEmffUCe0/nMFBJhtOlLQXQJVD4noVx\r\nGfZrnfqZtbqYaudsxV/vg3j4Xp2Yb/YGZJVt9OwrfPN1nkC4/a6rznRfs1Vo\r\nvoraNx5ZtoHAjLo8sV8dRyXhp9DeKAxSGWE=\r\n=+KLu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.0-rc.3_1677147890176_0.1504268230565966"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.0-rc.4":{"name":"@alephium/sdk","version":"0.6.0-rc.4","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.6.1","explorer_backend_version":"1.12.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^12.0.3","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"6358992337c9bcc3ffcbb6d500665f7d86f03ad7","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.6.0-rc.4","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-/3h8fZlbAGUCFn5AmTzhZvcGgN5qzK5UUulvJxpW0EfVXjIVdUxTWRegSyldYaJhXTJAAk+QzlWn47eFbTqX7A==","shasum":"a2cd12968a5bbdda9be9263d52bbd9a471573b27","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.0-rc.4.tgz","fileCount":47,"unpackedSize":2511838,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICa4wMSEAXxHrqUh1TC9CbTUC6z+j6hz0aHpSk1lkKHoAiBUgV7xxUFY/5XU4eXBjaB1c6W3imvhtBG2gAB/nKtgDg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj94TyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrP+Q/+MeMQQe1e020fIkTqkZsCiWZipAKreWaes85z6urTKZ6qKjM7\r\nTNrkGIZM/q0NL5wvuHAkZI+SwTWC+m1fdgbitlGQzPRYfcX1zH8jwq1+3Pdd\r\nliF/NFs/WcYknaednQK5ymqT9qzYaHk4RRNJ+O2i3HCMQkZ3xhk6fvxXD3De\r\n/XbSsMyiNjkN3r7v6X2cahO3ZDaAKQDu2vD93+jjodanxQhdwyGriLZkYq3O\r\n3ho4RWPMqda3hSYJEHOFsdnYKHr0xL8TAGlU3LFK0Fc4to34gqh47l0TkL64\r\ns/L1JwQilnuEUCTarfLGdv6aQSscX9tx1kKHQQNghdxPf8v/wfxOggR/xsa8\r\nqsnc8ZMoYE1w0DRfUer4Aow2rZQvJ8o7Zn/6+qcHrUeewdoVu8OEeTqIcmhW\r\noMK/Cc6uQCxWyytwXCh3E3Ut+rbLpFcRQ4rlI2RStwzuzhKEjDEA6jQlJYs8\r\nRS6CQ1n1VKGd27t5JTLcosxlFmaPhgeNBpR4kPkx62qQX5L9Gd+kkr+fhWPT\r\nHYNycwSNQY7HAl5fvZuzL5OWB6lwnpiX+wP1l3KvdFiEatT0DU07jw18jFOM\r\nNr6gKqcrxuw+WFN2eCtKdgP7jhyZWQlalDQ95CxS76fbPF7HJYmF5ld3DLLB\r\nkxOGaFiPW/6676U1x3BmyaawOvDLProxRbI=\r\n=9aIX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.0-rc.4_1677165810673_0.18130546497140898"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.0":{"name":"@alephium/sdk","version":"0.6.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.7.1","explorer_backend_version":"1.13.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^12.0.3","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"2fd5ddca502891f0e550c47875c84cb39c722432","_id":"@alephium/sdk@0.6.0","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-FwZhvJgcnvGvnTZKKI/nv8CJ/N5NQzR+R1uom/XSbSREVPOh5knnitjXk4DM/67kvViPlePAY2Ln5D5x7I+XVQ==","shasum":"06dd6522a5dabdc885765121c21bf8499d0aca43","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.0.tgz","fileCount":47,"unpackedSize":2517810,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBboFFFFf8jAzAHkdyp36JUl5ZYSrR78/B4ouuvbiRnCAiEAl12xvphPFPQkzz0Ukbd03YnkpFUpOyPL1S+V/l7R5BU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/LD1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/wQ/9E8MYesIAdQ2dTTVybbYb9/JjSAZFTNcriU9ZxbRpk2Z19br0\r\nO4paGfHwEGx+OdR4c2OS3OIosCxz2zDSziwGqk8rtbTJCusjni14gsbq/arI\r\nrbkm2zD6VP/1L/JIJowGU0bAFq6wZu0znmNIXqaBay72cW+D0yIJg7EZ8c2L\r\naCNynTw3w77uJOaXNL/5RwWWyFXbH/ND2uGhctMOj37HYvj3OdhVfntPqdQv\r\n6rRGa0kQ245usg4CYHtFjjR0XM8yxpX2yxzQr9+ftduan4Rryfi3TwZNDQwb\r\nGMvXzieW6J8UK9ounr5rFZdv6IDg2AuF9YyXjcA4/KodMAP3WUzdgnX/VOOO\r\nN5twSJuZftgsBWqKPIDrvGUl4ILndDgmBV8vfLXExh2JF3CIKGtVjjzhw2o4\r\nc11xdzAEyKquhS0F85di9IsNm/p31bZQgbpA8Chg94Q+EOt0r4u/HT464tH4\r\nDc2wI7PKlWks9n7VgoqrWzA1x+qPNn5S1m1uzQdyajjBt1dGhnpjut9eDJd1\r\nr01UbgeA9uwtHC0PksX+UYhojeNcbSYAUEiBJCDaFSVDx7IhvG1dhUe+GrlH\r\nLJRWtmIcPBO3NZZLLIoDqI1XnJns4n1K7w3pXZQRaqTi3u78Pa9N5P0XTuf6\r\nP0jvOeKTgF7esbJljHJ13cZvkpVpNPLiCng=\r\n=EbTv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.0_1677504757516_0.7827172190651561"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.1":{"name":"@alephium/sdk","version":"0.6.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.7.1","explorer_backend_version":"1.13.0"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^12.0.3","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"6ee132a49c5f3fcea358fd0ef1d7c9f9ffb54934","_id":"@alephium/sdk@0.6.1","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-ewmio50Q7n/fRcAXM8eXm7XAycQOMd50JhbgVL/MhEl/QU3NvbsTMu4tAPOv0FqUJVQ+Wq/NugF+l6WHJ1JmvA==","shasum":"d6cff6f39259bf709bfd75562a157e84a360dfd4","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.1.tgz","fileCount":47,"unpackedSize":2517810,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDozwUJCVsZaAmc9E7qrt77gA/qrPX3D/pyqPEgPS1FxwIgYRiW+SDxBylGB7KhyTxj9KJPpIHTKb4ntEKQ2od//xk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/MnFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPVg//Uq3oqIIeSmdWGGwEx/7R3WhURSmOAFgolOfijaXXdWBvkOcw\r\nBGr1YPoHbGDLmd4ne19xCBKz52p6P0zLbbgmxn59q06bhxos+klN5zaW2hvQ\r\niPgy3Td32SkHucBSOgh/JDEcR1Mciugij1uDC1rTtCPXBTSpQuzUzt1QtWoA\r\ni3eR0mTkU0ErFmNItCr+QSrqKysYve6gVmS/NYASOg2DGvK5eJ6gbPJM0DoA\r\n2Ei3rqEiem4s87IYjzyFCNY61duHoPiwLgvDh4Ai1S5YON1gIzw/45dUHW25\r\nZNXaHHYsdZ+fhUxbYLvvDvMDf7xnIk5MkkdX4VBl6g/T2bIYigqP/2fH4q9T\r\n5CJD4pBKLWaD8O55CgTYlSzpndJ7EykecZQPf5SgPsI4dlY1to/537XOAFMP\r\ndOLEMT9sRHPZmAH0/GTAUrmKnB05xuzNukem3Zq5AonJehTjMvMGrxCxgxTA\r\nGR0gysKTI/bULtckUlgn+uiHZUBKJx+QCnSet+JG2HOBbBX4W5J4HVC3J1uy\r\nwps28CkyElEbSXa798rfRgyX8/klcB+ELVPPYJKkyyViZ7hoi3gkXwDdOrP0\r\nfUXxsIkY+xjpaCaRH67kmmiAIEXnCa2lHiSHwMIM2J+wMQ7wyU7JyZGrkirV\r\nGauVR9EQPLFiYkGWGbYhR/sSeUD1/jBjmGw=\r\n=IL3z\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.1_1677511109312_0.7831434085307143"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.2-rc.0":{"name":"@alephium/sdk","version":"0.6.2-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"2.0.0","explorer_backend_version":"1.13.2"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^12.0.3","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"25437b7e2124dfd7f1e5643acbcb0a68e6589e84","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.6.2-rc.0","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-zrmdKZ7YVQ18VXr7ECsO+eTjtywG0jJ3IP4G0InkWC7GGke1iTN9f9a8ZZxzthl9lx6icZj9qvn4tRghKvBVBA==","shasum":"bfc17449e0da2e0d54f3866ecd400e1920a50206","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.2-rc.0.tgz","fileCount":47,"unpackedSize":2479541,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeU4pqAtp0bwgzdwlYryUqHS3g5xTJuzhEYwX0bced8gIgVugfOuW2WdIvD2OWyRDH/ys+GGOkr/2Q7srf7s8nibg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFf+kACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrB8Q//akxduMcYlC5DqZaMKgc2+JB+wjcFoJmvtk45NiBUFbKP7R6l\r\nh3JygRsmQjCiz28+NQ0nu/LAWIKtmAix50h9p4YLBzXhG/D0nc9px9vyXyyx\r\nq3hpwqJL6gdFREKZc3Sr73QQiZy5z7Da4or+wBoqz7IJnsT1HgrRvFuORBna\r\n327L6c0DEhTbgYxqMtTD+ZFXNF9oc6mXCEswWGgxp9zkddVVISiPUjvqrRgP\r\nKpR37XD6AhgwrarbcGZhch4uQCfsXm0CTjs+OgHAYfqF4C01hNC8XB8KeAvn\r\nNQ//0HAXQeNrr7pNcppMOYY+jAXy33Av3/25/4pobwZ3gJAwDeVaGXx+xjR7\r\nGgacWgyCbScs/qkAA66XDZrA5iLm4cmzr/zrWZapkjlLf456Lz2DcqZqEIXs\r\n1+d3PjDPzcGDBJRlz1+zthMKdIQbNo2AiBtA0hc7VXKxzPz4f3snxm7r3+Fa\r\nBrqsyI3O/3w8G5Qiwt567qyH6GNUeus2UGEpXnceAw7s+1C9awZMqj+qrZAX\r\ntqkFWClWBdstYy9OTwsLA/QYf64lGCK/YIYk8hU+qgluyVm8toPpvwordqYo\r\nTKVFZsVpsrodgpI8qjVNWZmbBRR8kb7lx4Q3vyUK3m0zqH4Do2T3m7fobRyN\r\n0KCtBZUeWNA/0vc4gpc4RiqhxBnBydsMrwA=\r\n=/30E\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.2-rc.0_1679163300313_0.5717922998529548"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.2-rc.1":{"name":"@alephium/sdk","version":"0.6.2-rc.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.7.1","explorer_backend_version":"1.13.2"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^12.0.3","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"13b9d0790b6ad430ccf8603c4a2a8a1109705595","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.6.2-rc.1","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-X2Cd/wOzYJCKN9Z1Gz96C3BRf8BjMA5TMSYea5B/A/IemCN8R+1q/cLrlwjXMQW4u4TCVonsqIDhAxbkfvCTTA==","shasum":"29ea53693af71a827a06885697859b45f9a28f24","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.2-rc.1.tgz","fileCount":47,"unpackedSize":2517879,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEiNP29lR2SsvSK8eUvVG/rf+jWNG7JeYpNloRSwa57DAiEAwr+N9xBaGaC2KRx/qU8d1K5i46Ta6smAgXeIUq024/o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGLAjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpuSA//ZyyBF3RKXIwP+n9z4tlsk72DC5dpJFLKaMqN215gXKk73KQk\r\nulDN29Ub2T/rhMOBitKEYp+T74+Ma5qHeDsproQR88yZ1hYHNEwvhzVomzGw\r\nQnMcYfRlhWjS+YeL4RS6KAarab1FvAT8ZIt0rbfQHjzgcsPDs1nIZHT+PC2t\r\niveByfSLy4i+bTN2HU8VRjdzCjFXoV7xMY3IiEwU/IGCb/1yUQdssOO2OaO2\r\nqTK6JXELu0roRQ5/UcIS8zc+RmL/ijVoRfQ8kyP9JAZs8tEz+TpxeAc2Z8XB\r\n9AKebmXIrwifcV9npqqv9XK2twk3tyFeZzE4mTFXyKlM8Dm2wvJ45zrYn97t\r\nzeQ/yCie8br3sAWZb6UMViqX+w5XAfN68W+3+nk7IP2ExZUk3BZeROMmjYwi\r\nRLDP8bZuirV6Lekohp4uQlD2wQchWIKQ3IL+sCTBk8djI81wtyIxbZ6KV9g7\r\n3SoEo8Vx7maE52hd7XV+X7OadAmy1GkNcPHZKJV0JHshDUq+HP/Bf2ZYcHgS\r\nSTvT57V0fj+BV6meUfEJsaI5OK3zJE9X52b6SfoVcZSDeF1f4yLiWEr9x/fX\r\n7WUgUOaNXdtDKNhtH82wqNNyT2AyrZhRJbcgdbspBhX+0/RTsevOMFf6fM+u\r\nq0J8SCEJwbRIQk4/HE8vUhnhSdG9RVRhFxs=\r\n=55iR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.2-rc.1_1679339555484_0.7520045622257252"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.2":{"name":"@alephium/sdk","version":"0.6.2","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.7.1","explorer_backend_version":"1.13.2"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^12.0.3","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"9d386f96de46aa8ea54aef828643f93cbe3c5be0","_id":"@alephium/sdk@0.6.2","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-y6cJX+zpcM3JFeOdLtKn45blLRHEMIZyMoaZ3Y/ZZiAhN4MUKeDMEVTAxlnEw+rwcb+0hilBXdszft6lZ6+CqA==","shasum":"22cb7da09b2b63314f49733c315082c091fad346","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.2.tgz","fileCount":47,"unpackedSize":2517874,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICvukJAcKFAqiSeMcueTR2xPZ+LVO2ZoaU+UokNMnHxtAiEAwmdLl8UD417uliYs24Fg4E0IFz7nXM0ZLnnzEiauDNg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGV1zACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqxpw//XTo+a3P4ypA7h38ThJtzSHz9ygh9SarTc/a3/bIegVYhm2WU\r\nR4sy6oe3FfDA5ctrMY5xDFY/aIF+rz+/lnx4l+BgQIl6tNb4Lg7XIQ2EQbK6\r\nIrGvs0Ps3uxumqsfcsj10b91n5wszMq9uFiF1S17ys/DGM1pw75qJB8Y1rdq\r\nesHG2dG1P3Fv5CKj+9dULo5YQjXDEQgG8wVNtV0hEuXc9up/yM0BN2NlZYfm\r\nSS5FlzESIupwBwXKMM9BIi3Mlb/1uYayZxLIOqMOMkSX2IkVOl25vUauIOb+\r\nJG34T44TLeNWppGO4Dq2hI92cqsqvV4G1Vo/LOefTFu6LjYDhiHnYF1m7H6q\r\nEyRcJdlEoVsbFeXj8ffkymIYBUW+3fBlb1ylzlkFJdoVvuXIjkjIbGTgHiWb\r\nT11tmTcx/LG8uwnWT2lqKghi/4C2wcqxi/MTLTq7vgiBqCB1Pl4stmdqiS6X\r\nsFVutC1viarAglhx2/sxt78XwGujJIqsm9JVJxTEdntIK+2o3PrOsHXa/AGd\r\nwKB+Vwk0/bi+LLl5RkB2Y8Of7WW1s/GHNMSCBwc5P3nuYw23mLvwFJayjaFt\r\ndMRE20S52yWXYPkOxT6jVNPDfjIw0s1PP3pNLl6mm+tyowGGQPhFye+VDvKd\r\neI+rsLS0QZshDD6ONvm9wMiZ+W/bmt55egY=\r\n=/pfE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.2_1679383922712_0.9035166996847923"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.3":{"name":"@alephium/sdk","version":"0.6.3","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"1.7.1","explorer_backend_version":"1.13.2"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^12.0.3","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"b7084ef9713ca2c2548b32ff21262054e03f899d","_id":"@alephium/sdk@0.6.3","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-3DtvuTiDdE6txAuoIXVAVmSHb3JnZVHeseiLcAxHmXIpG3DWNtRqOI4bKE/UzArb79zSRgzSOZroJKyyhqgdEA==","shasum":"4c783b825f8fd8564a6ca8d42d238d22a5f1337a","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.3.tgz","fileCount":47,"unpackedSize":2517883,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB2zZyDMnAh0CQtN7GP/KVAiCEYqcDECkFL48jGtc46cAiEApKuRDwbSt5s5Qg8C1WL4XPb23yZZEY1H/5rdsiC1E+g="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPlukACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmot+A//fK6CvjwhQnNaeurd/Dcab1WOvSTMrdiTOHrZ8kC3nGcUJqlJ\r\ndoKzeoIlC130SzfvQLMMmM13234+IY70DCXt2z4+Ii9jRppK+PTdCWtEDND7\r\nxDLUDuLqcRi2AgLiMLZmAZF8wo6vI1N+TrvDyb/h8ChFWVv2iaAmQRmeng1A\r\nyk+MNhYvmwZZ9K2I5dEUBO8cvZe8rHy+akuxTM/qeBNoo4jymi9bTvUieEt9\r\n8GLvp/PTqTYrNSBc7T+/mc1u56IPTnvhuuIFkrgrLVcXZGBfUe7z35cYqY1G\r\n3lYfF6dhl1XDDS+/hjoUYjhPVZNU1advc0/B2uGygR+N79zRuOSdRFS/U37M\r\nuRFewZYiAiTNNL+7sVFYF+IC2mZi3JStj7uxQ1al1G1wSvcpfKMB2jwLfcbL\r\n4MdntoDaCvyyvYJK/whFnVbKpDOFq60LfI5K2E0Ovgn6IsKc/BCh6XCJ2yLV\r\noZSHp25jAx+CS//FsRJIzi2OlWablcgb59SIcKKn1L1ZJzVyMuIDriirpLK2\r\nkbQk+juIB+11w7NK9Jm9DNJAF840mwr2/NPIhuB63J35qsel7uFiuRunZltr\r\nJFDA+3A/f8/8nedcQ5+EXExvf1iVTiJLt5RPg2do86Myp/2NcNyyb2wQzAGU\r\nSVrDiAlwFpN3hFjpZIfUbPxy+zChfd/OPj4=\r\n=0RLw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.3_1681808292362_0.7765545346900018"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.4-rc.0":{"name":"@alephium/sdk","version":"0.6.4-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"2.0.4","explorer_backend_version":"1.13.5-rc1"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^12.0.3","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"b342332ef0bb2f3e2077bf90429e103a28a4d51d","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.6.4-rc.0","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-ucEehtJDorfONn+nUcyIsoTjk1GLgo03rBwXwpkTYwwhsj19xcQ01UUUna+Yr0iPpK3N8pHULhm9lGS+fmpdnA==","shasum":"70fa8369f5fc88987dbf6b75ff8765134f75ae6b","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.4-rc.0.tgz","fileCount":47,"unpackedSize":2526060,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmOrdoCvg2zWT3xneUBzmzEL49KP7IRv5Jj2n4VRrpWQIhAOROPdUc87mW1eaoO90z+UtuEXXEldd/hqmxhwaxgYnO"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPp0RACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpk1A//SVD0ygqCCFyjMluJVJSKvCiL0M16HgaJ/ujz3eGh4fYX8Ryy\r\nniSIa9KjXdnqLCAlG5xgKTxmcIlA61SuKqBAVgsm4qhvHqGax3CWKWE0XYzd\r\nd0KtpLsBqgCsdDY89KjRpCxGx45oQx3myzfxGt8+FB6fFWDwAVP0lw+belf/\r\n2EKxJmGs88M78/KLsekuvBNi6oQLr6i8gDYZCok2d6XXSZ+ycnbms6eBFGi3\r\nhg8zi+t3znfqv1ZWynHHASQFjnjPnTaWEZc3E0A9j0KVccRLopRXDtY4vrhN\r\nx0n610a1INNLcGAnv97Dyf3ngjHekVJOCFaO1+LDwjHEsJcaYUvNZryA0HTR\r\n8tXMMRXe20e7nVD7xWh32v6npmUK3DhordkH/8Ycw9r7+TcuGqnORiQVz4k4\r\nGzOt16LWPK2LYhdoQSPru35gcg+tHtiJjQoSw/QtqdthI1b9MtTV9Fn9XbjX\r\nTHHhdfljyCujGjgmpvFe1qmbT2EtfDs5KbNCIGjV2lXxYziW6SpmwwC3T1rV\r\n05H8H9A9xohSfeshCCt7+OCJmGkJs2uGXj0lKtGUBR/m5CnvyuSFErrdYtav\r\nt5PzSWHCfueICiB3YFdDYt60hcYeZFOVfpIDPfgrbqkjQybCM9L2shNrwiAy\r\nm6v0ZGy5Hx0VZoQPcOI0xLQhbZvCbwyjefg=\r\n=VdRV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.4-rc.0_1681825041655_0.8086897725281419"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.4-rc.1":{"name":"@alephium/sdk","version":"0.6.4-rc.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"2.0.4","explorer_backend_version":"1.13.5-rc2"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^12.0.3","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"dd07ab563d810f7d2386624a3d3fca3a5bebf1c7","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.6.4-rc.1","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-m/ynSDmUIYwhRHiBjvaV3FpoLNZRdch2SKlH7i1+vx0YyipliAel8N5RuCHG2YPF4yQHcThscFDBOjbD9Ymrsw==","shasum":"ef7ef642c326198250891e32dd2f478d6bbd432c","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.4-rc.1.tgz","fileCount":47,"unpackedSize":2526118,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3k1h5Rgb2scN+YkDfn/kd5RLASpyGy+JseRaQdsMLugIgcJo42zkO0n4tbrKt28H5i40zMKD336LqBk6wCrslO88="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPqMiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmovWA/+PY61A/ZIuWLM2lv0IwWsmrlJkgWgNIAJS7WiROC5p1L5lBoT\r\n9tDlEoOO3B3yYD1VwbfKcmS4Ij57wcD99HA9sjfffnOH46e/2S7VMLBsJa/e\r\nQWEaubwzRck3GRHY+5vobMSNdOUGLVMBmJWoAFC9BXWhT8d0Kx30XbzXWEJJ\r\n28OOunuV80FaeQL0QFk/Xia5CnVKPGfNrQimpXcracE+nXFNAVwDjC1q4Xbk\r\n7xi5Rrw3Bq47yX47CqKjsiHbGMd6rlQANKdaBmdaTip6nB0SenJJqyw7kv4J\r\nIMrey8TZ3K6/GS45Xc+DuiXYS70PATJ2u8Iy8TA6mOJ+TnQsT6IOUoI6yLlH\r\n81ktwk3YYS2GqQX7RLgW0eF1rHDnyf3GVGdOeHmU0M2UtX6we245rOMnFi2/\r\npFSgXBx5lwtmcMgH009jno04VacjXCmCMT2ageCgNg5j1Njwo9iBR16mLwkb\r\nldKp7Gb7VjII68vR9MwNwjJS23QEo1a9RP1FvY15RW2Q1G1fae4U9HtQsc7P\r\nvyHas//vf5JEaRANVRUfq3DVyP8cjUYIGJ9SFGuxg4MC0ff0vnksC2OWVxLl\r\nOx6zjeceZSrU1JoQgt71H+eoHDQihxWAluiUJ5iD58OkTOc4f/CVOpCJBDkZ\r\n0TbrZxVTctklHl3J6G6InQJJO8KNRNuOBrA=\r\n=/BTv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.4-rc.1_1681826593933_0.8605358958165326"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.4-rc.2":{"name":"@alephium/sdk","version":"0.6.4-rc.2","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"2.0.4","explorer_backend_version":"1.13.5-rc4"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^12.0.3","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"14da2788a3a9114427149d3e5e0a125ac7e05077","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Update schemas\n\nOne first needs to update the version number of `alephium` and `explorer-backend` in `package.json`. Kindly note that one needs to check the compatibility of both OpenAPI files manually.\n\nTypings can automatically generated using the following command:\n\n```shell\nnpm run update-schemas\n```\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.6.4-rc.2","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-e24QVs16+pAchTmCeKaQYm4VR3mTtoJmUvCdp5NqtsBDFoAz2KD7Z6PfTxaOZfzqTI7YWGG2NPKilyqf0L/GMA==","shasum":"638d47fe502ee917f1ca497b97d1f5154470eb6b","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.4-rc.2.tgz","fileCount":47,"unpackedSize":2526115,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDjUFhaajqgaDXJWLKA5YFTo78g2ptnhrvEjOR+EkaWVAiAkgTN2izFrGhhwhkWw0gCnO52qt8adLhLMkOlvmuZwVQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkU2+DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpbiQ/6A7E30hKDbumhBvNQwg29QN2VwHh7TcUsPJ3ovdglf9mJtIKk\r\nMtnMscFj9D/uukku5yGiTQ5VNpWR25OCrnS/rp1L4fHAcFuRZ0fpwZvfNUUC\r\nwRPNIxVE7vHyVqj3WLmhSMoN1oDYf+5Y86yDg/QMVTCF7cXCqMxrussHg7m6\r\nEPTgdFKFcub08FZuz3gwXmp/vzSVfyJu5qiFxHjlGo4TH9d1TMIoOjhd7+Wz\r\nlsvUkNWkvdhsmQPfu44cgxZ4kYXpEmgxVabeP3Fcmq/FShFpHoH6ttdW4R1y\r\nIPV0/Hbw6VyyE20alYODfLqGqJbm2Hgg8mzr2laXtBdm8tIEpM5u1dtpu84x\r\nMTX/v9PuJg8JnMH74txOGr6A+6J7L8Kywr+8v6ryip32aOSwALy1GiV5tR9c\r\nCYMcDX/ARynxf+TH6zOkIf19sKU8n8/oGU4hxUyMazqV8J9ffTJIFaByRRtX\r\ny9o2XKj8JyaCk32IDVTue1e2FXRArcsDNcYQGqbg25b8kaLlopw+wIK628RJ\r\naxM6PFNRoz4ewyLjUQIxlQE5vjlhFhdKpI2Hi+A4EbnbuFSajdkpGkEv5Q4a\r\nCLCpt8nubNJjfVWoaDz+6crvX4pnyuRJCdNTN0omqTuY2nhcTW1YDA5llVUP\r\n3XDItnZ5Rb1+F7zZnedOzJw89ffR8LdGOXM=\r\n=uYYK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.4-rc.2_1683189635621_0.607261762810293"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.6.4":{"name":"@alephium/sdk","version":"0.6.4","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/lib/index.js","browser":"dist/alephium.min.js","types":"dist/lib/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/lib/index.js"},"./api/alephium":"./dist/api/api-alephium.js","./api/explorer":"./dist/api/api-explorer.js"},"typesVersions":{"*":{"api/alephium":["dist/api/api-alephium"],"api/explorer":["dist/api/api-explorer"]}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"config":{"alephium_version":"2.0.4","explorer_backend_version":"1.13.5"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","update-schemas":"npm run update-schema:alephium && npm run update-schema:explorer","update-schema:alephium":"npx swagger-typescript-api -t ./api -o ./api -n api-alephium.ts -p https://raw.githubusercontent.com/alephium/alephium/v${npm_package_config_alephium_version}/api/src/main/resources/openapi.json","update-schema:explorer":"npx swagger-typescript-api -t ./api -o ./api -n api-explorer.ts -p https://raw.githubusercontent.com/alephium/explorer-backend/v${npm_package_config_explorer_backend_version}/app/src/main/resources/explorer-backend-openapi.json","check-versions":"node scripts/check-versions.js ${npm_package_config_alephium_version} ${npm_package_config_explorer_backend_version}","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"node scripts/start-devnet.js ${npm_package_config_alephium_version}","devnet:restart":"npm run devnet:start","devnet:stop":"node scripts/stop-devnet.js"},"dependencies":{"base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","jest-websocket-mock":"^2.2.1","mock-fs":"^5.1.2","mock-socket":"^9.0.8","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","swagger-typescript-api":"^12.0.3","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=14.0.0","npm":">=7.0.0"},"gitHead":"4146ef75b377d8f62a119adc0dda88dc2886fdd6","_id":"@alephium/sdk@0.6.4","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-xXOSCDdN8yeXYRaaAcuUp2FfiUMd6U1W7uRfUCMBnUbZm5a5n+/AI1LXOldcTw7ZiMT+UrvUH8XRSJPZALj7aw==","shasum":"5a898c95115acbe761a3a48ef9862406177fcb92","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.6.4.tgz","fileCount":47,"unpackedSize":2526106,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/WeKiTUNWQ1/uEnpPdBlczoPTzLPbjnDswxT1738k2AIhAMkmqP0TVVKOL4cFidZGaLlY6pUkxbplvQYImyRPAkUx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkU3JQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGiQ//UwFdLyYA6ONvHdFcV+dXMjTiC8lNe++kTz1TQ6oOWawDUZoY\r\nVxGVrI4vn2QhXtKXXNvhRgoI5+a9B7apmmaShNB8tljqQdphlKIBMWx+Bybz\r\nVOVfqcvSjr4ekThutB7kZU3qK80/h5ooksG+O+q3RrIt8vHFfBG69SFr2BdD\r\nFHtFMt6d5uF+LM45elNEC6ZAEVqOgpcZ1vnRUmwh7xBiqgPwCzNicXHbuUVk\r\nfojncOwIWz+SuKy+ce30mieT7Wzw9TmoldgeK/pH7wuIjBl5GDs1j7E0/PL8\r\nuTgk5wsh3BI3VX2GZdNBM8OpM+zkDp8edHsfaesH3jQmB0Q681E48JcApSrP\r\ntG4yF/On0FowLQblcgeENUDPi9IZb0vgO5Tl32dpIWbILCrj3QexU8IDt2bE\r\nIMq74rlaNNmimaeR25NFcW+X6ebVxoesFYb7NixfNVTifmSXmZkdBmwLgork\r\na1R+x3/QMIHxlZyvD0uHtzy2lmXXc74acW9sHEiY0jPyRXigQGbJTRb+VtbL\r\nIvtoHajNXZLOTsUEkSg5AULGUz5fFs8fmvGgHm9GWk2AtegzHnmj9qbz3hVl\r\nTS/CkHbDtU6d9Pk7O5kucrcgjFouDyDwVXAGCRZogRrjXTZK81GPvViW3wEd\r\ntLJGalg7Lu+XLJM1+VKtN62uQW5Q0dCAoAA=\r\n=Jnhe\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.4_1683190352584_0.9861635748286108"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.0-rc.0":{"name":"@alephium/sdk","version":"0.7.0-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/web3":"^0.11.3","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"5f51a8e55ff11c99cff0c38291abe17963e76c43","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.7.0-rc.0","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-JmoVI3ZDim0ZWNZeCs/RrH0RLiMoUDdhvOmFtVIZwoyAh34KLXELM92qGUCeCUoGpy3XhANHBj4tYR2ynA6htQ==","shasum":"6105f1deda2887b0e1b4bba4e3577bac475dee6d","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.0-rc.0.tgz","fileCount":25,"unpackedSize":3096078,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFHWJdeUOZn0CJneVSAwNnkRj8cfwFevdVnmAbIOtBYDAiAGie7t11Sgd3JKL7Jdi8whYHFJqSVD1V8lAlaIO4ejgQ=="}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.0-rc.0_1683720718220_0.4158814748791133"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.0-rc.1":{"name":"@alephium/sdk","version":"0.7.0-rc.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/web3":"^0.11.3","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"cbcdfe27742f8f5c97d675b30cce3ade33768ee2","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.7.0-rc.1","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-yuwBbUnwLIMcysoM+DvCX4QLeZVWnfCYjzrrPnDjc4ksxnluqRPY0D9RatA15/kC2CY7yHcDKtJ49nQy65vBBw==","shasum":"2a5251a998c4a49ed6e4aa4b6f5e8dd006292710","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.0-rc.1.tgz","fileCount":25,"unpackedSize":3095638,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC46NWoxYOs+lBiNJw0EPMnhToZVxU86VLX81OMqbLZCgIhAOPRMwdidXl1dIqXTn9EA6iFCCxIREyyexGVaz5H4jtU"}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.0-rc.1_1683722913405_0.5509378542726997"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.0-rc.2":{"name":"@alephium/sdk","version":"0.7.0-rc.2","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.11.3","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"e90f3817f9ac9c5a9419718415160ce4865ce526","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.7.0-rc.2","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-y028MnRdCG2A7Goqv6ERk8/UOZg3MbfqN19mh2YqtJwre0OFjE03MO1/idzomAVMeBgg8Yy1ZJSkuTNYE0FcEw==","shasum":"f364169f0b2270f530dcdf827c524394cbf14899","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.0-rc.2.tgz","fileCount":25,"unpackedSize":3098983,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBwPfOjNIPaTOYd/5tWa+oGaryB0my9H4EwICKI8MSi5AiBdmtTGKuXgfUExYprJ64ktU+Jem8pzRWR9/Btn2hax8w=="}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.0-rc.2_1683728345249_0.39334775941134725"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.0-rc.3":{"name":"@alephium/sdk","version":"0.7.0-rc.3","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.1","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"490e1770d7fc23b67b1edb52d33db291cbe1c760","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.7.0-rc.3","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-PPt5AA5N2VfC5VdCPG3X7A5H55vRwFAuyeVgVLEf5Wni3BOOZNFUSwmbHMAsAtMph8SBeKEIcSiygI7uL27c/Q==","shasum":"9b47785a72aa15137efb864a9fcbc1fb3ae9a9b6","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.0-rc.3.tgz","fileCount":25,"unpackedSize":3102380,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIADWrLVr6pB9vnQVY1nfeGkEqjuusv3lIXuIE3HuHv3CAiBctbAg7R4JiHIgX3F/t/PNQ1leOV8it57puVcGFuCyHg=="}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.0-rc.3_1684853816732_0.08001473305914497"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.0-rc.4":{"name":"@alephium/sdk","version":"0.7.0-rc.4","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"d62e38ece173360a954ee326b879d7cbac8de011","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.7.0-rc.4","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-7uw1BTDaY+cF+1gkVtgtkGLJDqEjxxu8awEkIeh7F/tNhhIfelLr3c5EP25s2UFprXv0A6vp9CpOz6X3JqqoeQ==","shasum":"1f6258c7235361ff83121207a571e9d4fb40d0c6","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.0-rc.4.tgz","fileCount":25,"unpackedSize":3101699,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHnyLoZG/qdvW/aTHMIMY4SEoIeawn9//RLZ2UxZjtuAIgOITP5NS53MMbOhdDgo0OMGcuWwudRJZLFobTSHEejYw="}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.0-rc.4_1684913203880_0.2168620485495918"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.0":{"name":"@alephium/sdk","version":"0.7.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"adaf581a63bc635a53499accd27fb5b9414bcebc","_id":"@alephium/sdk@0.7.0","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-k1gXkzjoS86UJj5Mq7H03dmhSz73G2evvkjXN+R0v71UaWCCl2xu22cEjVRTSF3cNlrpTk99Fz9YIVQjANPm0A==","shasum":"021400f7a216cacf575ff501be59168ce8252826","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.0.tgz","fileCount":25,"unpackedSize":3101694,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG5l13AnP3s2WsjjYXMWFxbNcCdb06qk26DLAzd7PFuFAiEAklW6PMtIHt2smKCYMmH7Qi+skxHY3bm97nRoGUVI/Kk="}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.0_1684916952531_0.806166456965012"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.1-rc.0":{"name":"@alephium/sdk","version":"0.7.1-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"33cec7034e4b86b6acd3b9652590bd7e55f516b6","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.7.1-rc.0","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-zZA/35R0wFO5sOTLmPDcDx31aGtb18Pfl43MB/Jcm0grrwoFgL8wOZ+KmdYf4xuWoE2JemV58IXV8stMX5BDRA==","shasum":"2de5814035f4b5dd0707a326dc40aff8e1f93f5c","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.1-rc.0.tgz","fileCount":25,"unpackedSize":3101899,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRhmaCUoisyo0wUFsQOntWgxDPz6ZOwlaG+V873CAezQIgN1ez44B6/iuYqWKyP2hZZ4jivynmSXJM0k7q+0Z2Kd8="}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.1-rc.0_1686044037235_0.6278994163425122"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.1":{"name":"@alephium/sdk","version":"0.7.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"aad510dc528e2aaaff6d9a04ce66b799d50cf0ca","_id":"@alephium/sdk@0.7.1","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-orpDNLzIBu1+YKOuCF7uFDzt+6LpcB3esU7HofITdpw8umraeDifoo4CCCE5hniy7wAZr8gSYqZM79AA1uAhmQ==","shasum":"fea76b0761b1050d39e89f4d4e1220b1c0cc3e93","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.1.tgz","fileCount":25,"unpackedSize":3101894,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAL8G6tHKhhg/9DGZ4fFeTVvaO5IxInc/Rl+Er27plx1AiBH24L/LoJ0TvxFXHA0JmDvRinjBgTnh1HiHYcaV1YPDQ=="}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.1_1686047695633_0.2764791430074591"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.2-rc.0":{"name":"@alephium/sdk","version":"0.7.2-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"2aa1ef0e9a61d67e72a9babe870b1bd15f2675d1","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.7.2-rc.0","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-8yNGYr5zHyGR34W7CZRGx58ieEirjxOoKn/jZcEAHOkK3w5hT+zK0qxoEhGoL98y+Nb4goXva70YMrQAncrbJA==","shasum":"8a3bc1dc1015d1bd8aee5b0a47a6375c06922bf1","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.2-rc.0.tgz","fileCount":25,"unpackedSize":3102463,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEZ3WWxeSXN4a0IpU3q6/YEiFpZe73+tQncxb0I1ZxRwIhAM8/idINzwTgjBe5WbIokwO0h8jLUJOAkPNqbvU9W/Qs"}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.2-rc.0_1686120527330_0.1489483400166951"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.2":{"name":"@alephium/sdk","version":"0.7.2","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"a9d7e46a2ecab1ece1abc692715cc427583c7733","_id":"@alephium/sdk@0.7.2","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-ovwgjYiPN5A5kMSUlWyNP8kh1Jud33gsj76sTkThQ9vtEeGhwjJzSIsyqsR9ABexN7nD4WxPw4dZcG008GefxA==","shasum":"751f1a9035256c8e8f848901f62b51472e60c2a3","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.2.tgz","fileCount":25,"unpackedSize":3102458,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAYIUh85qE75Ft6N7Px69Art0q6cc2HCBeqzLAfEZmObAiA3MY0sFEo6BGNeLd/7p84OJ0cq9IJWO4ITKiQfbIDyFw=="}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.2_1686127420254_0.76991296848379"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.2-rc.1":{"name":"@alephium/sdk","version":"0.7.2-rc.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"a93c2ebb53dfc871273f7c3f0963ef4f0307204d","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.7.2-rc.1","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-CX60iC2PqaEMYIYgDSDnHMZGgQ9Ng7HADQ+jwpddYvT8u8qTJ1/kNC/h6ViZC4Y931hEyY81K2E57oc96ynBpA==","shasum":"e81f9cba2882711db7771f3de15f399e186c14f6","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.2-rc.1.tgz","fileCount":25,"unpackedSize":3102176,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDX+xvGimutxEIFGBcwyq0navuUkpScUUR+cWeoBZgDFQIhAKPO9PO3I8RmtX2CnJNmvKwfWYjwqKnzYwsmwde9gkgr"}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.2-rc.1_1689263430323_0.22678138250836222"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.3-rc.0":{"name":"@alephium/sdk","version":"0.7.3-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"c4f98eea2c8fe44d704a5abb49bcb1ef0e539d9d","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.7.3-rc.0","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-UuX4ZMWnGG/7dAPZfGUFzycpKm0su9vyQBTxCWJAhw7oKcGKcBHbBHNtacpVdx4wOQBcw9LL746cP+2IYdjJRQ==","shasum":"48ad7a694f9f46d26a100482de18319c7db29219","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.3-rc.0.tgz","fileCount":25,"unpackedSize":3102740,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH/eRJtL0FBr/fH5MFvcR/YEKJwWi/bzkEUSmiN06ODfAiAnyJzO5SUwvY+rK9R7CuM+w93nPougMyt//Dd70PU/Yg=="}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.3-rc.0_1689264133825_0.29077060666370724"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.3":{"name":"@alephium/sdk","version":"0.7.3","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"ec124a215020b15345f1e86c756adcef903c0a59","_id":"@alephium/sdk@0.7.3","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-zfqb524fW7CCPB5s0PyLyxMHsgs91WG+d6jVocrC+KqI+Lx0XULPBatSyP5FzM05kL1e3+2LwHwlYECsuSZVXQ==","shasum":"6a3ee4b7b0af682dc129418cc2ed8d92f0ecceaa","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.3.tgz","fileCount":25,"unpackedSize":3102735,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFgxT8uzyMngrWu71QSrasSRlV3FYb0Y63ch6haM7H7cAiBphFnbuXylUD4mCFpCetv//duZ/a+/XBgM8Oe9YNt+fg=="}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.3_1689266861298_0.7328613168373819"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.4-rc.0":{"name":"@alephium/sdk","version":"0.7.4-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"91a2ceedfa991f3807d2dd56e05fbb68e523c7b1","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.7.4-rc.0","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-BUGHhvAF27nq9bLEzJSum5hrLpBOUu4al03NPT7HTeVkZab+6HWC4sr+BoPP9IWYxA2iYaiN12bUqSucTRiqxQ==","shasum":"4e9d04577593d46a92c5cae48c41ba9374157a1f","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.4-rc.0.tgz","fileCount":25,"unpackedSize":3113322,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPXXDk7eF932NrD5sWu1dJoRPsZuIWhhzd9OqS+8E7iAIhAMTObqrS0z+1solO92HSjWlOZKpMXn08c97BmKJS+8rx"}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.4-rc.0_1691152202239_0.9946503043474508"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.4":{"name":"@alephium/sdk","version":"0.7.4","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"8cbde7d1e14d47c9c1ac0240dce2e93f58d35ef5","_id":"@alephium/sdk@0.7.4","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-A3wxbl3qOn9+q3oxdJmZlq/udmlMU5cnKZ9ogLv9JHF4VXmF6dg2/Za0S+WCBkUp79H4I0BL5st0xtsN2S0IPg==","shasum":"68600fe849c09ffe081153e8d5ae22e9b52f3373","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.4.tgz","fileCount":25,"unpackedSize":3113776,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdBTi1Td4rA9Ec9OzdRwdML/I8zDIrBeZ3mfr+7j9XfAIhAO9ZFTU7o2FxZG0k3BZuevJnhXfJXUnm7KotvWbn6+32"}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.4_1691566342191_0.3361862305780612"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.5":{"name":"@alephium/sdk","version":"0.7.5","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"06ac5a31ab137b347b3486395188805f95a5dab5","_id":"@alephium/sdk@0.7.5","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-O+rMYnLIFVKdgEdG+aii96Gs2rgLXtkBoT5Q31EI6MejxuY7zG7ZMJz0cFmr6NC2w+F7AUUgdNv1PNAMEorQPw==","shasum":"a7f9d7bded38edaa556d13e26eb114ec7376e7ad","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.5.tgz","fileCount":25,"unpackedSize":3113882,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEL/wbFk8SHdajS5ILlFYP9Do4R9Eto5CczQ/EnSwk3/AiA5PfBSqn3BVDN44SCSZDcFff90QLAoaMHIbR28Clo0zQ=="}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.5_1691590195021_0.6481549180127619"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.6-rc.0":{"name":"@alephium/sdk","version":"0.7.6-rc.0","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"2f7a40b8f425d029081eeb003820a0de44038cf4","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.7.6-rc.0","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-78suqcAgjokIGZhTo28HqwucGfub7VYzo06XKR10TxDVulF6WmQKTh9hHtsXGWzeJynsAtVkKTHBbxMQm3m/ng==","shasum":"569c231d55730e9b0b1e7167b70c24205ccd52f4","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.6-rc.0.tgz","fileCount":25,"unpackedSize":3115324,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYOSkBvN/e2VMKAKtRdnyuRYUHk1DyUpN3KyDXoms1BQIhAO1QxxLZMzjH5EGa8Exv2jubozj/3Gxr5uBNsefzNQ/b"}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.6-rc.0_1692256232496_0.8850919147228848"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.6-rc.1":{"name":"@alephium/sdk","version":"0.7.6-rc.1","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"644147939cbdf8bac8695dec8493dc6fe960832e","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.7.6-rc.1","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-CSmWDPwJf2Vki5IvpxcRbKQ3V+Ma7ej2rzm6sZrlKzkCgazpDtXP/Nv4IuxfJnopRytNiJIFs1RMRCxXJSXFlA==","shasum":"21463eee707eb429089d789c69f5f5fd8ffa0601","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.6-rc.1.tgz","fileCount":25,"unpackedSize":3117538,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICByMC9DRcvtLHxoEWzc0d80WWQdy5SuO25QSoGFgUjxAiAAjpcilKatr7GxQhMOhNxmcLFXuLt1yvnbhX88iTX0pQ=="}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.6-rc.1_1692266469505_0.5141345719019066"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.6-rc.2":{"name":"@alephium/sdk","version":"0.7.6-rc.2","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"6f674fdde6405331e56128dd5df15eeb5ec48725","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md","_id":"@alephium/sdk@0.7.6-rc.2","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-6NRfor1pmFiB0K4bTzFYw9wQlTeuHo/ccNzdHFrfb+YJDsJyDbYBDu0k/ulwvsGounmaqFDM1+liN/a09DyYag==","shasum":"2e4217c4d01bf00780d8751b55a301e7f7e9363e","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.6-rc.2.tgz","fileCount":25,"unpackedSize":3117586,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8x+RSMikD6ckp53Hxw/CVwg+IWA3RQcPTmUddsKjd/AiEAmm6vCyrWpAnYv2Fzx7sBQmsPFDbqMHWZD5LlP0IN7t8="}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.6-rc.2_1692267258081_0.8810039466921509"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"},"0.7.6":{"name":"@alephium/sdk","version":"0.7.6","description":"A JS/TS library to interact with the Alephium platform","license":"GPL","main":"dist/index.js","browser":"dist/alephium.min.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/alephium.min.js","default":"./dist/index.js"}},"type":"commonjs","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"homepage":"https://github.com/alephium/js-sdk","bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"scripts":{"build":"rm -rf dist && npx tsc --build . && webpack","dev":"tsnd --respawn lib/index.ts","lint":"eslint . --ext .ts","lint:fix":"eslint . --fix --ext .ts","jest":"jest --useStderr --silent=false --verbose=true --config jestconfig.json","test":"npm run lint && npm run build && npm run jest","test:watch":"npm run build && npm run jest -- --watch","prepublishOnly":"npm run build","format":"prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"","devnet:start":"npx @alephium/cli devnet start"},"dependencies":{"@alephium/token-list":"^0.0.7","@alephium/web3":"^0.12.2","base-x":"^4.0.0","bcfg":"~0.1.6","bip32":"^2.0.6","bip39":"^3.0.4","blakejs":"^1.1.1","cross-fetch":"^3.1.5","crypto-js":"^4.1.1","elliptic":"^6.5.4"},"devDependencies":{"@alephium/cli":"^0.10.2","@alephium/web3-test":"^0.10.2","@types/crypto-js":"^4.1.1","@types/elliptic":"^6.4.13","@types/jest":"^29.4.0","@types/mock-fs":"^4.13.1","@types/node":"^16.7.8","@types/rewire":"^2.5.28","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","babel-eslint":"^10.1.0","buffer":"^6.0.3","crypto-browserify":"^3.12.0","eslint":"^8.34.0","eslint-config-prettier":"^8.3.0","eslint-plugin-header":"^3.1.1","eslint-plugin-prettier":"^4.0.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-localstorage-mock":"^2.4.18","mock-fs":"^5.1.2","mock-socket":"^9.0.8","path-browserify":"^1.0.1","prettier":"^2.3.2","rewire":"^6.0.0","shelljs":"^0.8.5","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-node":"^10.2.1","tslib":"^2.3.1","typescript":"^4.4.2","webpack":"^5.72.0","webpack-cli":"^5.0.1"},"engines":{"node":">=16.0.0","npm":">=8.0.0"},"gitHead":"f1887955a9ae25d512d72746a9d224a066c971f8","_id":"@alephium/sdk@0.7.6","_nodeVersion":"14.21.3","_npmVersion":"6.14.18","dist":{"integrity":"sha512-g7t2wsy/MHSxo0smUO6gs09ApG50+Gjat3cNBlXKPX8Q55NK45oVDLOgVSSRox9KaCtOP4fY4jLXyjHY6NJ3pw==","shasum":"dccc2066e3b2725eaf0a9d40d975cbf856414661","tarball":"https://registry.npmjs.org/@alephium/sdk/-/sdk-0.7.6.tgz","fileCount":25,"unpackedSize":3117580,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEbZwLfbFvyRVFwWY2zzF64f6b6I0vreGK/wR5Gjj9B7AiBxRMLwObwnYAnyd13rJFGq8ZKdcq6TmwfFe/s+68N5QQ=="}]},"_npmUser":{"name":"alephium-personal","email":"dev@alephium.org"},"directories":{},"maintainers":[{"name":"mikapote","email":"m.vaivre@gmail.com"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"alephium-personal","email":"dev@alephium.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.6_1692602996028_0.03350140634784626"},"_hasShrinkwrap":false,"deprecated":"Please, use @alephium/web3 instead"}},"time":{"created":"2022-04-01T08:54:08.352Z","0.0.1":"2022-04-01T08:54:08.576Z","modified":"2023-11-27T11:26:45.512Z","0.0.2":"2022-04-01T15:20:32.011Z","0.0.3":"2022-04-04T09:12:18.340Z","0.0.4-rc.0":"2022-04-07T08:22:37.028Z","0.0.4":"2022-04-07T09:01:28.149Z","0.0.5":"2022-04-07T11:26:48.498Z","0.0.6":"2022-04-28T13:22:17.046Z","0.0.7-rc.0":"2022-05-16T09:58:43.582Z","0.0.7-rc.1":"2022-05-24T16:54:15.592Z","0.0.8":"2022-05-31T17:03:25.313Z","0.0.9":"2022-05-31T17:13:21.706Z","0.0.10":"2022-06-07T14:01:51.457Z","0.0.11":"2022-06-21T13:10:06.735Z","0.0.12":"2022-07-07T13:04:47.305Z","0.0.13-rc.0":"2022-07-11T12:25:34.471Z","0.0.13":"2022-07-18T14:18:12.548Z","0.0.14":"2022-08-04T13:01:06.161Z","0.0.15":"2022-08-25T13:00:11.712Z","0.1.0":"2022-09-07T12:14:20.420Z","0.1.1-rc.0":"2022-10-12T12:17:48.185Z","0.1.1-rc.1":"2022-10-12T13:27:19.383Z","0.1.1-rc.2":"2022-10-12T13:59:20.600Z","0.2.0-rc.0":"2022-10-12T14:11:51.809Z","0.2.0-rc.1":"2022-10-24T09:43:50.065Z","0.2.0-rc.2":"2022-10-24T09:48:36.798Z","0.2.0":"2022-10-24T11:16:53.740Z","0.2.1-rc.0":"2022-10-25T13:27:43.003Z","0.2.1-rc.1":"2022-10-27T12:20:12.472Z","0.2.1":"2022-10-27T15:38:21.341Z","0.2.2-rc.0":"2022-11-10T10:44:09.226Z","0.2.2":"2022-11-10T10:58:48.002Z","0.3.0":"2022-11-14T11:43:59.268Z","0.3.1-rc.0":"2022-11-26T16:25:56.693Z","0.3.1-rc.1":"2022-11-28T17:57:42.636Z","0.4.0-rc.0":"2022-12-01T12:16:41.759Z","0.4.0-rc.1":"2022-12-06T16:38:35.575Z","0.4.0-rc.2":"2022-12-07T15:30:45.183Z","0.4.0-rc.3":"2022-12-08T16:45:09.983Z","0.4.0":"2022-12-09T13:04:57.835Z","0.4.1":"2022-12-13T11:00:02.104Z","0.5.0-rc.0":"2023-01-25T09:51:00.671Z","0.5.0":"2023-01-26T09:25:01.588Z","0.6.0-rc.0":"2023-02-20T17:12:37.153Z","0.6.0-rc.1":"2023-02-21T15:41:27.029Z","0.6.0-rc.2":"2023-02-22T15:56:05.154Z","0.6.0-rc.3":"2023-02-23T10:24:50.488Z","0.6.0-rc.4":"2023-02-23T15:23:30.866Z","0.6.0":"2023-02-27T13:32:37.705Z","0.6.1":"2023-02-27T15:18:29.497Z","0.6.2-rc.0":"2023-03-18T18:15:00.544Z","0.6.2-rc.1":"2023-03-20T19:12:35.780Z","0.6.2":"2023-03-21T07:32:02.971Z","0.6.3":"2023-04-18T08:58:12.620Z","0.6.4-rc.0":"2023-04-18T13:37:21.886Z","0.6.4-rc.1":"2023-04-18T14:03:14.143Z","0.6.4-rc.2":"2023-05-04T08:40:35.870Z","0.6.4":"2023-05-04T08:52:32.829Z","0.7.0-rc.0":"2023-05-10T12:11:58.550Z","0.7.0-rc.1":"2023-05-10T12:48:33.650Z","0.7.0-rc.2":"2023-05-10T14:19:05.523Z","0.7.0-rc.3":"2023-05-23T14:56:57.035Z","0.7.0-rc.4":"2023-05-24T07:26:44.150Z","0.7.0":"2023-05-24T08:29:12.817Z","0.7.1-rc.0":"2023-06-06T09:33:57.417Z","0.7.1":"2023-06-06T10:34:55.913Z","0.7.2-rc.0":"2023-06-07T06:48:47.592Z","0.7.2":"2023-06-07T08:43:40.540Z","0.7.2-rc.1":"2023-07-13T15:50:30.557Z","0.7.3-rc.0":"2023-07-13T16:02:14.149Z","0.7.3":"2023-07-13T16:47:41.692Z","0.7.4-rc.0":"2023-08-04T12:30:02.542Z","0.7.4":"2023-08-09T07:32:22.519Z","0.7.5":"2023-08-09T14:09:55.316Z","0.7.6-rc.0":"2023-08-17T07:10:32.758Z","0.7.6-rc.1":"2023-08-17T10:01:09.798Z","0.7.6-rc.2":"2023-08-17T10:14:18.340Z","0.7.6":"2023-08-21T07:29:56.314Z"},"maintainers":[{"name":"alephium-personal","email":"dev@alephium.org"},{"name":"eyettea","email":"hlias.nop@gmail.com"},{"name":"mikapote","email":"m.vaivre@gmail.com"}],"description":"A JS/TS library to interact with the Alephium platform","homepage":"https://github.com/alephium/js-sdk","repository":{"type":"git","url":"git+ssh://git@github.com/alephium/js-sdk.git"},"author":{"name":"Alephium dev","email":"dev@alephium.org"},"bugs":{"url":"https://github.com/alephium/js-sdk/issues"},"license":"GPL","readme":"# Alephium js-sdk\n\n[![Github CI][test-badge]][test-link]\n[![Code Coverage][coverage-badge]][coverage-link]\n[![NPM][npm-badge]][npm-link]\n[![code style: prettier][prettier-badge]][prettier-link]\n\nA JavaScript/TypeScript library for building applications that interact the Alephium platform.\n\n## Install\n\n### In Node projects\n\n```shell\nnpm install @alephium/sdk\n```\n\n💥 Until our SDK is stable, breaking changes will be introduced in **minor** versions (instead of the traditional major versions of semver). We recommend allowing patch-level updates and to always read the [release notes][release-notes] for breaking changes.\n\n```js\n// package.json\n{\n   \"dependencies\": {\n      \"@alephium/sdk\": \"~X.Y.Z\"\n   }\n}\n```\n\n### In browser projects\n\nAll you have to do is to include the library in your HTML document. The `alephium` global variable will be available.\n\n```html\n<script src=\"alephium.min.js\"></script>\n<script>\n  const { walletGenerate } = alephium\n  const wallet = walletGenerate()\n  console.log(wallet)\n</script>\n```\n\nYou can either build the library by cloning this repo and running the build script (the file will be located at `/dist/alephium.min.js`), or simply using a CDN.\n\n```shell\nnpm run build\n```\n\n#### via UNPKG CDN\n\n```html\n<script src=\"https://unpkg.com/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n#### via jsDelivr CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@alephium/sdk@X.Y.Z/dist/alephium.min.js\"></script>\n```\n\n## Development\n\n### Release\n\nTo release a new version:\n\n1. Create a commit that updates the package version in package.json and package-lock.json and a tag with:\n   ```shell\n   npm version patch # if you want to bump the patch version, without breaking changes\n   npm version minor # if you want to bump the minor version, with breaking changes\n   npm version prerelease --preid=rc # if you want to create a release candidate\n   ```\n2. Push the tag to GitHub and trigger the publish workflow that will publish it on NPM with:\n\n   ```shell\n   git push [remote] <tag>\n   ```\n\n3. Unless you are on `master`, create a new branch and push it to GitHub so that the tagged commit belongs to a branch of this repo with:\n   ```shell\n   git checkout -b <tag>\n   git push\n   ```\n   Otherwise, just push to `master`.\n\n## Build\n\nCompile the TypeScript files into JavaScript:\n\n```shell\nnpm run build\n```\n\n## Testing\n\n```shell\nnpm run devnet:start # this will start a devnet for smart contract tests\nnpm test\n```\n\nor, to watch for changes:\n\n```shell\nnpm run test:watch\n```\n\n[test-badge]: https://github.com/alephium/js-sdk/actions/workflows/test.yml/badge.svg\n[test-link]: https://github.com/alephium/js-sdk/actions/workflows/test.yml\n[coverage-badge]: https://codecov.io/gh/alephium/js-sdk/branch/master/graph/badge.svg\n[coverage-link]: https://codecov.io/gh/alephium/js-sdk\n[npm-badge]: https://img.shields.io/npm/v/@alephium/sdk.svg\n[npm-link]: https://www.npmjs.org/package/@alephium/sdk\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg\n[prettier-link]: https://github.com/prettier/prettier\n[release-notes]: https://github.com/alephium/js-sdk/releases\n[1]: https://github.com/facebook/create-react-app/blob/2da5517689b7510ff8d8b0148ce372782cb285d7/packages/react-scripts/scripts/init.js#L264-L278\n","readmeFilename":"README.md"}