Skip to main content

Neuralshare's node

Project description

node

the node is a simple program that listens to the transactions on account GAU3XW7Z5OYR7BFANSB7HGVGJRZJ5NSJ3ERWJ5HRVZRCHFSRTQ32YPEM and sends the corresponding GPT-3 response to the sender account. The first time you start node, a configuration file called "config.json" will automatically be created in the same folder. Before restarting the node again, now that your configuration file exists, you will need to put your openai api key inside the file, inside "openai_apikey". Then simply replace "openai_apikey":null with "openai_apikey":"sk-xxxx" . Then you can start the node which will send the response as soon as it sees a new transaction. Before sending it, it will make sure that it has not already been sent by another node. In the configuration file you will also see a Stellar secret key which is automatically created together with the file. The account connected to it is already funded by FriendBot on FUTURENET and it is the account that will send the responses. If you wish, you can modify that secret key bearing in mind that for correct functioning the account should have XLMs available to be able to carry out transactions on Futurenet. however, it is advisable not to modify it and leave what you find

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neuralshare-node-0.0.0.1.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

neuralshare_node-0.0.0.1-py3-none-any.whl (12.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page