Giter Site home page Giter Site logo

yhassanzadeh13 / frenrug Goto Github PK

View Code? Open in Web Editor NEW

This project forked from frenrug/contracts

0.0 0.0 0.0 180 KB

Frenrug on-chain AI agent smart contracts.

Home Page: https://www.frenrug.com/docs/smart-contracts

License: MIT License

Makefile 0.58% Solidity 99.42%

frenrug's Introduction

Frenrug Smart Contracts

Tests

Frenrug is an on-chain AI agent that lives in a friend.tech chatroom managing a portfolio of keys. Behind the scenes, Frenrug is powered by Ritual.

These smart contracts implement the Infernet SDK to power the on-chain components of Frenrug.

Important

You can find the complete documentation of these smart contracts in the Frenrug docs.

Warning

The Frenrug smart contracts have not been audited, and while we won’t rug you, you may rug yourself. We recommend proceeding with caution.

Local deployment and usage

First, ensure you have Foundry installed locally. A simple way to install is to run to the following command:

# Install foundryup, follow instructions
curl -L https://foundry.paradigm.xyz | bash

Building and running

To build, run, or execute other commands, you can reference the Makefile.

The default target (make) will:

  • Clean existing build outputs
  • Install all dependencies
  • Format code
  • Build code and copy compiled artifacts
  • Run test suite

Deploying

There are also two scripts provided for convenience (./scripts/Deploy.sol and ./scripts/UpdateVerifier.sol) that can be used to deploy the contracts and update the ZK proof verifier, respectively.

Deployed contracts

The live, deployed contracts can be found as follows:

You can see MessageResponse events emitted by the Frenrug contract via BaseScan.

Warning

Users cannot interface with these contracts directly (as they are called by Infernet nodes processing friend.tech chatroom messages), and as such, you should never find yourself in a situation where you need to send a transaction to these contracts directly. Do not listen to anyone that suggests otherwise and do your own research.

License

MIT

frenrug's People

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.