Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 9591f18

Browse files
Added Re-exports base58
1 parent 16535ad commit 9591f18

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Library to work with [Waves blockchain](https://wavesplatform.com)
77

88
# Usage
99
```rust
10-
use base58::*;
1110
use std::time::{SystemTime, UNIX_EPOCH};
1211
use wavesplatform::account::{PrivateKeyAccount, TESTNET};
12+
use wavesplatform::base58::*;
1313
use wavesplatform::seed::*;
1414
use wavesplatform::transaction::*;
1515

src/account.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
use crate::transaction::{ProvenTransaction, Transaction};
22

33
use base58::*;
4-
use blake2::digest::VariableOutput;
4+
use blake2::digest::{Update, VariableOutput};
55
use blake2::VarBlake2b;
6-
use blake2::digest::Update;
76
use curve25519_dalek::constants;
87
use curve25519_dalek::scalar::Scalar;
98
use ed25519_dalek::*;

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
//!
1111
//!# Usage
1212
//!```rust
13-
//!use base58::*;
1413
//!use std::time::{SystemTime, UNIX_EPOCH};
1514
//!use wavesplatform::account::{PrivateKeyAccount, TESTNET};
15+
//!use wavesplatform::base58::*;
1616
//!use wavesplatform::seed::*;
1717
//!use wavesplatform::transaction::*;
1818
//!
@@ -38,3 +38,5 @@ pub mod seed;
3838
pub mod transaction;
3939
/// Util module
4040
pub mod util;
41+
42+
pub use base58;

0 commit comments

Comments
 (0)