Skip to content

Commit

Permalink
add google wallet instructions for private key
Browse files Browse the repository at this point in the history
  • Loading branch information
oceans404 committed Jul 11, 2024
1 parent e6cd3f4 commit 36bc5b1
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions docs/quickstart-testnet.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import JsHeaders from './\_js-headers-proxy.mdx';
import IframeVideo from '@site/src/components/IframeVideo/index';

# Deploy your blind app to the Nillion Testnet

Expand All @@ -9,18 +10,31 @@ Your blind app is currently running locally against the nillion-devnet. Let's co
Update your .env values to point at the Nillion Testnet

```
REACT_APP_API_BASE_PATH=/nilchain-proxy
# testnet .env file
REACT_APP_NILLION_CLUSTER_ID=b13880d3-dde8-4a75-a171-8a1a9d985e6c
REACT_APP_NILLION_BOOTNODE_WEBSOCKET=/dns/node-1.testnet-photon.nillion-network.nilogy.xyz/tcp/14211/wss/p2p/12D3KooWCfFYAb77NCjEk711e9BVe2E6mrasPZTtAjJAPtVAdbye
REACT_APP_NILLION_NILCHAIN_JSON_RPC=http://65.109.222.111:26657
REACT_APP_NILLION_NILCHAIN_REST_API=http://65.109.222.111:26657
REACT_APP_NILLION_NILCHAIN_CHAIN_ID=nillion-chain-testnet-1
REACT_APP_API_BASE_PATH=/nilchain-proxy
REACT_APP_NILLION_NILCHAIN_PRIVATE_KEY=YOUR-NIL-FUNDED-PRIVATE-KEY
```

The `REACT_APP_NILLION_NILCHAIN_PRIVATE_KEY` private key value above should correspond to an address you've funded with Testnet NIL - [check out the Nillion Faucet Guide](/guide-testnet-faucet) to learn how to get Testnet NIL.
The `REACT_APP_NILLION_NILCHAIN_PRIVATE_KEY` private key value above should correspond to an address you've funded with Testnet NIL.

### Create a Nillion Wallet and get the private Key

Follow the [Creating a Nillion Wallet guide](/guide-testnet-connect) to create your Nillion wallet. Note that when you create your wallet, you need to use the "Sign up with Google" option rather than "Use recovery phrase" option because Keplr only exposes the private key of wallets created when you "Sign up with Google."

Here's how to get the `REACT_APP_NILLION_NILCHAIN_PRIVATE_KEY` value from a Nillion wallet created with a Google account:

<IframeVideo videoSrc="https://www.loom.com/embed/0f9949a990ee497195a39e02b280f2c7?sid=f53b62d2-6820-4780-98b1-5b3049b00709"/>

### Fund the Nillion Wallet address that corresponds to your private key

Follow [the Nillion Faucet Guide](/guide-testnet-faucet) to learn how to get Testnet NIL to fund the Nillion wallet address that corresponds to your private key. This way your app can pay for operations.

Test the configuration locally against your blind app to make sure the full blind computation flow is working as expected.

Expand Down

0 comments on commit 36bc5b1

Please sign in to comment.