Skip to content

Commit 198b8b2

Browse files
author
Zach Alam
committed
add create key example
1 parent 39992d7 commit 198b8b2

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

docs/guide/quickstart.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
## Let's Start
22
In this brief guide we'll show you how to go from zero to timestamped data. For this example we'll be using the Ethereum (ropsten) testnet.
33

4-
?> Before starting, you'll want to ensure that you have the latest version of `node` installed on your machine: https://nodejs.org/en/download/
5-
6-
## 1. Get Private Key
7-
todo
4+
?> Before starting, you'll want to ensure that you have the latest version of `node` installed on your machine: https://nodejs.org/en/download/

examples/createKey.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// NOTE: Update to USE from a package manager instead.
2+
const BitFact = require("../BitFact");
3+
4+
// creates an Ethereum keypair
5+
(async () => {
6+
console.log(
7+
await new BitFact({ provider: "", privateKey: "" }).createKeypair()
8+
);
9+
})();
File renamed without changes.

0 commit comments

Comments
 (0)