Development
...
Wallets
Open Phoenix Wallet for payment
1 min
using the technique of deep linking makes it possible to call either the signum phoenix desktop or mobile wallet, navigate inside it and fills the send form automatically as deep linking requires to register the custom uri protocol on the os this technique does not work with standalone installations so, one need to use the setup exe on windows, or the deb package on linux const {deeplinkablewallet} = require("@signumjs/wallets"); const {address} = require("@signumjs/core"); async function paywithphoenix({recipient, amount, reference}) { try { const wallet = new deeplinkablewallet() const recipientid = address create(recipient) getnumericid() // in nodejs the wallet will only generate the link, // but running this code in the browser uses the deeplink // which opens the phoenix wallet, if installed const result = await wallet pay({ amount, message reference, to recipientid }) console info(`your deeplink ${result}`) } catch (e) { console error(e); } } (async () => { await paywithphoenix({ recipient 's 9k9l 4cb5 88y5 f5g4z', amount 100 00, reference 'donation' }); })();