Git Product home page Git Product logo

Comments (16)

oed avatar oed commented on May 23, 2024 2

So apparently there's a "hidden" json-rpc endpoint in geth: https://eips.ethereum.org/EIPS/eip-1186

This means that we can go from eip155:1/contractAddress/blockNumber/callSignature to a merkle proof. We can encode this merkle proof as IPLD using dag-eth.

I think this is awesome and could have great implications for CACAOs based on on-chain state.
cc @ukstv @wyc

from caips.

ligi avatar ligi commented on May 23, 2024 1

I dropped him a mail - was too late for the meeting yesterday - but maybe we can have him at the next one - would also love to see his CAIPs discussed at the next meeting
Anyway will give you permissions to add labels

from caips.

oed avatar oed commented on May 23, 2024 1

This is really interesting!
There's also some intersection between this and representing the ethereum blockchain in IPLD. With that you can essentially generate a merkleproof of any state at any point in time and sync it across the network using IPFS.

from caips.

oed avatar oed commented on May 23, 2024 1

I think the vulcanize team / https://www.laconic.com/ are about to release a light client doing what you mention using ETH-IPLD.

from caips.

TimDaub avatar TimDaub commented on May 23, 2024 1

4 weeks from tomorrow at the same time! Please smash the calendar-subscribe button here: ChainAgnostic/CASA#14

ok, then I'll be at the one on March 10. If anyone else wants to drive this proposal in today's meeting, feel free to do so. All information should be in the issue here.

from caips.

bumblefudge avatar bumblefudge commented on May 23, 2024

I would love this issue to be tagged for review at the next meeting! Seems a useful primitive worthy of a CAIP

from caips.

TimDaub avatar TimDaub commented on May 23, 2024

yeah. It'd also be awesome to cache the answer to this identity on the node level as we have definite rules for it's immutability (the fork choice rules of e.g. Ethereum). I had this idea when I was thinking of a p2p oracle network that can surface blockchain data for me [1, 2].

But actually, it is useful for other tasks too as e.g. caching.

It's been a while but consider that e.g. this identifier would also allow a browser-based service worker to cache previous requests to an Ethereum fullnode in browser cache: A proof of concept is here: https://github.com/rugpullindex/web3-service-worker-cache

And if that's the case, then it'd also allow a swarm of nodes answering a potential request in replacement of asking the full node. It's an old blog post, but essentially using webtorrent where the magnet link is the calldata signature outlined in this issue here would allow to probably reduce 99% of all infura directed web3 JSON-RPC calls: https://rugpullindex.com/blog/2021-03-01/scaling-ethereum-one-tx-at-a-time#ethtorrentADecentralizedWeb3Provider

references:

from caips.

bumblefudge avatar bumblefudge commented on May 23, 2024

@TimDaub are we still on to discuss this at tomorrow's meeting?
Info here ChainAgnostic/CASA#14

from caips.

TimDaub avatar TimDaub commented on May 23, 2024

@TimDaub are we still on to discuss this at tomorrow's meeting? Info here ChainAgnostic/CASA#14

Thanks for making me aware. I want to present and discuss the idea in a meeting but I just saw that tomorrow, I won't be able to make time. When's the next possibility?

from caips.

bumblefudge avatar bumblefudge commented on May 23, 2024

4 weeks from tomorrow at the same time! Please smash the calendar-subscribe button here: ChainAgnostic/CASA#14

from caips.

bumblefudge avatar bumblefudge commented on May 23, 2024

Reminder-- meeting next week, would love to discuss!

from caips.

bumblefudge avatar bumblefudge commented on May 23, 2024

Discussed on today's call:

  • start with a PR defining just blockheight URN (CAIP 2 + 10 + ___)
  • future spec PR about callSignatures should
    • include a reference to an implementation if there is one
    • consider VMs where blockheight is optional and/or defaults to /LATEST
    • consider post-merge blockHeight "previewing" (ahead of finality)
    • tag TrueBlocks people for review :D

from caips.

TimDaub avatar TimDaub commented on May 23, 2024

btw: I'm planning to slowly implement this in https://neume.network and the next step is defining the block number tag (if it hasn't been defined already).

Recently saw https://github.com/gitcoinco/metagraph too. It could benefit from it as well.

from caips.

TimDaub avatar TimDaub commented on May 23, 2024

Linking this thread here as there seems to be overlap: https://ethereum-magicians.org/t/eip-4804-web3-url-to-evm-call-message-translation/8300?u=timdaub

from caips.

TimDaub avatar TimDaub commented on May 23, 2024

One task that originates from this issue is starting to integrate the block number tag into the CAIP-19 identifier: #119

from caips.

TimDaub avatar TimDaub commented on May 23, 2024

I implemented/specified the block number tag in

from caips.

Related Issues (20)

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.