Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
continue-on-error: true
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish client
run: cargo publish --manifest-path client/Cargo.toml
continue-on-error: true
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish chain
run: cargo publish --manifest-path chain/Cargo.toml
continue-on-error: true
Expand Down
73 changes: 73 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
[workspace]
members = [
"chain",
"client",
"types",
]
resolver = "2"

[workspace.dependencies]
alto-client = { version = "0.0.2", path = "client" }
alto-types = { version = "0.0.2", path = "types" }
commonware-consensus = { version = "0.0.40" }
commonware-cryptography = { version = "0.0.40" }
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
## Components

* [chain](./chain/README.md): A minimal blockchain built with the [Commonware Library](https://github.com/commonwarexyz/monorepo).
* [client](./client/README.md): Client for interacting with `alto`.
* [types](./types/README.md): Common types used throughout `alto`.

## Licensing
Expand Down
23 changes: 23 additions & 0 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[package]
name = "alto-client"
version = "0.0.2"
publish = true
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Client for interacting with alto."
readme = "README.md"
homepage = "https://alto.commonware.xyz"
repository = "https://github.com/commonwarexyz/alto/tree/main/client"
documentation = "https://docs.rs/alto-client"

[dependencies]
alto-types = { workspace = true }
commonware-cryptography = { workspace = true }
commonware-utils = { workspace = true }
bytes = { workspace = true }
rand = { workspace = true }
thiserror = { workspace = true }
futures = { workspace = true }
reqwest = "0.12.12"
tokio-tungstenite = { version = "0.17", features = ["native-tls"] }
tokio = { version = "1.40.0", features = ["full"] }
10 changes: 10 additions & 0 deletions client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# alto-client

[![Crates.io](https://img.shields.io/crates/v/alto-client.svg)](https://crates.io/crates/alto-client)
[![Docs.rs](https://docs.rs/alto-client/badge.svg)](https://docs.rs/alto-client)

Client for interacting with `alto`.

## Status

`alto-client` is **ALPHA** software and is not yet recommended for production use. Developers should expect breaking changes and occasional instability.
Loading