GithubHelp home page GithubHelp logo

davidkupratis / chatgpt-token Goto Github PK

View Code? Open in Web Editor NEW

This project forked from croissanteth/chatgpt-token

0.0 0.0 0.0 118 KB

Fully automated token deployment on ETH, with the help of autonomous code and ChatGPT

TypeScript 100.00%

chatgpt-token's Introduction

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

chatgpt-token's People

Contributors

croissanteth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.