Skip to content
/ lasr Public
forked from formthefog/lasr

The worlds first Stateless Rollup.

Notifications You must be signed in to change notification settings

sezna/lasr

 
 

Repository files navigation

Versatus LASR

LASR Node Environment Variables

Environment Variable Description
SECRET_KEY Used for signing transactions and securing connections.
BLOCKS_PROCESSED_PATH Path where processed blocks information is stored.
ETH_RPC_URL URL for Ethereum RPC endpoint.
EO_CONTRACT_ADDRESS Address of the Executable Oracle contract.
COMPUTE_RPC_URL URL for the compute RPC endpoint.
STORAGE_RPC_URL URL for the compute RPC endpoint.
PORT Optionally specify a port, defaults to 9292
BATCH_INTERVAL
VIPFS_ADDRESS Optional. Used by the OciManager.

CLI Environment Variables

LASR_RPC_URL

Base Image

https://gvisor.dev/docs/user_guide/quick_start/oci/ https://hub.docker.com/_/busybox

docker export $(docker create busybox) | sudo tar -xf - -C rootfs --same-owner --same-permissions

https://taskfile.dev/

Handy commands

cli wallet register-program --from-file --inputs '{"contentId": "0x742d35cc6634c0532925a3b844bc454e4438f44e"}'

cli wallet call --from-file --to 0x742d35cc6634c0532925a3b844bc454e4438f44e -c 0x742d35cc6634c0532925a3b844bc454e4438f44e --op getName --inputs '{"first_name": "Andrew", "last_name": "Smith"}' -v 0

runsc --debug --debug-log=/tmp/runsc/ --TESTONLY-unsafe-nonroot do echo 123

runsc --debug --debug-log=/tmp/runsc/ do echo 123

About

The worlds first Stateless Rollup.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 95.8%
  • Solidity 2.5%
  • Other 1.7%