A Rust SDK for working with XRP Ledger APIs.
This project is an unofficial, community-driven effort.
The SDK contains the following high-level crates:
Additionally, low-level crates are provided:
Finally, a convenient CLI is provided to demonstrate example usage:
let client = Client::new();
let account = env::var("XRPL_ACCOUNT_ADDRESS").expect("account not defined");
let req = AccountTxRequest::new(&account).limit(5);
let resp = client.call(req).await;
dbg!(&resp);
let mut client = Client::connect(DEFAULT_WS_URL)
.await
.expect("cannot connect");
let account = env::var("XRPL_ACCOUNT_ADDRESS").expect("account not defined");
let req = AccountInfoRequest::new(&account).strict(true);
client.call(req).await.expect("cannot send request");
if let Some(msg) = client.messages.next().await {
dbg!(&msg);
}
The following crates have no_std
support:
This work is under active development (pre-alpha) and the API is expected to change. It's not considered ready for use in production.
Pull requests, issues and comments are welcome! Make sure to add tests for new features and bug fixes.
This work is licensed under the Apache-2.0 License. See LICENSE.txt or https://spdx.org/licenses/Apache-2.0.html for details.
Copyright © 2022 Georgios Moschovitis.
xrpl-sdk-rust's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.