Giter VIP home page Giter VIP logo

a-frame-in-100-lines's People

Contributors

limone-eth avatar samuellhuber avatar zizzamia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

a-frame-in-100-lines's Issues

action type "tx"?

{
action: 'tx',
label: 'Send Base Sepolia',
target: `${NEXT_PUBLIC_URL}/api/send-ether`,
},

Hi, I have not seen "tx" anywhere in the documentation, where do you get this from? Few weeks ago, I learned about the mint action from your example too, when it was still not documented either.

thank you

action: link is wrong?

According to the docs, it seems that only post and post_redirect is supported, but it seems that type link also works. Can you support this with some resources?

{
action: 'link',
label: 'Link to Google',
target: 'https://www.google.com',
},

It also gives TS error
image

Bug: When running it in conjunction with framegear an error occurs when handling the submit from "Story time" action

Steps to reproduce

  1. clone this repo
  2. npm install
  3. npm run dev to run a-frame-in-100-lines app
  4. clone onchainkit repo
  5. cd /framegear
  6. npm install
  7. npm run dev
  8. get url provided in 3 and paste it into the input field on framegear website and then press Fetch button
  9. the frame will be presented on framegear website
  10. enter any text in the input field of the frame being rendered and then press "Story time"
  11. you will see an error on the backend of a-frame-in-100-lines app

The error message

FetchError: non-200 status returned from neynar : 400
    at Object.postDataToNeynar (webpack-internal:///(rsc)/./node_modules/@coinbase/onchainkit/lib/utils/neynar/postDataToNeynar.js:18:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.neynarFrameValidation (webpack-internal:///(rsc)/./node_modules/@coinbase/onchainkit/lib/utils/neynar/frame/neynarFrameValidation.js:7:26)
    at async getFrameMessage (webpack-internal:///(rsc)/./node_modules/@coinbase/onchainkit/lib/frame/getFrameMessage.js:20:22)
    at async getResponse (webpack-internal:///(rsc)/./app/api/frame/route.ts:14:34)
    at async /home/claudio/src/cartesi/a-frame-in-100-lines/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:62499

Extra comments

This repo is using onchainkit library 0.14.1 and the framegear app on onchainkit's repo is using onchainkit library version 0.15.0.
I updated this repo to version 0.15.0, but the error is the same.

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.