You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Place Builder Vault authentication certificate key-pair `client.crt` & `client.key` in this nodejs folder
32
+
- Register for free Blockdaemon [RPC API key](https://docs.blockdaemon.com/reference/get-started-rpc#step-1-sign-up-for-an-api-key) and set in .env as BLOCKDAEMON_API_KEY
33
+
- Register for free Blockdaemon [Staking API key](https://docs.blockdaemon.com/reference/get-started-staking-api#step-1-sign-up-for-an-api-key) and set in .env as BLOCKDAEMON_STAKE_API_KEY
34
+
35
+
### Step 1. Set environment variables in .env
36
+
```shell
37
+
cd ethereum-staking/buildervault/golang/
38
+
cp .env.example .env
39
+
```
40
+
- update .env with API keys
39
41
40
-
# Get Intents
41
-
http -b GET https://svc.blockdaemon.com/boss/v1/stake-intents?protocols=ethereum&networks=holesky \
42
-
X-API-KEY:$STAKE_API_KEY
42
+
### Step 2. Launch main.go to auto-create the Builder Vault wallet address on first run
43
+
```shell
44
+
go run main.go
43
45
```
46
+
- note, on first run this step will fail as the wallet address has no funds
47
+
- copy the new Ethereum wallet address and fund the account
44
48
45
-
sequenceDiagram
46
-
autonumber
47
-
participant StakeClient as Sample stake<br> client application
48
-
participant StakeAPI as Stake Intent API
49
-
participant Blockchain as Blockchain
50
-
participant TSM as Sender Wallet Vault<br>(private key)
49
+
### Step 3. Fund the new Ethereum wallet address with 33 ETH using faucets below
50
+
-https://holesky-faucet.pk910.de/#/
51
51
52
-
StakeClient ->> StakeAPI: get StakeIntent unsigned tx data <br>(amount, withdrawal & recipient address)
53
-
StakeClient ->> Blockchain: get blockchain inputs for new tx<br>(gas fee, chainID, sender wallet nonce)
0 commit comments