Install Lucid Evolution


Lucid Evolution is an off-chain framework for Cardano and this guide will help you install the necessary packages to start building with Lucid Evolution

Package Managers


pnpm i @lucid-evolution/lucid 

Ensure you have Node.js version 14 or higher installed on your system before trying to install Lucid Evolution

Installing the lucid package will automatically export all other packages in the library as well

Compatibility


Lucid Evolution works with yarn, npm, and pnpm on the following operating systems:

  • macOS darwin 64-bit (Intel), ARM 64-bit (Apple Silicon)
  • Linux 64-bit, ARM 64-bit
  • Windows 64-bit, ARM 64-bit

Why Compartmentalize?


Lucid Evolution separates packages to allow users to import only what they need, providing several benefits to you:

  • Reduced bundle size
  • Faster installation, smaller packages install quicker
  • Modular structure allows for easier updates and bug fixes
  • Mix and match packages as needed for your project
      • lucid-evolution/lucid โ‡€ Main package for Lucid Evolution
      • lucid-evolution/bip39 โ‡€ Package for BIP-39 mnemonic code
      • lucid-evolution/core-types โ‡€ Core types used across Lucid Evolution packages
      • lucid-evolution/core-utils โ‡€ Core utilities used across Lucid Evolution packages
      • lucid-evolution/crc8 โ‡€ Package for CRC8 calculation
      • lucid-evolution/plutus โ‡€ Package for Plutus integration
      • lucid-evolution/provider โ‡€ Package for providing data
      • lucid-evolution/sign_data โ‡€ Package for signing data
      • lucid-evolution/utils โ‡€ Utility functions for Lucid Evolution
      • lucid-evolution/wallet โ‡€ Wallet package for Lucid Evolution
  • ๐Ÿ’ก

    If you only want to query utxos and don't need the rest of the library, you could install the @lucid-evolution/utils package

    Next Steps


    Now that you've installed Lucid Evolution, you're ready to start building! Check out these resources to get started: