Coder Social home page Coder Social logo

mutinywallet / mutiny-node Goto Github PK

View Code? Open in Web Editor NEW
187.0 7.0 33.0 4.71 MB

SDK behind Mutiny Wallet

Home Page: https://mutinywallet.com

License: MIT License

Rust 99.71% Just 0.16% Nix 0.13% Shell 0.01%
bdk bitcoin ldk lightning rust wasm webassembly nostr

mutiny-node's People

Contributors

alpeb-btc avatar benalleng avatar benthecarman avatar dangould avatar elnosh avatar futurepaul avatar johncantrell97 avatar tonygiorgio 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  avatar  avatar

mutiny-node's Issues

Lnurl auth?

Would be cool to sign in to stacker news!

transaction url goes to mempool testnet when regtest

when a transaction comes in and the page jumps to the tx view, the link goes to testnet mempool when there's not really a regtest url to visit. maybe disable link when on regtest, and make sure mainnet mempool is the default when that's the network selected.

frontend scaffold: "action" screens

  • send confirm page
  • send pending page
  • activity log / toasts on home page
  • parse invoice
  • deposit action screen: show QR code
  • error screen
  • error toasts

Frontend: Simple wallet

  • send screen
  • send amount specifier
  • send confirm
  • send success
  • receive screen
  • receive success
  • home screen

Replace saved peer address if it's different

When connect peer happens and channel is initiated, we save the peer address. We continue to connect to this peer automatically. If the peer address changes, this will keep failing to connect. We can connect to the new peer address, but this does not update the entry we have so it will continue to fail.

We should replace the address if we do a successful connect_peer if we already have a different peer address stored in the DB.

Add a tap to reveal button for the seed phrase

Great idea on this wallet. It's awesome! I've detected a UX problem on the settings screen. When I tapped the arrow at the bottom and clicked the settings icon, I had no idea that it was about to display my seed phrase in plain open sight. I would suggest adding an extra step and warning the user that sensitive info is about to be displayed. A simple "tap to reveal" button could fix the issue.

Further reading

Example of warning the user first

image

Payments/Channels aren't working

Currently when trying to make a payment I will get the error Cannot route when there are no outbound routes away from us. Still debugging if this is from a channel error or if we're doing something wrong with the payment.

more context:

image

Remove hardcoded fees

Currently we hardcode fees, we previously talked about having a thread that fetches fees every few minutes and saves them for the main thread to read from.

Website test builds fail due to maximumFileSizeToCacheInBytes

I've googled this error and found some things for webpack and other frameworks but nothing I found references a file we actually use so I don't know where to config this for whatever it is we use in place of webpack.


Run npm install
npm WARN deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.

added 1448 packages, and audited 1450 packages in 16s

226 packages are looking for funding
  run `npm fund` for details

7 high severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

> [email protected] build
> react-scripts build

Creating an optimized production build...

Treating warnings as errors because process.env.CI = true.
Most CI servers set it automatically.

Failed to compile.

/static/media/node_manager_bg.fb2229fd9cd5d2e00d3c.wasm is 5.66 MB, and won't be precached. Configure maximumFileSizeToCacheInBytes to change this limit.

Front end API

  • create invoice
  • pay invoice
  • decode invoice
  • open channel
  • close channel
  • connect peer
  • list peers
  • get new address
  • pay to address
  • check address
  • get balance
  • list txs
  • list utxos
  • list lightning
  • list channels
  • create wallet
  • set password
  • get seed
  • invoice status
  • bitcoin price
  • tx details

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.