Skip to content

ailuropodaWu/COCOA

Repository files navigation

Crypto Oracle CrOss-chain Application

ETH Taipei 2024

Community Finalist Prizes

Tip

We are currently fix some FRONT-END & OAO problem

Introduction

We aim to propose a framework that facilitates an easy process of transferring between different chains using natural language.

Technical

  • Extract information from sentence
    make a smart contract on chain to make transaction with the oracle OAO from Ora
  • Parse
    parse the result from LLaMa2 to a specific form as parameters for next stage
  • Auto Cross-chain transfer
    based on the CCTP API provided py Circle, we take parameters from last stage to autonomously do transation

Usage

Create your own .env

DEFAULT_TESTNET_RPC
FROM_PRIVATE_KEY
TO_PRIVATE_KEY

Initial env setting

npm install

Interact with OAO and see the promt and the parsed result

npm run testoao "this is an example instruction"

Run the whole framework without UI

npm run start "this is an example instruction"

Front-end is currently unavailable, we are fixing it

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published