8 votes

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

There are different ways. You can do what jnprogrammer said, or you can run the graphql setup https://github.com/input-output-hk/cardano-graphql providing an entire stack of tools including the API (...
user avatar
  • 436
4 votes

How to talk to Cardano blockchain using Javascript

While I have not used this API myself, the Blockfrost API has a JavaScript SDK that can do that. There is a free tier.
user avatar
4 votes

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

I believe this guide would help you out: https://developers.cardano.org/docs/integrate-cardano/listening-for-payments-wallet/
user avatar
  • 141
3 votes

How to talk to Cardano blockchain using Javascript

Ogmios runs alongside a cardano node and provides a websocket api to sync or query the chain. Documentation is available here. If you don't want to host the node yourself, or want to get up and ...
user avatar
  • 31
3 votes

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

What info do you wanna get specifically? If it is just the UTXO's at an address and you are running a node then the following script suffices. #!/bin/bash cardano-cli query utxo --mainnet --address $(...
user avatar
  • 803
3 votes

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

All the above solutions can do the job, but you'll end up polling the blockchain on each one. Another solution though is using tangocrypto services. Their webhooks feature will allow you to "...
user avatar
3 votes
Accepted

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

Using the Blockfrost SDK is pretty straight forward, as in this example: import { BlockFrostAPI } from '../src/index'; async function run() { const API = new BlockFrostAPI({ projectId: 'YOUR ...
user avatar
3 votes

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

How about running a Cardano node and build a script that queries the target address and produces something consumable by your API?
user avatar
3 votes

Programmatically creating the policyid / scripthash in Javascript (Browser)

Finally got my head around this, thanks to this version in Python: Re-Implementing Policy Hashing in Python by @tycl. Basically we need to Parse the policy (JSON) Follow the CDDL specifications to ...
user avatar
  • 939
2 votes
Accepted

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

I do not know why, but this worked for me this._wasm = await import( "../node_modules/@emurgo/cardano-serialization-lib-browser/cardano_serialization_lib_bg" :s ES6 notation did not ...
user avatar
2 votes
Accepted

How to Get Started with Cardano Native Script

You can find fairly extensive documentation on Cardano Native Script (aka Simple Script) here. In short, you can define a JSON object with a simple set of rules known as scripts to validate operations ...
user avatar
  • 326
2 votes

Cbor address to bech32 type address in JS or python

You can also use typhonjs used by typhonwallet. It's a Pure JS library not dependent on WASM. Install npm i @stricahq/typhonjs Usage const typhonjs = require("@stricahq/typhonjs"); const ...
user avatar
1 vote

Cbor address to bech32 type address in JS or python

First install the npm module: npm i @emurgo/cardano-serialization-lib-browser Then you need a wasm loader module class wasm { async load() { if (this._wasm) return; /** * @private ...
user avatar
1 vote
Accepted

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

With the help of Samuel's answer, I have been able to get it running. Some important things I didn't know: import from CDN has to be done with the full url. The library has to be imported inside of ...
user avatar
  • 3,026
1 vote
Accepted

Programmatically creating the policyid / scripthash in Javascript (Browser)

You can do this using the 10.0 beta version of cardano-serialization-lib which should make it into stable pretty soon (I'm in the process of testing this, you can follow the status on this Github ...
user avatar
  • 324
1 vote

Bad inputs, value not conserved

Make sure that your tx-hash AND your tx-ix are being updated every time you use the function, especially if change is being sent back to yourself, which would raise the value of your tx-ix
user avatar
  • 2,961
1 vote

Burn token using blockfrost java sdk?

There is a great post on the Cardano form that goes in-depth on different types of burning methods [1]. Note that these tokens send to such addresses still exists but can't be transferred anymore by ...
user avatar
  • 803
1 vote
Accepted

Having a problem with Minting with Cardanocli-js

All solved with the actualization of the cardanocli-js to the 4.0.1 version. The examples are working great!
user avatar
1 vote

Having a problem with Minting with Cardanocli-js

The issue which is simple. The command: cardano-cli query utxo --address {address} --mainnet Has changed it's output format recently. It now returns an extra field at the end of each TX. A well placed ...
user avatar
1 vote

How to talk to Cardano blockchain using Javascript

Nami wallet injects a bunch of functions yo your browser, similar to meta mask: https://namiwallet.io/
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible