{"_id":"@anastasia-labs/lucid-cardano-fork","_rev":"4-baf4d16af28f9b074733121df93d8175","name":"@anastasia-labs/lucid-cardano-fork","dist-tags":{"latest":"0.10.7","rc":"0.10.8-rc.3"},"versions":{"0.10.7":{"module":"./esm/mod.js","main":"./esm/mod.js","types":"./types/mod.d.ts","name":"@anastasia-labs/lucid-cardano-fork","version":"0.10.7","license":"MIT","author":{"name":"Alessandro Konrad"},"description":"Lucid fork , which allows to export portable type annotations","repository":{"type":"git","url":"git+https://github.com/anastasia-labs/lucid.git"},"bugs":{"url":"https://github.com/anastasia-labs/lucid/issues"},"homepage":"https://github.com/anastasia-labs/lucid#readme","engines":{"node":">=14"},"dependencies":{"node-fetch":"^3.2.3","@peculiar/webcrypto":"^1.4.0","ws":"^8.10.0"},"type":"module","exports":{".":{"import":"./esm/mod.js","types":"./types/mod.d.ts"}},"gitHead":"97ca2a85fb03da032df5b1f612da4b01c78edf11","_id":"@anastasia-labs/lucid-cardano-fork@0.10.7","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-41MVPku0QzRpm1E3/Ynux3L1NhC2UpbPr+ODFl8FiUrnbuH3ymVEPRVfhNtFu9BFr0ZpWSUsujLT0kylqgCsHg==","shasum":"d91a70994c6c3ada40beeda3cc423eb337c53dd2","tarball":"https://registry.npmjs.org/@anastasia-labs/lucid-cardano-fork/-/lucid-cardano-fork-0.10.7.tgz","fileCount":87,"unpackedSize":5668452,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBUgJgsSWkkGpCXYYlx6j2Re/pEyULsvvAEcTmLmdSHgIhAIpyaZTZ+/Vd5R9nuEZmA0zpKrdiC+BLEdO5+95D2Uhi"}]},"_npmUser":{"name":"anastasia-labs","email":"info@anastasialabs.com"},"directories":{},"maintainers":[{"name":"anastasia-labs","email":"info@anastasialabs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lucid-cardano-fork_0.10.7_1691785472278_0.24203593041168148"},"_hasShrinkwrap":false},"0.10.8-rc.0":{"name":"@anastasia-labs/lucid-cardano-fork","version":"0.10.8-rc.0","license":"MIT","author":{"name":"Alessandro Konrad"},"description":"Lucid fork , which allows to export portable type annotations","repository":{"type":"git","url":"git+https://github.com/anastasia-labs/lucid.git"},"bugs":{"url":"https://github.com/anastasia-labs/lucid/issues"},"homepage":"https://github.com/anastasia-labs/lucid#readme","_id":"@anastasia-labs/lucid-cardano-fork@0.10.8-rc.0","readme":"<p align=\"center\">\n  <img width=\"100px\" src=\"./logo/lucid.svg\" align=\"center\"/>\n  <h1 align=\"center\">Lucid</h1>\n  <p align=\"center\">Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.</p>\n\n<p align=\"center\">\n    <img src=\"https://img.shields.io/github/commit-activity/m/berry-pool/lucid?style=for-the-badge\" />\n    <a href=\"https://www.npmjs.com/package/lucid-cardano\">\n      <img src=\"https://img.shields.io/npm/v/lucid-cardano?style=for-the-badge\" />\n    </a>\n     <a href=\"https://doc.deno.land/https://deno.land/x/lucid/mod.ts\">\n      <img src=\"https://img.shields.io/readthedocs/cardano-lucid?style=for-the-badge\" />\n    </a>\n    <a href=\"https://www.npmjs.com/package/lucid-cardano\">\n      <img src=\"https://img.shields.io/npm/dw/lucid-cardano?style=for-the-badge\" />\n    </a>\n    <img src=\"https://img.shields.io/npm/l/lucid-cardano?style=for-the-badge\" />\n    <a href=\"https://twitter.com/spacebudzNFT\">\n      <img src=\"https://img.shields.io/twitter/follow/spacebudzNFT?style=for-the-badge&logo=twitter\" />\n    </a>\n  </p>\n\n</p>\n\n### Get started\n\n#### NPM\n\n```\nnpm install lucid-cardano\n```\n\n#### Deno 🦕\n\nFor JavaScript and TypeScript\n\n```js\nimport { Lucid } from \"https://deno.land/x/lucid@0.10.7/mod.ts\";\n```\n\n#### Web\n\n```html\n<script type=\"module\">\nimport { Lucid } from \"https://unpkg.com/lucid-cardano@0.10.7/web/mod.js\"\n// ...\n</script>\n```\n\n### \n\n### Build from source\n\nBuild NPM and Web target\n\n```\ndeno task build\n```\n\nOutputs a `dist` folder\n\n### Examples\n\n- [Basic examples](./src/examples/)\n- [Next.js Blockfrost Proxy API Example](https://github.com/GGAlanSmithee/cardano-lucid-blockfrost-proxy-example)\n\n### Basic usage\n\n```js\n// import { Blockfrost, Lucid } from \"https://deno.land/x/lucid@0.10.7/mod.ts\"; Deno\nimport { Blockfrost, Lucid } from \"lucid-cardano\"; // NPM\n\nconst lucid = await Lucid.new(\n  new Blockfrost(\"https://cardano-preview.blockfrost.io/api/v0\", \"<projectId>\"),\n  \"Preview\",\n);\n\n// Assumes you are in a browser environment\nconst api = await window.cardano.nami.enable();\nlucid.selectWallet(api);\n\nconst tx = await lucid.newTx()\n  .payToAddress(\"addr...\", { lovelace: 5000000n })\n  .complete();\n\nconst signedTx = await tx.sign().complete();\n\nconst txHash = await signedTx.submit();\n\nconsole.log(txHash);\n```\n\n### Test\n\n```\ndeno task test\n```\n\n### Build Core\n\nThis library is built on top of a customized version of the serialization-lib\n(cardano-multiplatform-lib) and on top of the message-signing library, which are\nwritten in Rust.\n\n```\ndeno task build:core\n```\n\n### Test Core\n\n```\ndeno task test:core\n```\n\n### Docs\n\n[View docs](https://doc.deno.land/https://deno.land/x/lucid/mod.ts) 📖\n\nYou can generate documentation with:\n\n```\ndeno doc\n```\n\n### Compatibility\n\nLucid is an ES Module, so to run it in the browser any bundler which allows for\ntop level await and WebAssembly is recommended. If you use Webpack 5 enable in\nthe `webpack.config.js`:\n\n```\nexperiments: {\n    asyncWebAssembly: true,\n    topLevelAwait: true,\n    layers: true // optional, with some bundlers/frameworks it doesn't work without\n  }\n```\n\nTo run the library in Node.js you need to set `{\"type\" : \"module\"}` in your\nproject's `package.json`. Otherwise you will get import issues.\n\n### Contributing\n\nContributions and PRs are welcome!\\\nThe [contribution instructions](./CONTRIBUTING.md).\n\nJoin us on [Discord](https://discord.gg/82MWs63Tdm)!\n\n### Use Lucid with React\n\n[use-cardano](https://use-cardano.alangaming.com/) a React context, hook and set\nof components built on top of Lucid.\n\n### Use Lucid with Next.js\n\n[Cardano Starter Kit](https://cardano-starter-kit.alangaming.com/) a Next.js\nstarter kit for building Cardano dApps.\n","readmeFilename":"README.md","gitHead":"e9592fda72634225bde7c76364131bed6be67466","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-UWsDraG0x70t/Q+nWXIKYgvU/cay2QRp9rYMVSDBOgtAOEh2e7vqOLW2F58AppSJAGxZlpJjE9Vym7l8h6epsw==","shasum":"5c3f9dca7cefc65b41cfe9e5257a1cf401b7ed0e","tarball":"https://registry.npmjs.org/@anastasia-labs/lucid-cardano-fork/-/lucid-cardano-fork-0.10.8-rc.0.tgz","fileCount":207,"unpackedSize":6772839,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHybGebg2hvkAgkNYPhNInbrJCX6zmQlNPAW7e3INfxcAiEAl9f325zpUf+GSHfiwgy1wo0X25j6OWy6qca2j/qRLXk="}]},"_npmUser":{"name":"anastasia-labs","email":"info@anastasialabs.com"},"directories":{},"maintainers":[{"name":"anastasia-labs","email":"info@anastasialabs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lucid-cardano-fork_0.10.8-rc.0_1698674252298_0.2578992980338677"},"_hasShrinkwrap":false},"0.10.8-rc.1":{"module":"./esm/mod.js","main":"./esm/mod.js","types":"./types/mod.d.ts","name":"@anastasia-labs/lucid-cardano-fork","version":"0.10.8-rc.1","license":"MIT","author":{"name":"Alessandro Konrad"},"description":"Lucid fork , which allows to export portable type annotations","repository":{"type":"git","url":"git+https://github.com/anastasia-labs/lucid.git"},"bugs":{"url":"https://github.com/anastasia-labs/lucid/issues"},"homepage":"https://github.com/anastasia-labs/lucid#readme","engines":{"node":">=14"},"dependencies":{"node-fetch":"^3.2.3","@peculiar/webcrypto":"^1.4.0","ws":"^8.10.0"},"type":"module","exports":{".":{"import":"./esm/mod.js","types":"./types/mod.d.ts"}},"_id":"@anastasia-labs/lucid-cardano-fork@0.10.8-rc.1","readme":"<p align=\"center\">\n  <img width=\"100px\" src=\"./logo/lucid.svg\" align=\"center\"/>\n  <h1 align=\"center\">Lucid</h1>\n  <p align=\"center\">Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.</p>\n\n<p align=\"center\">\n    <img src=\"https://img.shields.io/github/commit-activity/m/berry-pool/lucid?style=for-the-badge\" />\n    <a href=\"https://www.npmjs.com/package/lucid-cardano\">\n      <img src=\"https://img.shields.io/npm/v/lucid-cardano?style=for-the-badge\" />\n    </a>\n     <a href=\"https://doc.deno.land/https://deno.land/x/lucid/mod.ts\">\n      <img src=\"https://img.shields.io/readthedocs/cardano-lucid?style=for-the-badge\" />\n    </a>\n    <a href=\"https://www.npmjs.com/package/lucid-cardano\">\n      <img src=\"https://img.shields.io/npm/dw/lucid-cardano?style=for-the-badge\" />\n    </a>\n    <img src=\"https://img.shields.io/npm/l/lucid-cardano?style=for-the-badge\" />\n    <a href=\"https://twitter.com/spacebudzNFT\">\n      <img src=\"https://img.shields.io/twitter/follow/spacebudzNFT?style=for-the-badge&logo=twitter\" />\n    </a>\n  </p>\n\n</p>\n\n### Get started\n\n#### NPM\n\n```\nnpm install lucid-cardano\n```\n\n#### Deno 🦕\n\nFor JavaScript and TypeScript\n\n```js\nimport { Lucid } from \"https://deno.land/x/lucid@0.10.7/mod.ts\";\n```\n\n#### Web\n\n```html\n<script type=\"module\">\nimport { Lucid } from \"https://unpkg.com/lucid-cardano@0.10.7/web/mod.js\"\n// ...\n</script>\n```\n\n### \n\n### Build from source\n\nBuild NPM and Web target\n\n```\ndeno task build\n```\n\nOutputs a `dist` folder\n\n### Examples\n\n- [Basic examples](./src/examples/)\n- [Next.js Blockfrost Proxy API Example](https://github.com/GGAlanSmithee/cardano-lucid-blockfrost-proxy-example)\n\n### Basic usage\n\n```js\n// import { Blockfrost, Lucid } from \"https://deno.land/x/lucid@0.10.7/mod.ts\"; Deno\nimport { Blockfrost, Lucid } from \"lucid-cardano\"; // NPM\n\nconst lucid = await Lucid.new(\n  new Blockfrost(\"https://cardano-preview.blockfrost.io/api/v0\", \"<projectId>\"),\n  \"Preview\",\n);\n\n// Assumes you are in a browser environment\nconst api = await window.cardano.nami.enable();\nlucid.selectWallet(api);\n\nconst tx = await lucid.newTx()\n  .payToAddress(\"addr...\", { lovelace: 5000000n })\n  .complete();\n\nconst signedTx = await tx.sign().complete();\n\nconst txHash = await signedTx.submit();\n\nconsole.log(txHash);\n```\n\n### Test\n\n```\ndeno task test\n```\n\n### Build Core\n\nThis library is built on top of a customized version of the serialization-lib\n(cardano-multiplatform-lib) and on top of the message-signing library, which are\nwritten in Rust.\n\n```\ndeno task build:core\n```\n\n### Test Core\n\n```\ndeno task test:core\n```\n\n### Docs\n\n[View docs](https://doc.deno.land/https://deno.land/x/lucid/mod.ts) 📖\n\nYou can generate documentation with:\n\n```\ndeno doc\n```\n\n### Compatibility\n\nLucid is an ES Module, so to run it in the browser any bundler which allows for\ntop level await and WebAssembly is recommended. If you use Webpack 5 enable in\nthe `webpack.config.js`:\n\n```\nexperiments: {\n    asyncWebAssembly: true,\n    topLevelAwait: true,\n    layers: true // optional, with some bundlers/frameworks it doesn't work without\n  }\n```\n\nTo run the library in Node.js you need to set `{\"type\" : \"module\"}` in your\nproject's `package.json`. Otherwise you will get import issues.\n\n### Contributing\n\nContributions and PRs are welcome!\\\nThe [contribution instructions](./CONTRIBUTING.md).\n\nJoin us on [Discord](https://discord.gg/82MWs63Tdm)!\n\n### Use Lucid with React\n\n[use-cardano](https://use-cardano.alangaming.com/) a React context, hook and set\nof components built on top of Lucid.\n\n### Use Lucid with Next.js\n\n[Cardano Starter Kit](https://cardano-starter-kit.alangaming.com/) a Next.js\nstarter kit for building Cardano dApps.\n","readmeFilename":"README.md","gitHead":"81e4b4eaf77fab505243a359d30fc034e28a67fe","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-dlnbSqKqD0tgqDeCWykM0CTp8s9bXf56zkqfLutbQXq/cYut2iA/f5J4C7B7ooJAVhI4816dBZtmTMlW0vfNVQ==","shasum":"3099636c2d93a2de7f12dad9d6cba58b3d5c96ff","tarball":"https://registry.npmjs.org/@anastasia-labs/lucid-cardano-fork/-/lucid-cardano-fork-0.10.8-rc.1.tgz","fileCount":87,"unpackedSize":5670809,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICpAqniYRY9uPyQ99tHAOHcirnAQNu6TKI/H8dr2rP+2AiBA7DaM3ld7lK+ZJ6kpVsCOBpXyq4bT1fCAAG7nOg3gHw=="}]},"_npmUser":{"name":"anastasia-labs","email":"info@anastasialabs.com"},"directories":{},"maintainers":[{"name":"anastasia-labs","email":"info@anastasialabs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lucid-cardano-fork_0.10.8-rc.1_1698674676230_0.1169462071627192"},"_hasShrinkwrap":false},"0.10.8-rc.2":{"module":"./esm/mod.js","main":"./esm/mod.js","types":"./types/mod.d.ts","name":"@anastasia-labs/lucid-cardano-fork","version":"0.10.8-rc.2","license":"MIT","author":{"name":"Alessandro Konrad"},"description":"Lucid fork , which allows to export portable type annotations","repository":{"type":"git","url":"git+https://github.com/anastasia-labs/lucid.git"},"bugs":{"url":"https://github.com/anastasia-labs/lucid/issues"},"homepage":"https://github.com/anastasia-labs/lucid#readme","engines":{"node":">=14"},"dependencies":{"node-fetch":"^3.2.3","@peculiar/webcrypto":"^1.4.0","ws":"^8.10.0"},"type":"module","exports":{".":{"import":"./esm/mod.js","types":"./types/mod.d.ts"}},"_id":"@anastasia-labs/lucid-cardano-fork@0.10.8-rc.2","readme":"<p align=\"center\">\n  <img width=\"100px\" src=\"./logo/lucid.svg\" align=\"center\"/>\n  <h1 align=\"center\">Lucid</h1>\n  <p align=\"center\">Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.</p>\n\n<p align=\"center\">\n    <img src=\"https://img.shields.io/github/commit-activity/m/berry-pool/lucid?style=for-the-badge\" />\n    <a href=\"https://www.npmjs.com/package/lucid-cardano\">\n      <img src=\"https://img.shields.io/npm/v/lucid-cardano?style=for-the-badge\" />\n    </a>\n     <a href=\"https://doc.deno.land/https://deno.land/x/lucid/mod.ts\">\n      <img src=\"https://img.shields.io/readthedocs/cardano-lucid?style=for-the-badge\" />\n    </a>\n    <a href=\"https://www.npmjs.com/package/lucid-cardano\">\n      <img src=\"https://img.shields.io/npm/dw/lucid-cardano?style=for-the-badge\" />\n    </a>\n    <img src=\"https://img.shields.io/npm/l/lucid-cardano?style=for-the-badge\" />\n    <a href=\"https://twitter.com/spacebudzNFT\">\n      <img src=\"https://img.shields.io/twitter/follow/spacebudzNFT?style=for-the-badge&logo=twitter\" />\n    </a>\n  </p>\n\n</p>\n\n### Get started\n\n#### NPM\n\n```\nnpm install lucid-cardano\n```\n\n#### Deno 🦕\n\nFor JavaScript and TypeScript\n\n```js\nimport { Lucid } from \"https://deno.land/x/lucid@0.10.7/mod.ts\";\n```\n\n#### Web\n\n```html\n<script type=\"module\">\nimport { Lucid } from \"https://unpkg.com/lucid-cardano@0.10.7/web/mod.js\"\n// ...\n</script>\n```\n\n### \n\n### Build from source\n\nBuild NPM and Web target\n\n```\ndeno task build\n```\n\nOutputs a `dist` folder\n\n### Examples\n\n- [Basic examples](./src/examples/)\n- [Next.js Blockfrost Proxy API Example](https://github.com/GGAlanSmithee/cardano-lucid-blockfrost-proxy-example)\n\n### Basic usage\n\n```js\n// import { Blockfrost, Lucid } from \"https://deno.land/x/lucid@0.10.7/mod.ts\"; Deno\nimport { Blockfrost, Lucid } from \"lucid-cardano\"; // NPM\n\nconst lucid = await Lucid.new(\n  new Blockfrost(\"https://cardano-preview.blockfrost.io/api/v0\", \"<projectId>\"),\n  \"Preview\",\n);\n\n// Assumes you are in a browser environment\nconst api = await window.cardano.nami.enable();\nlucid.selectWallet(api);\n\nconst tx = await lucid.newTx()\n  .payToAddress(\"addr...\", { lovelace: 5000000n })\n  .complete();\n\nconst signedTx = await tx.sign().complete();\n\nconst txHash = await signedTx.submit();\n\nconsole.log(txHash);\n```\n\n### Test\n\n```\ndeno task test\n```\n\n### Build Core\n\nThis library is built on top of a customized version of the serialization-lib\n(cardano-multiplatform-lib) and on top of the message-signing library, which are\nwritten in Rust.\n\n```\ndeno task build:core\n```\n\n### Test Core\n\n```\ndeno task test:core\n```\n\n### Docs\n\n[View docs](https://doc.deno.land/https://deno.land/x/lucid/mod.ts) 📖\n\nYou can generate documentation with:\n\n```\ndeno doc\n```\n\n### Compatibility\n\nLucid is an ES Module, so to run it in the browser any bundler which allows for\ntop level await and WebAssembly is recommended. If you use Webpack 5 enable in\nthe `webpack.config.js`:\n\n```\nexperiments: {\n    asyncWebAssembly: true,\n    topLevelAwait: true,\n    layers: true // optional, with some bundlers/frameworks it doesn't work without\n  }\n```\n\nTo run the library in Node.js you need to set `{\"type\" : \"module\"}` in your\nproject's `package.json`. Otherwise you will get import issues.\n\n### Contributing\n\nContributions and PRs are welcome!\\\nThe [contribution instructions](./CONTRIBUTING.md).\n\nJoin us on [Discord](https://discord.gg/82MWs63Tdm)!\n\n### Use Lucid with React\n\n[use-cardano](https://use-cardano.alangaming.com/) a React context, hook and set\nof components built on top of Lucid.\n\n### Use Lucid with Next.js\n\n[Cardano Starter Kit](https://cardano-starter-kit.alangaming.com/) a Next.js\nstarter kit for building Cardano dApps.\n","readmeFilename":"README.md","gitHead":"d3c1f9c06a438495fd4b1fd7548e3d75e1b33e3d","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-eMIOhk0hHbj5cA03cCci/lzcfvgApjxxdhYJ7BMXwM8pq6uhUceer/CZHsIIg2Iwb+eZA1SPctwVPFunBqMd6A==","shasum":"53e415996719d51bc2fec27678ef5cd19dda0304","tarball":"https://registry.npmjs.org/@anastasia-labs/lucid-cardano-fork/-/lucid-cardano-fork-0.10.8-rc.2.tgz","fileCount":87,"unpackedSize":5671157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCv6DVwKNtZoCdxWnWgPfi1E1X9W4fHh2aK/LKjdIyuXQIhAIuHxLJrZ8dlWMgCt6D6kvli/Ie95J5nhmWSLK+LqgKB"}]},"_npmUser":{"name":"anastasia-labs","email":"info@anastasialabs.com"},"directories":{},"maintainers":[{"name":"anastasia-labs","email":"info@anastasialabs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lucid-cardano-fork_0.10.8-rc.2_1701009623792_0.36269983620506174"},"_hasShrinkwrap":false},"0.10.8-rc.3":{"module":"./esm/mod.js","main":"./esm/mod.js","types":"./types/mod.d.ts","name":"@anastasia-labs/lucid-cardano-fork","version":"0.10.8-rc.3","license":"MIT","author":{"name":"Alessandro Konrad"},"description":"Lucid fork , which allows to export portable type annotations","repository":{"type":"git","url":"git+https://github.com/anastasia-labs/lucid.git"},"bugs":{"url":"https://github.com/anastasia-labs/lucid/issues"},"homepage":"https://github.com/anastasia-labs/lucid#readme","engines":{"node":">=14"},"dependencies":{"node-fetch":"^3.2.3","@peculiar/webcrypto":"^1.4.0","ws":"^8.10.0"},"type":"module","exports":{".":{"import":"./esm/mod.js","types":"./types/mod.d.ts"}},"_id":"@anastasia-labs/lucid-cardano-fork@0.10.8-rc.3","readme":"<p align=\"center\">\n  <img width=\"100px\" src=\"./logo/lucid.svg\" align=\"center\"/>\n  <h1 align=\"center\">Lucid</h1>\n  <p align=\"center\">Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.</p>\n\n<p align=\"center\">\n    <img src=\"https://img.shields.io/github/commit-activity/m/berry-pool/lucid?style=for-the-badge\" />\n    <a href=\"https://www.npmjs.com/package/lucid-cardano\">\n      <img src=\"https://img.shields.io/npm/v/lucid-cardano?style=for-the-badge\" />\n    </a>\n     <a href=\"https://doc.deno.land/https://deno.land/x/lucid/mod.ts\">\n      <img src=\"https://img.shields.io/readthedocs/cardano-lucid?style=for-the-badge\" />\n    </a>\n    <a href=\"https://www.npmjs.com/package/lucid-cardano\">\n      <img src=\"https://img.shields.io/npm/dw/lucid-cardano?style=for-the-badge\" />\n    </a>\n    <img src=\"https://img.shields.io/npm/l/lucid-cardano?style=for-the-badge\" />\n    <a href=\"https://twitter.com/spacebudzNFT\">\n      <img src=\"https://img.shields.io/twitter/follow/spacebudzNFT?style=for-the-badge&logo=twitter\" />\n    </a>\n  </p>\n\n</p>\n\n### Get started\n\n#### NPM\n\n```\nnpm install lucid-cardano\n```\n\n#### Deno 🦕\n\nFor JavaScript and TypeScript\n\n```js\nimport { Lucid } from \"https://deno.land/x/lucid@0.10.7/mod.ts\";\n```\n\n#### Web\n\n```html\n<script type=\"module\">\nimport { Lucid } from \"https://unpkg.com/lucid-cardano@0.10.7/web/mod.js\"\n// ...\n</script>\n```\n\n### \n\n### Build from source\n\nBuild NPM and Web target\n\n```\ndeno task build\n```\n\nOutputs a `dist` folder\n\n### Examples\n\n- [Basic examples](./src/examples/)\n- [Next.js Blockfrost Proxy API Example](https://github.com/GGAlanSmithee/cardano-lucid-blockfrost-proxy-example)\n\n### Basic usage\n\n```js\n// import { Blockfrost, Lucid } from \"https://deno.land/x/lucid@0.10.7/mod.ts\"; Deno\nimport { Blockfrost, Lucid } from \"lucid-cardano\"; // NPM\n\nconst lucid = await Lucid.new(\n  new Blockfrost(\"https://cardano-preview.blockfrost.io/api/v0\", \"<projectId>\"),\n  \"Preview\",\n);\n\n// Assumes you are in a browser environment\nconst api = await window.cardano.nami.enable();\nlucid.selectWallet(api);\n\nconst tx = await lucid.newTx()\n  .payToAddress(\"addr...\", { lovelace: 5000000n })\n  .complete();\n\nconst signedTx = await tx.sign().complete();\n\nconst txHash = await signedTx.submit();\n\nconsole.log(txHash);\n```\n\n### Tx Chaining\n\n```js\nconst tx1 = await lucid.newTx()\n  .payToAddress(\"addr...\", { lovelace: 5000000n })\n  .complete();\n\nconst tx2 = tx1\n  // select tx1 outputs that shall become inputs for tx2\n  .chain((outputs) => outputs.filter(output => output.address === 'addr...'))\n  .payToAddress(\"addr...\", { lovelace: 2500000n })\n  .complete();\n\n// sign tx1 & tx2, submit them\n```\n\n### Test\n\n```\ndeno task test\n```\n\n### Build Core\n\nThis library is built on top of a customized version of the serialization-lib\n(cardano-multiplatform-lib) and on top of the message-signing library, which are\nwritten in Rust.\n\n```\ndeno task build:core\n```\n\n### Test Core\n\n```\ndeno task test:core\n```\n\n### Docs\n\n[View docs](https://doc.deno.land/https://deno.land/x/lucid/mod.ts) 📖\n\nYou can generate documentation with:\n\n```\ndeno doc\n```\n\n### Compatibility\n\nLucid is an ES Module, so to run it in the browser any bundler which allows for\ntop level await and WebAssembly is recommended. If you use Webpack 5 enable in\nthe `webpack.config.js`:\n\n```\nexperiments: {\n    asyncWebAssembly: true,\n    topLevelAwait: true,\n    layers: true // optional, with some bundlers/frameworks it doesn't work without\n  }\n```\n\nTo run the library in Node.js you need to set `{\"type\" : \"module\"}` in your\nproject's `package.json`. Otherwise you will get import issues.\n\n### Contributing\n\nContributions and PRs are welcome!\\\nThe [contribution instructions](./CONTRIBUTING.md).\n\nJoin us on [Discord](https://discord.gg/82MWs63Tdm)!\n\n### Use Lucid with React\n\n[use-cardano](https://use-cardano.alangaming.com/) a React context, hook and set\nof components built on top of Lucid.\n\n### Use Lucid with Next.js\n\n[Cardano Starter Kit](https://cardano-starter-kit.alangaming.com/) a Next.js\nstarter kit for building Cardano dApps.\n","readmeFilename":"README.md","gitHead":"3350dbdef23c49a15f5a6241d66018b452f31eb0","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-H+iobPIU9XKmfIqVnjrIUaF0INLo8TudEFnNkwUHy+Y7uLHDr1z+LDx9JqzLfADMRgx/hXJJLm59eza4a6TzHA==","shasum":"deac1a86dc61a6136fb675c06ab0d15a4c0f68c8","tarball":"https://registry.npmjs.org/@anastasia-labs/lucid-cardano-fork/-/lucid-cardano-fork-0.10.8-rc.3.tgz","fileCount":87,"unpackedSize":5681094,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2L3P0qB+Q9vuW44AO8Cj2UasxHfOxOcf6cQ8zFQmLGAiEAxPf1lyiJpCG/xFzi9S4Dh1lEivfYVn2D+gTAAhXgyjg="}]},"_npmUser":{"name":"anastasia-labs","email":"info@anastasialabs.com"},"directories":{},"maintainers":[{"name":"anastasia-labs","email":"info@anastasialabs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lucid-cardano-fork_0.10.8-rc.3_1703165125414_0.010101000702907204"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-11T20:24:32.189Z","0.10.7":"2023-08-11T20:24:32.631Z","modified":"2023-12-21T13:25:25.940Z","0.10.8-rc.0":"2023-10-30T13:57:32.620Z","0.10.8-rc.1":"2023-10-30T14:04:36.547Z","0.10.8-rc.2":"2023-11-26T14:40:24.106Z","0.10.8-rc.3":"2023-12-21T13:25:25.742Z"},"maintainers":[{"name":"anastasia-labs","email":"info@anastasialabs.com"}],"description":"Lucid fork , which allows to export portable type annotations","homepage":"https://github.com/anastasia-labs/lucid#readme","repository":{"type":"git","url":"git+https://github.com/anastasia-labs/lucid.git"},"author":{"name":"Alessandro Konrad"},"bugs":{"url":"https://github.com/anastasia-labs/lucid/issues"},"license":"MIT","readme":"","readmeFilename":""}