Questions tagged [javascript]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6
votes
5answers
546 views

How can you listen to all incoming transactions of a wallet address?

For a web app, I'm wondering is there an API/SDK that enables you to execute some code every time an address receives ADA, NFT, or native token? The wallet address receiving does not change. If not, ...
4
votes
4answers
244 views

How to talk to Cardano blockchain using Javascript

How would I go about making a Javascript script which can get information from the cardano blockchain. Like what library or framework can I use.
4
votes
1answer
167 views

Blockfrost, GrapgQL or any API for cardano help, working with javascript

I am building an MERN stack app cardano dex tool, I want to use Blockfrost. I have installed the SDK in Node.js backend, but there are only very few examples on how to get any kind of data from it. ...
3
votes
2answers
109 views

Programmatically creating the policyid / scripthash in Javascript (Browser)

I'm looking for a Javascript implementation of the CLI's cardano-cli transaction policyid function, can anyone point me in the right direction here? Trying to replicate it with blakejs (https://github....
3
votes
2answers
162 views

Having a problem with Minting with Cardanocli-js

Im creating a transaction using this code: const tx = { txIn: wallet.balance().utxo, txOut: [ { address: wallet.paymentAddr, value: { ...wallet.balance().value, [MARCELOCOIN]: 1 }, } ], ...
1
vote
1answer
63 views

cardano-serialization-lib-browser loaded as empty module in NextJS

I'm trying to use cardano-serialization-lib in a NextJS project I'm working on, but I'm receiving an exception before initializing the application TypeError: Cannot read properties of undefined (...
1
vote
2answers
58 views

Burn token using blockfrost java sdk?

Does anyone have an example how to burn a NFT using the blockfrost.io java SDK or Javascript SDK? Thanks a lot in advance.
1
vote
2answers
99 views

How can I use cardano-serialization-lib in the browser to decode CBOR?

I'm building a simple website with pure HTML and JS (no React, Angular, etc.). I use Nami to connect to a Cardano wallet and use the Nami's cardano.getBalance() method to get the balance of the wallet....
0
votes
0answers
8 views

Nodejs Native token transaction

I am looking to build a native token transaction in nodeJS using either Cardanocli-Js or Cardano-wallet js but the documentation is massively lacking can anyone give me an example i can look over to ...
0
votes
1answer
49 views

Bad inputs, value not conserved

I have a build raw command witch worked very well. But the issue occured when i received some ada for testing purposes when i run cardano-cli query utxo --address $address --testnet-magic 1097911063 i ...