Create Simple Transaction (SOLVED)

I’m in the step of creating new transaction. From this guide

https://docs.cardano.org/projects/cardano-node/en/latest/stake-pool-operations/simple_transaction.html

And I just create protocol.json

In the step that I read
after I type

cardano-cli shelley query utxo \
  --address $(cat payment.addr) \
  --mainnet

Then I will get this

                    TxHash                                 TxIx        Lovelace

4e3a6e7fdcb0d0efa17bf79c13aed2b4cb9baf37fb1aa2e39553d5bd720c5c99 4 20000000

But mine still nothing
How to get this lovelace in mainnet? Should I transfer my ADA to here? and to which address wallet or stake address?
Thanks

I found the solution. Since the testnet is not there anymore, so we must transfer from our daedalus wallet to this payment address, and they will show up.

2 Likes

I had same questions.

OK,
I found that you must transfer from your wallet with real ADA. I’m using my daedalus wallet to transfer to the payment address. It work. But make sure your daedalus wallet is in Shelley, NOT BYRON.

You need to move ada from daedalus wallet to that payment.addr.

  1. Note the payment.addr
    $ cat payment.addr
    xxxxxxxxxxxxxxxxxxxxxxxx

  2. On Daedalus wallet, click ‘Send’ and enter the payment.addr under ‘Receiver’ input and send.

  3. Make sure your passive node is running,
    $ cardano-node run
    –topology /path/to/mainnet-topology.json
    –database-path /path/to/db
    –socket-path /path/to/db/node.socket
    –host-addr x.x.x.x
    –port 3001
    –config /path/to/mainnet-config.json

It will take about 24 hours for your passive node to be in sync to the current block height. And if you had created the payment.addr recently(which is more than likely), you need to wait till it completely syncs up.