Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/croissanteth/chatgpt-token
Fully automated token deployment on ETH, using ChatGPT and DALL-E.
https://github.com/croissanteth/chatgpt-token
ai automation blockchain crypto dalle erc20 ethereum gpt-4 openai
Last synced: 3 months ago
JSON representation
Fully automated token deployment on ETH, using ChatGPT and DALL-E.
- Host: GitHub
- URL: https://github.com/croissanteth/chatgpt-token
- Owner: croissanteth
- Created: 2023-09-19T03:31:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-17T01:23:30.000Z (12 months ago)
- Last Synced: 2024-06-15T17:37:16.368Z (5 months ago)
- Topics: ai, automation, blockchain, crypto, dalle, erc20, ethereum, gpt-4, openai
- Language: TypeScript
- Homepage: https://aiis.dev
- Size: 148 KB
- Stars: 173
- Watchers: 13
- Forks: 77
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ChatGPT-repositories - chatgpt-token - Fully automated token deployment on ETH, using ChatGPT and DALL-E. (Others)
README
### Prerequisites
-Node.js-Hardhat development environment
-OpenAI API key
### Setup
Clone the repository.run ```npm install```
Create empty "contracts" folder, and .env file containing OPENAI_API_KEY, GOERLI_PRIVATE_KEY, and GOERLI_URL (RPC) values
### Modifying GPT Interactions
To modify the interactions with GPT, refer to the deploygpt4.ts script inside the scripts directory:API Key: Ensure your OpenAI API key is set in the .env file. The key is retrieved in the script at Line 11.
API Calls: The OpenAI API is called at Line 17 and Line 96. Modify the request body or headers as required to customize the GPT response.
DALL·E Interactions: If you wish to modify interactions with OpenAI's DALL·E model, refer to Line 277.### Running locally
```npx hardhat run scripts/deploygpt4.ts```
### Deploy to blockchain
```npx hardhat run scripts/deploygpt4.ts --network GOERLI```