use bundlr_sdk::{Bundlr, SolanaSigner, tags::Tag};
#[tokio::main]
async fn main() {
let signer = SolanaSigner::from_base58("key");
let bundlr = Bundlr::new(
"https://node1.bundlr.network".to_string(),
"solana".to_string(),
"sol".to_string(),
signer
);
let tx = bundlr.create_transaction_with_tags("hello".into(), vec![Tag::new("hello".into(), "world".into())]);
// Will return Err if not success
let response = bundlr.send_transaction(tx).await.unwrap();
}
forked from Irys-xyz/rust-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
ledamint-IO/rust-sdk
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Rust 99.1%
- Shell 0.9%