Fully automated token deployment on ETH, using ChatGPT and DALL-E.
Last updated Jul 1, 2026
181
Stars
76
Forks
0
Issues
0
Stars/day
Attention Score
62
Language breakdown
TypeScript 100.0%
▸ Files
click to expand
README
Prerequisites
-Node.js-Hardhat development environment
-OpenAI API key
Setup
Clone the repository.run
install
Create empty "contracts" folder, and .env file containing OPENAIAPIKEY, GOERLIPRIVATEKEY, 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
hardhat run scripts/deploygpt4.ts
Deploy to blockchain
hardhat run scripts/deploygpt4.ts --network GOERLI🔗 More in this category