Description
I am trying to do something that should be basic.... request a payment of a specific amount from a user, then forward them to the correct page on successful payment.
I cannot figure out how to do it.
I tried pasting your example code from docs into chatGPT... and chatGPT says that the code requires I use my private keys in my JS publicly.
Specifically it is saying "const prvKey = CardanoWasm.PrivateKey.from_bech32("ed25519e_sk16rl5fqqf4mg27syjzjrq8h3vq44jnnv52mvyzdttldszjj7a64xtmjwgjtfy25lu0xmv40306lj9pcqpa6slry9eh3mtlqvfjz93vuq0grl80");"
that line from the example code on https://developers.cardano.org/docs/get-started/cardano-serialization-lib/generating-transactions
Is asking one to expose private keys.
Clearly this cannot be the case.
Are there any basic examples of requesting the visitor of a website make a payment.