Coder Social home page Coder Social logo

arkin0x / cyberspace Goto Github PK

View Code? Open in Web Editor NEW
50.0 50.0 3.0 316 KB

A decentralized metaverse built on nostr where all actions require proof-of-work. Being permissionless and thermodynamic enables cyberspace to function as an extension of reality itself.

Home Page: https://t.me/ONOSENDAITECH

License: Other

Jupyter Notebook 100.00%
bitcoin cyberspace lightning lightning-network metaverse pow proof-of-work softwar

cyberspace's People

Contributors

arkin0x 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cyberspace's Issues

Addressing an avatar's home coordinate by simhashing their NIP-05 requires a proof that the NIP-05 was valid when the action chain began

Concept:

Normally an avatar spawns at the coordinate derived from their raw pubkey.

I originally had the idea that one could alternatively spawn at the simhash256 of their NIP-05 identifier, ie embedCoordinate( simhash256( "[email protected]" ) )

Problems:

However, when validating an action chain, the first action would be invalid unless it could be proven that the NIP-05 was valid at that time of the action. NIP-05s can become invalid very easily if a hosting bill is not paid or a profile is updated. Therefore, checking if a NIP-05 is valid now is not a sufficient or useful way to validate if a NIP-05 was valid then when the first action was published.

One big fundamental problem with this idea is that it makes the validity of one's action chain subject to state outside of cyberspace -- to very unstable whims of networking, DNS, and server uptime. The state of cyberspace should not be independent from these things. if one's website hosting goes down for a little bit then it technically kills them and forces a respawn. This doesn't make sense.

Another big problem with this is that it could be abused really badly by switching your NIP-05. I don' think the validation rules can be strong enough to prevent abusing this as a janky teleport system.

Impact:

This problem is roadblocking the possibility of letting an avatar spawn at their simhashed NIP-05.

Potential solutions:

  • NIP-03 OpenTimestamp attestations may be a possible (albeit clunky) way to prove the NIP-05 is valid.
  • An impartial NOMAD validator could attest to the NIP-05 validity, but how to capture this in time?

Most likely solution:

  • Every action has an "e" tag referencing the root event of the action chain; the "C" tag of the root event should be the sha256 of the NIP-05 identity. Observers can verify it against the pubkey's kind 0 NIP-05. Should it ever become invalid at any point (404 or other appropriate error indicating that the NIP-05 no longer exists or has changed or was broken), the user's whole action chain is invalidated and they must respawn.

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.