Giter Club home page Giter Club logo

auctioneer's Introduction

Barter

Welcome to Barter, Kinode’s AI negotiator, an LLM assistant trained to help you sell your NFTs for the right price with none of the hassle.

Not only does Barter handle negotiation, sale, and transfer of your NFTs on telegram, but it also eliminates the listing and settlement fees of other NFT marketplaces like OpenSea.

Barter Interface

Requirements

  • Kinode installed: repo link
  • Kit installed: repo link
  • Openai API key with sufficient funds (we're using gpt-4-turbo for now, and have made efforts to keep the context as short as possible to save on costs.)
  • Telegram bot API key (contact botfather for keys)
  • Private wallet key

Installing from source

Note: Only do this if you want to modify or publish the app yourself, otherwise install this from the kinode app store.

Run kit bs, then visit http://localhost:8080/main:barter:appattacc.os to bring up the configuration when booting for the first time. In the initial configuration phase, you’ll have to add in an OpenAI API key, a Telegram Bot API key, and the wallet address which contains your NFTs.

Barter Interface

Once the config is successfully submitted, you can add NFTs as you please by following the instructions on the NFT manager.

Barter Interface

You can now message your TG bot at the link provided by botfather in the setup, and try to get it to make you the cheapest offer possible.

Barter Interface

When a link has been sent by the bot, you can easily buy it f.ex. MetaMask.

Barter Interface

Technical Entrypoints

For developers interested in diving deeper, explore the core codebase through these files:

  • auctioneer/src/lib.rs Main Entrypoint, where the communication with the frontend (through http), the chains, and the internal kinode messages are handled. This is where internal state is being managed, loaded and saved.

  • auctioneer/src/context.rs Main context manager for the LLM. This app can handle multiple simultaneous chats, where the core NFTs being traded are synchronized. This is also where the system prompt as well as passphrases for LLM-triggered actions are being handled.

  • Escrow Contract Escrow contract that handles approvals and seller signature verifications. Small contract, 60 lines or so!

auctioneer's People

Contributors

jaxs-ribs avatar bitful-pannul avatar 0x70b1a5 avatar

Watchers

 avatar  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.