An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

![tw-banner](https://github.com/thirdweb-example/node-starter/assets/57885104/24bf2701-6105-40cc-a823-e4602109467a)

# 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).