{"_id":"@cuonglv0297/lucid-custom","_rev":"11-4fe9d8fc5b747c1284451f5b8b3cbf87","name":"@cuonglv0297/lucid-custom","dist-tags":{"latest":"0.10.17"},"versions":{"0.10.6":{"name":"@cuonglv0297/lucid-custom","version":"0.10.6","author":{"name":"Alessandro Konrad"},"license":"MIT","_id":"@cuonglv0297/lucid-custom@0.10.6","maintainers":[{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"}],"homepage":"https://github.com/spacebudz/lucid#readme","bugs":{"url":"https://github.com/spacebudz/lucid/issues"},"dist":{"shasum":"8da5c0c9b06689298c7f20fabf2330f9c19a0c02","tarball":"https://registry.npmjs.org/@cuonglv0297/lucid-custom/-/lucid-custom-0.10.6.tgz","fileCount":125,"integrity":"sha512-y8b+BO+YHC95aDAxH2J+dwIe/SvT1Df5iw+SPGmoucHZOVNY/9uK0FX8tMsfcuRHKM2vjKNAydszwYQX42ZVLA==","signatures":[{"sig":"MEQCID6EgPLpFVFm0csftbS0OSK1A7hlpbrBEVdL2Yb0smVfAiAewiDwhrqR+0u70V9Uckv5MweQny6T5rS7jAANUOaexA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6655648},"main":"./esm/mod.js","type":"module","types":"./types/mod.d.ts","module":"./esm/mod.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/mod.d.ts","import":"./esm/mod.js"}},"gitHead":"6911a04c6741d01e22b7f17009fee0e53e7c41af","_npmUser":{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"},"repository":{"url":"git+https://github.com/spacebudz/lucid.git","type":"git"},"_npmVersion":"10.7.0","description":"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.","directories":{},"_nodeVersion":"18.20.4","dependencies":{"ws":"^8.10.0","node-fetch":"^3.2.3","@peculiar/webcrypto":"^1.4.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/lucid-custom_0.10.6_1723009534157_0.19489305845034233","host":"s3://npm-registry-packages"}},"0.10.10":{"name":"@cuonglv0297/lucid-custom","version":"0.10.10","author":{"name":"Alessandro Konrad"},"license":"MIT","_id":"@cuonglv0297/lucid-custom@0.10.10","maintainers":[{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"}],"homepage":"https://github.com/spacebudz/lucid#readme","bugs":{"url":"https://github.com/spacebudz/lucid/issues"},"dist":{"shasum":"3f0e4d29137854c5d409247a07faa077710f78c3","tarball":"https://registry.npmjs.org/@cuonglv0297/lucid-custom/-/lucid-custom-0.10.10.tgz","fileCount":125,"integrity":"sha512-Vq0z/WA40Urpzjtab9FC9qIjAlHiCo8KfPCUq2NoV0RJWjqw6w+DnAZu+Ozi9lVpTM23KjfLgBdZLznBJN+51A==","signatures":[{"sig":"MEUCIE1Ywfdts6T8YO14H27h06mdWf9GKzF7tdDwh7CtyLLXAiEAst9PSOnxnnTJm5xe2VCZKRK3a8Dp2Ak4QJ3hHd6iYrQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6655656},"main":"./esm/mod.js","type":"module","types":"./types/mod.d.ts","module":"./esm/mod.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/mod.d.ts","import":"./esm/mod.js"}},"gitHead":"6911a04c6741d01e22b7f17009fee0e53e7c41af","_npmUser":{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"},"repository":{"url":"git+https://github.com/spacebudz/lucid.git","type":"git"},"_npmVersion":"10.7.0","description":"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.","directories":{},"_nodeVersion":"18.20.4","dependencies":{"ws":"^8.10.0","node-fetch":"^3.2.3","@peculiar/webcrypto":"^1.4.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/lucid-custom_0.10.10_1723009764027_0.09133143071078131","host":"s3://npm-registry-packages"}},"0.10.11":{"name":"@cuonglv0297/lucid-custom","version":"0.10.11","author":{"name":"Alessandro Konrad"},"license":"MIT","_id":"@cuonglv0297/lucid-custom@0.10.11","maintainers":[{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"}],"homepage":"https://github.com/spacebudz/lucid#readme","bugs":{"url":"https://github.com/spacebudz/lucid/issues"},"dist":{"shasum":"337e87b73fbbe775cc090af3eeda76aede6fd6af","tarball":"https://registry.npmjs.org/@cuonglv0297/lucid-custom/-/lucid-custom-0.10.11.tgz","fileCount":125,"integrity":"sha512-/y1pN4T+b70Ngovn7CxIGab8Ys1I6Zz7YhGrJwyvQd+/cjYYJvRpMSXhagHE0/2vDL0Kl9THFHci3dHAiOVReQ==","signatures":[{"sig":"MEYCIQDMAvlzF7BMP9lGo/uvCHM4lqGpwVCw5k8Tak6Pm15HXgIhAMj5xXDJnNEYLgEsVZCGwrbFM9H8634KTZ+x7TSrf6o2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6681635},"main":"./esm/mod.js","type":"module","types":"./types/mod.d.ts","module":"./esm/mod.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/mod.d.ts","import":"./esm/mod.js"}},"gitHead":"9512dd958cc4137363383710ed3bab52e6533516","_npmUser":{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"},"repository":{"url":"git+https://github.com/spacebudz/lucid.git","type":"git"},"_npmVersion":"10.7.0","description":"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.","directories":{},"_nodeVersion":"18.20.4","dependencies":{"ws":"^8.10.0","node-fetch":"^3.2.3","@peculiar/webcrypto":"^1.4.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/lucid-custom_0.10.11_1723027013704_0.3927660020181565","host":"s3://npm-registry-packages"}},"0.10.12":{"name":"@cuonglv0297/lucid-custom","version":"0.10.12","author":{"name":"Alessandro Konrad"},"license":"MIT","_id":"@cuonglv0297/lucid-custom@0.10.12","maintainers":[{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"}],"homepage":"https://github.com/spacebudz/lucid#readme","bugs":{"url":"https://github.com/spacebudz/lucid/issues"},"dist":{"shasum":"5f2769582bb635b8bd2a4bc074325af9ff2cbca8","tarball":"https://registry.npmjs.org/@cuonglv0297/lucid-custom/-/lucid-custom-0.10.12.tgz","fileCount":125,"integrity":"sha512-uXw6MP1bJkzbqBUjaoIDY82ZsN2pRmKZdGO8hOpClLHefqvZC80YWkiUYKmxTR2nZzSQLMBnRxCrVWN21E0dLw==","signatures":[{"sig":"MEUCIFpY1cJtKphzMIOIBhIotHE5lLwPTD8hA6PxkwSn+ovoAiEAkhEAqdXKnMGQuZhHi03OMqzYvKJEVgJh25oqQ1Xjguo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6681662},"main":"./esm/mod.js","type":"module","types":"./types/mod.d.ts","module":"./esm/mod.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/mod.d.ts","import":"./esm/mod.js"}},"gitHead":"ad6d49960b3f32afd0333503568c652fbde689a4","_npmUser":{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"},"repository":{"url":"git+https://github.com/spacebudz/lucid.git","type":"git"},"_npmVersion":"10.7.0","description":"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.","directories":{},"_nodeVersion":"18.20.4","dependencies":{"ws":"^8.10.0","node-fetch":"^3.2.3","@peculiar/webcrypto":"^1.4.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/lucid-custom_0.10.12_1723027684757_0.40699273909451716","host":"s3://npm-registry-packages"}},"0.10.15":{"name":"@cuonglv0297/lucid-custom","version":"0.10.15","author":{"name":"Alessandro Konrad"},"license":"MIT","_id":"@cuonglv0297/lucid-custom@0.10.15","maintainers":[{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"}],"homepage":"https://github.com/spacebudz/lucid#readme","bugs":{"url":"https://github.com/spacebudz/lucid/issues"},"dist":{"shasum":"d962dbb94efe4a13927a53b3647f05329018c6dc","tarball":"https://registry.npmjs.org/@cuonglv0297/lucid-custom/-/lucid-custom-0.10.15.tgz","fileCount":125,"integrity":"sha512-VRFm3z1q3RvmPlQKoD1peCzTIgr8PeI1+Iw43UFARkAhPdm0jOc1xSXgn3uM2fcSKjF5JEwBU5iLYMdVG2g8aw==","signatures":[{"sig":"MEQCIC7xMENyGQFMgTlbvKBpCSBuGbwyXh8dsjPQ/1xLl7s7AiBp5rAfRRTcegVj9gntzUXSs1IodWNHA1YU1clSX5s9QA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6681671},"main":"./esm/mod.js","type":"module","types":"./types/mod.d.ts","module":"./esm/mod.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/mod.d.ts","import":"./esm/mod.js"}},"gitHead":"12fc7056f6f77e8cf6b6530bdc8d4d8a6e992155","_npmUser":{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"},"repository":{"url":"git+https://github.com/spacebudz/lucid.git","type":"git"},"_npmVersion":"10.7.0","description":"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.","directories":{},"_nodeVersion":"18.20.4","dependencies":{"ws":"^8.10.0","node-fetch":"^3.2.3","@peculiar/webcrypto":"^1.4.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/lucid-custom_0.10.15_1723028339298_0.0063603386143318286","host":"s3://npm-registry-packages"}},"0.10.16":{"name":"@cuonglv0297/lucid-custom","version":"0.10.16","author":{"name":"Alessandro Konrad"},"license":"MIT","_id":"@cuonglv0297/lucid-custom@0.10.16","maintainers":[{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"}],"homepage":"https://github.com/spacebudz/lucid#readme","bugs":{"url":"https://github.com/spacebudz/lucid/issues"},"dist":{"shasum":"bb991af54606aef0aee2774aafae88092ffc741f","tarball":"https://registry.npmjs.org/@cuonglv0297/lucid-custom/-/lucid-custom-0.10.16.tgz","fileCount":398,"integrity":"sha512-JScHoGFqMrWEY7Po17BxDy0nB9e7cZd2F5je/cC3B5Q96d+Xp5CmxrpjaKjAGny7gTy2mT8xnGDQO5QW1HZDbg==","signatures":[{"sig":"MEYCIQDPv5XCmFGpwM5TLjKGlxtbA6KcUk4aK/Ta2+7f+DKqyQIhANMTn14FDIR0H3qS4M9TPv5x5FvFbXCKvt71Bn2v0k8F","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17044795},"main":"./esm/mod.js","type":"module","types":"./types/mod.d.ts","module":"./esm/mod.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/mod.d.ts","import":"./esm/mod.js"}},"gitHead":"754f9d3be3ad3d5215b406e33ddbce1b3c16fae7","_npmUser":{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"},"repository":{"url":"git+https://github.com/spacebudz/lucid.git","type":"git"},"_npmVersion":"10.7.0","description":"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.","directories":{},"_nodeVersion":"18.20.4","dependencies":{"ws":"^8.10.0","node-fetch":"^3.2.3","@peculiar/webcrypto":"^1.4.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/lucid-custom_0.10.16_1724225448847_0.2572621000464914","host":"s3://npm-registry-packages"}},"0.10.17":{"module":"./esm/mod.js","main":"./esm/mod.js","types":"./types/mod.d.ts","name":"@cuonglv0297/lucid-custom","version":"0.10.17","license":"MIT","author":{"name":"Alessandro Konrad"},"description":"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.","repository":{"type":"git","url":"git+https://github.com/spacebudz/lucid.git"},"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":"@cuonglv0297/lucid-custom@0.10.17","gitHead":"754f9d3be3ad3d5215b406e33ddbce1b3c16fae7","bugs":{"url":"https://github.com/spacebudz/lucid/issues"},"homepage":"https://github.com/spacebudz/lucid#readme","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-1NSXJ3WCV+Uqtwx7uyV0+nPsbhJoMVWLdrDt5R9MggeldocOWKzj/d0PBoJL2+RSxL5K6P82PcqvGYYvE5NCbA==","shasum":"eaee219aed6f24a24e4bda8673703888dec378d7","tarball":"https://registry.npmjs.org/@cuonglv0297/lucid-custom/-/lucid-custom-0.10.17.tgz","fileCount":398,"unpackedSize":17044805,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyN4/yMXA6Rexkk1NBL/MlomqN7H/Qe0dYpu65GzEW2QIgbV/A1W1klYW0cXBSGTO7fB+2nc/n1Afut9FxUn9v+Fc="}]},"_npmUser":{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"},"directories":{},"maintainers":[{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lucid-custom_0.10.17_1727243432029_0.45096862618480005"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-07T05:45:34.056Z","modified":"2024-09-25T05:50:32.478Z","0.10.8":"2024-08-07T05:34:19.753Z","0.10.7":"2024-08-07T05:36:51.660Z","0.10.9":"2024-08-07T05:38:06.972Z","0.10.6":"2024-08-07T05:45:34.467Z","0.10.10":"2024-08-07T05:49:24.281Z","0.10.11":"2024-08-07T10:36:53.924Z","0.10.12":"2024-08-07T10:48:04.947Z","0.10.15":"2024-08-07T10:58:59.539Z","0.10.16":"2024-08-21T07:30:49.146Z","0.10.17":"2024-09-25T05:50:32.303Z"},"bugs":{"url":"https://github.com/spacebudz/lucid/issues"},"author":{"name":"Alessandro Konrad"},"license":"MIT","homepage":"https://github.com/spacebudz/lucid#readme","repository":{"type":"git","url":"git+https://github.com/spacebudz/lucid.git"},"description":"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.","maintainers":[{"name":"cuonglv0297","email":"levietcuong0297@gmail.com"}],"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"}