Skip to content

Commit 60de18f

Browse files
committed
modified get started guide
1 parent eef52df commit 60de18f

File tree

1 file changed

+2
-6
lines changed
  • apps/portal/src/app/nebula/get-started

1 file changed

+2
-6
lines changed

apps/portal/src/app/nebula/get-started/page.mdx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,12 @@ npm install thirdweb
6060
Setup environmental variables.
6161

6262
<Callout variant="warning" title="Storing Secret Keys">
63-
Ensure you keep your secret key and private key safe and do not expose it in your codebase. We recommend using a
63+
Ensure you keep your secret key safe and do not expose it in your codebase. We recommend using a
6464
secret key manager such as [AWS Secret Manager](https://aws.amazon.com/secrets-manager/) or [Google Secret Manager](https://cloud.google.com/secret-manager).
6565
</Callout>
6666

6767
```jsx
6868
THIRDWEB_SECRET_KEY=your_thirdweb_secret_key
69-
EOA_PRIVATE_KEY=your_wallet_private_key
7069
```
7170
</Step>
7271

@@ -93,10 +92,7 @@ async function handleNebulaResponse(response) {
9392
secretKey: process.env.THIRDWEB_SECRET_KEY,
9493
});
9594

96-
const account = privateKeyToAccount({
97-
client,
98-
privateKey: process.env.EOA_PRIVATE_KEY,
99-
});
95+
const account = await generateAccount({ client });
10096

10197
if (response.actions && response.actions.length > 0) {
10298
const action = response.actions[0];

0 commit comments

Comments
 (0)