https://github.com/thirdweb-example/node-starter
A starter template project for creating Node.js scripts with TypeScript and the thirdweb TypeScript SDK
https://github.com/thirdweb-example/node-starter
Last synced: 9 months ago
JSON representation
A starter template project for creating Node.js scripts with TypeScript and the thirdweb TypeScript SDK
- Host: GitHub
- URL: https://github.com/thirdweb-example/node-starter
- Owner: thirdweb-example
- Created: 2023-01-09T00:49:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-31T18:56:00.000Z (over 1 year ago)
- Last Synced: 2025-04-02T18:21:57.490Z (11 months ago)
- Language: TypeScript
- Size: 69.3 KB
- Stars: 5
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# node-starter
Starter kit to build with Node and thirdweb without additional initial configuration.
## Installation
Install the template using [thirdweb create](https://portal.thirdweb.com/cli/create)
```bash
npx thirdweb create app --node
```
## Run Locally
Install dependencies:
```bash
yarn
```
Run the script:
```bash
yarn start
```
## Environment Variables
To run this project, you will need to add the following environment variables to your .env file:
```bash
WALLET_PRIVATE_KEY=paste_your_private_key_here
THIRDWEB_SECRET_KEY=paste_your_secret_key_here
```
- Generate your `THIRDWEB_SECRET_KEY` via thirdweb's [dashboard](https://thirdweb.com/create-api-key).
- For `WALLET_PRIVATE_KEY` export your wallet private key from your wallet.
## Additional Resources
- [Documentation](https://portal.thirdweb.com)
- [Templates](https://thirdweb.com/templates)
- [Video Tutorials](https://youtube.com/thirdweb_)
- [Blog](https://blog.thirdweb.com)
## Contributing
Contributions and [feedback](https://feedback.thirdweb.com) are always welcome!
Please visit our [open source page](https://thirdweb.com/open-source) for more information.
## Need help?
For help, visit our [support site](https://thirdweb.com/support).