Building the Lexe sidecar from source
Lexe provides precompiled binaries for the Lexe sidecar, but it can also be built from source if your platform is not supported or you prefer the extra security.
Steps
Install rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# default host triple: default
# default toolchain: stable
# profile: default
# modify PATH variable: yes
Clone the lexe-public monorepo
Build the sidecar and copy it to somewhere in PATH, for example /usr/local/bin:
cargo build --release -p sdk-sidecar --bin lexe-sidecar
sudo cp target/release/lexe-sidecar /usr/local/bin
Run the sidecar:
Update the sidecar frequently to ensure your app continues to run smoothly:
cd lexe-public
git pull
cargo build --release -p sdk-sidecar --bin lexe-sidecar
sudo cp target/release/lexe-sidecar /usr/local/bin
See the Quickstart page for remaining setup.