Skip to content

Commit

Permalink
early nanopay
Browse files Browse the repository at this point in the history
  • Loading branch information
nano2dev committed Mar 2, 2024
1 parent c03dc89 commit f386328
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,13 @@ class ActionBar extends PureComponent {

if (raw_address) return window.location.href = `nano:${raw_address.value}`;

return window.NanoPay.open({
action: "checkout",
address: '@esteban',
amount: 10,
node: 'https://xno.social/api/v1/streaming/node'
})

if (nano_to_name) {
api().get('/api/v1/streaming/nano_known').then(known => {
var name = nano_to_name.value.match(/href="([^"]*)"/)[1]
Expand Down

0 comments on commit f386328

Please sign in to comment.