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
-[Node.js](https://nodejs.org/en/download/package-manager) or launch in [code-spaces](https://codespaces.new/Blockdaemon/demo-buildervault-stakingAPI?quickstart=1)
32
+
- Register for a demo Builder Vault tenant: https://www.blockdaemon.com/get-started/builder-vault-sandbox-registration
- Execute the go sample `go run main.go keygen` to generate an ECDSA master key ID across the 3 MPC players of the BuilderVault. This Master Key ID will be used to generate wallet addresses and sign operations.
35
+
- Place Builder Vault authentication certificate key-pair `client.crt` & `client.key` in this nodejs folder
36
+
- 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
37
+
- Register a 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
38
+
39
+
### Step 1. Set environment variables in .env
40
+
```shell
41
+
cd ethereum-staking/buildervault/nodejs-web3provider/
42
+
cp .env.example .env
43
+
```
44
+
- update .env with API keys and BuilderVault Vault details
45
+
46
+
### Step 2. Install package dependancies
47
+
```shell
48
+
npm config set @sepior:registry=https://gitlab.com/api/v4/projects/56306653/packages/npm/ # Builder Vault nodejsSDK public repository
49
+
npm config set @blockdaemon:registry=https://npm.pkg.github.com/
0 commit comments