Skip to content

Commit

Permalink
chore: fix luzid blog post formatting (#5)
Browse files Browse the repository at this point in the history
* fix: headers in luzid blog post

* feat: link to installation guide on luzid blog 1st paragraph
  • Loading branch information
thlorenz authored Jul 3, 2024
1 parent bdd0cba commit 086466e
Showing 1 changed file with 39 additions and 28 deletions.
67 changes: 39 additions & 28 deletions _posts/2024-07-03-luzid.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,51 @@ image: assets/images/luzid.jpg
tags: [featured]
---

We are thrilled to release the latest version of Luzid, an essential tool for anyone building on Solana, no matter if you are a seasoned developer or just starting out.
What is Luzid?
We are thrilled to release [the latest version of Luzid](https://luzid.app/docs/getting-started/installation/), an essential tool for anyone building on Solana, no matter if you are a seasoned developer or just starting out.

## What is Luzid?

Luzid embeds a blazingly fast test validator and provides enhanced insights into your transactions including account diffs. It clones programs and accounts on demand, enables persistent state via snapshots and account state mutation in order to ease test setup.

Finally its workspace discovery feature has you up and running with all your local programs loaded in no time.

## Key Features of Luzid
1. Develop at the Speed of Light
Luzid embeds a validator optimised for speed. Developers will be more productive as a result as the turnaround time from code change to test completion is cut drastically. We've seen 16x speedup for some test suites when compared to running them via the stock Solana test validator.

2. Flexible State Management
Luzid enables developers to mutate account states via its powerful SDK. This is an essential feature to set up test scenarios quickly. Luzid's snapshot makes it easy to persist and restore state repeatedly to test multiple actions based on it. Snapshots can persist and be restored across Luzid sessions.

3. Workspace Discovery and On Demand Program Cloning
At startup Luzid will scan your workspace and automatically load all your programs into the validator. Each time you apply a change to your program, Luzid will hotswap it into the already running validator without requiring a program redeploy or validator restart.
If Luzid encounters a program as part of a transaction it does not know about it will automatically clone it from the specified Solana cluster, i.e Devnet or Mainnet. This makes it easy to test transactions locally without any additional setup.

4. Account Diff Visualisation
Luzid discovers IDLs for programs loaded from a workspace or cloned on demand. This enables it to show not only parsed account data, but also to provide visual diffs for each
account that was modified as part of a transaction. This powerful feature makes it much easier for developers to understand what each transaction is doing and to diagnose issues.

When an IDL for a program cannot be found Luzid will provide account diffs in a raw format
which is very useful to understand how some programs work under the hood.

5. Seeing is Believing
In order to truly appreciate the boost to your productivity that Luzid provides we recommend
you to give it a try following these simple steps:

Download Luzid from [the Luzid Getting Started guide](https://luzid.app/docs/getting-started/installation/)
Navigate to your workspace directory in a terminal
Launch Luzid in workspace discovery mode via luzid .
Open the Luzid UI (LuzidUI.app on MacOS) and start developing

### 1. Develop at the Speed of Light

Luzid embeds a validator optimised for speed. Developers will be more productive as a result as the turnaround time from code change to test completion is cut drastically. We've seen 16x speedup for some test suites when compared to running them via the stock Solana test validator.

### 2. Flexible State Management

Luzid enables developers to mutate account states via its powerful SDK. This is an essential feature to set up test scenarios quickly. Luzid's snapshot makes it easy to persist and restore state repeatedly to test multiple actions based on it. Snapshots can persist and be restored across Luzid sessions.

### 3. Workspace Discovery and On Demand Program Cloning

At startup Luzid will scan your workspace and automatically load all your programs into the
validator. Each time you apply a change to your program, Luzid will _hotswap_ it into the already running validator without requiring a program redeploy or validator restart.

If Luzid encounters a program as part of a transaction it does not know about it will automatically clone it from the specified Solana cluster, i.e Devnet or Mainnet. This makes it easy to test transactions locally without any additional setup.

### 4. Account Diff Visualisation

Luzid discovers IDLs for programs loaded from a workspace or cloned on demand. This enables it to show not only parsed account data, but also to provide visual diffs for each
account that was modified as part of a transaction. This powerful feature makes it much easier for developers to understand what each transaction is doing and to diagnose issues.

When an IDL for a program cannot be found Luzid will provide account diffs in a raw format
which is very useful to understand how some programs work under the hood.

### 5. Seeing is Believing

In order to truly appreciate the boost to your productivity that Luzid provides we recommend
you to give it a try following these simple steps:

1. Download Luzid following [the Luzid Getting Started guide](https://luzid.app/docs/getting-started/installation/)
2. Navigate to your workspace directory in a terminal
3. Launch Luzid in workspace discovery mode via `luzid .`
4. Open the Luzid UI (LuzidUI.app on MacOS) and start developing

## Join our developer Community

Luzid is an open-source tool developed by MagicBlock and available for the whole Solana developer community; For a comprehensive overview of Luzid and to see it in action, watch the [introductory video on YouTube](https://www.youtube.com/watch?v=3J_42C6xuNM).

Join the MagicBlock discord to learn how to make the most out of Luzid and stay up-to-date with the latest developments.
Join the [MagicBlock discord](https://discord.com/invite/MBkdC3gxcv) to learn how to make the most out of Luzid and stay up-to-date with the latest developments.

0 comments on commit 086466e

Please sign in to comment.