Skip to content

ravendevteam/alternet

Repository files navigation

Alternet

A decentralized network that offers a censorship-resistant alternative to traditional DNS infrastructure.

Prerequisite

  • Rust (latest stable)
  • Cargo

Verify installation:

rustc --version
cargo --version

Viewing .excalidraw files within the repository

Suggested Obsidian


Test

To test the node crate, you must enable end-to-end feature, and have all required dependencies.

# finds docker image digest
docker inspect --format='{{index .RepoDigests 0}}' stellar/quickstart:latest

docker pull stellar/quickstart:latest

docker run --rm -it -p "8000:8000" -p "11626:11626" --name stellar-local stellar/quickstart:latest --local

rm -rf ($env.HOME | path join ".config" "stellar")
cargo run \
	--package task \
	-- \
	build-image
	
cargo test \
	--package node \
	--features=end-to-end

Image

docker run --rm node:latest ./bootstrap
docker run --rm node:latest ./client
docker run --rm node:latest ./server
docker run --rm node:latest ./relay

Devops

Task

Use task to run custom devops scripts.

cargo run --package task
cargo run --package task build-node-release
cargo run --package task build-node

Node Binaries

The node crate contains 4 binaries which are gated by 4 mutually exclusive features. To compile them individually, use these flags.

cargo build --release --package node --bin bootstrap --features=bootstrap
cargo build --release --package node --bin client --features=client
cargo build --release --package node --bin server --features=server
cargo build --release --package node --bin relay --features=relay

License

This project is released under The Unlicense.

You are free to use, modify, distribute, and sell this software without restriction.

About

A completely decentralized alternative to the current-day web.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors