Skip to content
lpgeiger edited this page Feb 8, 2021 · 49 revisions

0L Resources

Start here

Testing: https://github.com/OLSF/libra/wiki/Testing-0L

Local Dev Net: https://github.com/OLSF/libra/wiki/Start-a-network-locally-(libra-swarm)

Connect Client: https://github.com/OLSF/libra/wiki/Connect-a-client-to-network

Shortcuts

Build everything

cargo build --all --bins --exclude cluster-test

Functional tests

cd language/move-lang/functional-tests && cargo test 0L

E2E tests

cd language/e2e-tests && cargo test ol

Start swarm, storing configs to temp cargo build -p libra-node -p cli && NODE_ENV="test" cargo run -p libra-swarm -- --libra-node target/debug/libra-node -c swarm_temp -n 1 -s --cli-path target/debug/cli

Note: use absolute path with swarm_temp

Connect a client

cargo run -p cli -- -u http://localhost:8080 --chain-id 1 --waypoint <waypoint>

Debug-Net

How to tests the debug-net

Client and Node QA

Getting Started with Move

Run our demos:

https://github.com/OLSF/libra/wiki/Getting-Started-with-Move:-Persistence

A good guide to Move Language:

https://move-book.com/

Clone this wiki locally