This repository was archived by the owner on Oct 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ Library to work with [Waves blockchain](https://wavesplatform.com)
7
7
8
8
# Usage
9
9
``` rust
10
- use base58 :: * ;
11
10
use std :: time :: {SystemTime , UNIX_EPOCH };
12
11
use wavesplatform :: account :: {PrivateKeyAccount , TESTNET };
12
+ use wavesplatform :: base58 :: * ;
13
13
use wavesplatform :: seed :: * ;
14
14
use wavesplatform :: transaction :: * ;
15
15
Original file line number Diff line number Diff line change 1
1
use crate :: transaction:: { ProvenTransaction , Transaction } ;
2
2
3
3
use base58:: * ;
4
- use blake2:: digest:: VariableOutput ;
4
+ use blake2:: digest:: { Update , VariableOutput } ;
5
5
use blake2:: VarBlake2b ;
6
- use blake2:: digest:: Update ;
7
6
use curve25519_dalek:: constants;
8
7
use curve25519_dalek:: scalar:: Scalar ;
9
8
use ed25519_dalek:: * ;
Original file line number Diff line number Diff line change 10
10
//!
11
11
//!# Usage
12
12
//!```rust
13
- //!use base58::*;
14
13
//!use std::time::{SystemTime, UNIX_EPOCH};
15
14
//!use wavesplatform::account::{PrivateKeyAccount, TESTNET};
15
+ //!use wavesplatform::base58::*;
16
16
//!use wavesplatform::seed::*;
17
17
//!use wavesplatform::transaction::*;
18
18
//!
@@ -38,3 +38,5 @@ pub mod seed;
38
38
pub mod transaction;
39
39
/// Util module
40
40
pub mod util;
41
+
42
+ pub use base58;
You can’t perform that action at this time.
0 commit comments