Giter Site home page Giter Site logo

avegancafe / pocketuniverse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from refract-team/pocketuniverse

0.0 0.0 0.0 1.62 MB

PocketUniverse browser extension for simulating transactions.

Home Page: https://pocketuniverse.app

License: Apache License 2.0

JavaScript 15.47% TypeScript 83.56% CSS 0.72% HTML 0.25%

pocketuniverse's Introduction

PocketUniverse

Known Vulnerabilities

Layout

Injected

The injected script proxies requests from the website to PocketUniverse before forwarding it to window.ethereum.

We don't modify the request but rather just wait until the user decides it wants to continue.

We communicate our requests with the content-script through the DOM.

ContentScript

This is responsible for communicating with the webpage. It takes the webpage request and stores it in local storage for the service worker to pick it up.

Background

This service worker handles the requests and popup triggering logic.

It listens to changes in storage and forwards requests if there are new things to simulate.

Popup

This is what the user sees when there is a simulation in progress. This simply uses the storage state to be displayed.

It will write to storage the action the user decides to take.

Contributions

If you'd like to contribute, feel free to pop in the discord or DM us on twitter. I'd be happy to chat :D

Contact Us

pocketuniverse's People

Contributors

jqphu avatar

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.