aboutsummaryrefslogtreecommitdiff
path: root/src/ganache.rs
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2021-03-18 08:42:35 +0100
committerNicholas Rodrigues Lordello <[email protected]>2021-03-18 08:42:35 +0100
commit1ce0c196c10dc92977114279180ea714056c587d (patch)
treeb726917e32f285bf4a63892cbd932e5b5dbb71f9 /src/ganache.rs
parent0bb365d3e0ec9663e8f011b31c3d4c52d168ab6f (diff)
add transaction tests and bump version
Diffstat (limited to 'src/ganache.rs')
-rw-r--r--src/ganache.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ganache.rs b/src/ganache.rs
new file mode 100644
index 0000000..f6710d8
--- /dev/null
+++ b/src/ganache.rs
@@ -0,0 +1,12 @@
+//! Module containing Ganache deterministic secrets for testing.
+
+use hex_literal::hex;
+
+/// The Ganache deterministic mnemonic.
+pub const DETERMINISTIC_MNEMONIC: &str =
+ "myth like bonus scare over problem client lizard pioneer submit female collect";
+
+/// The private key of the account at index 0 derived from the Ganache
+/// deterministic mnemonic.
+pub const DETERMINISTIC_PRIVATE_KEY: [u8; 32] =
+ hex!("4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d");