A sequencing and settlement layer to help you build provable apps that are minimally, yet sufficiently, onchain.
Repository for the Hylé chain. This repository is for the work-in-progress rust client. The older (but still maintained) Cosmos SDK based client can be found at hyle-cosmos.
Current status: WIP
cargo build
cargo run --bin node
docker build . -t hyle_image:v1
docker run -v ./db:/hyle/data -p 4321:4321 -p 1234:1234 hyle_image:v1
If you have permission errors when accessing /hyle/data volume, use "--privileged" cli flag.
docker compose -f tools/docker-compose.yml up -d
curl -X POST --location 'http://localhost:4321/v1/tx/send/blob' \
--header 'Content-Type: application/json' \
--data '{
"identity": "ident",
"blobs": [
{
"contract_name": "contrat de test",
"data": []
}
]
}'
http://localhost:3000
docker compose -f tools/docker-compose.yml down
Run cargo run --profile profiling
to enable the profiling profile, which is optimised but retains debug information.
The tokio-console
can be used for some simple debugging.
Otherwise, we recommend (samply)[https://github.com/mstange/samply].
Hylé has built-in support for the dhat
crate, which uses the valgrind dhat viewer for memory profiling.
This has a runtime performance cost, so should only be enabled when needed. The corresponding feature is dhat
.