Giter Club home page Giter Club logo

mvg-bridge's People

Contributors

zed-wong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

eouo

mvg-bridge's Issues

Withdraw to Mixin user

Get recipient userID:

Pop up OAuth dialog, userMe

Or

getMixinContext, conversationID to userID

Code format

The current code format is kind of shitty and hard to maintain. But considering the functionality of a bridge wouldn't change much, it's still acceptable. I might try to adapt better formatting in the next project.

Load Mixin NFT procedure

Load Mixin NFT procedure:

  1. Load UTXO and token information after OAuth, sync with available NFTs

  2. Select returns the object of the NFT, { UTXO, token:{TOKEN} }, sync with storage

  3. When clicking on Deposit button, generate a sign request and QR. Then, loop UTXO with state === 'signed', if have same token id, submit mainnet tx.

  4. After submitted, show deposit success dialog.

Withdrawal dialogs

A dialog for every single step, make every step visible. Including errors. After the wallet payment confirmation.

Balance format

Balance: 8.36600000
Remove unnecessary decimals

Check balance after withdrawal tx (after the close of withdrawal dialog).

Network bar

Alert user if is not connected to the from network (e.g. Deposit. From Ethereum, connected to Polygon/MVM; WIthdrawal, From MVM, connected to Ethereum)

Deposit qr code

Generate a mixin payment code when the target network is mixin network. So the app can trace the state afterwards.

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.