17 lines
534 B
Markdown
17 lines
534 B
Markdown
|
# golgi
|
||
|
|
||
|
_A Scuttlebutt client written in Rust_
|
||
|
|
||
|
An experimental client which uses the [kuska-ssb](https://github.com/Kuska-ssb) libraries and aims to provide a high-level API for interacting with an sbot instance. Development efforts are currently oriented towards [go-sbot](https://github.com/cryptoscope/ssb) interoperability.
|
||
|
|
||
|
## Example Usage
|
||
|
|
||
|
```rust
|
||
|
pub async fn run() -> Result<(), GolgiError> {
|
||
|
let mut sbot_client = Sbot::init(None, None).await?;
|
||
|
|
||
|
let id = sbot_client.whoami().await?;
|
||
|
println!("{}", id);
|
||
|
}
|
||
|
```
|