Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit 027f01d

Browse files
authored
Update README.md
1 parent c5f6b22 commit 027f01d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,9 @@ Meanwhile, if you want to use write functions as well and connect a signer, you
7272
```python
7373
from thirdweb import ThirdwebSDK
7474
from thirdweb.types.nft import NFTMetadataInput
75-
import os
7675

77-
78-
# This PRIVATE KEY is coming from your environment variables. Make sure to never put it in a tracked file or share it with anyone.
79-
PRIVATE_KEY = os.environ.get("PRIVATE_KEY")
76+
# Learn more about securely accessing your private key: https://portal.thirdweb.com/web3-sdk/set-up-the-sdk/securing-your-private-key
77+
PRIVATE_KEY = "<your-private-key-here>",
8078

8179
# Now you can create a new instance of the SDK with your private key
8280
sdk = ThirdwebSDK.from_private_key(PRIVATE_KEY, "mumbai")

0 commit comments

Comments
 (0)