Hello there, Monero contributors, I wanted to add Monero to Hodler Wallet which is multicoin lightwallet without need to have any blockchain data stored on user's device. Moneros way to build transaction is very complicated for me, since I'm not native english language speaker, but I understand code. Monero code base is huge, so that's why I'm asking for simpler code for RingCT etc. in C or Python. Every integration that I have found is basing on local RPC communication (except this one https://github.com/emesik/monero-python/blob/master/monero/transaction.py but I'm not sure if it is valid code for monero, is still up to date? Someone tried that code?), but that is useless for me. Monero is important coin, we want to add integrated DEX to exchange BTC for XMR inside the wallet.
Thanks in advice, Daniel
hodler.tech team
This is a bug tracker, not a help desk. If you have particular questions, try #monero on Freenode. If those questions are particularly about specific code, #monero-dev on Freenode.
If you want the code which creates a tx, see construct_tx_and_get_tx_key in cryptonote_tx_utils.cpp. This calls the rct API, etc, as needed. It is called by transfer_selected_rct, which is called from create_transactions_2, both in wallet2.cpp.
Not a bug. See IRC for questions.
+invalid
Most helpful comment
This is a bug tracker, not a help desk. If you have particular questions, try #monero on Freenode. If those questions are particularly about specific code, #monero-dev on Freenode.
If you want the code which creates a tx, see construct_tx_and_get_tx_key in cryptonote_tx_utils.cpp. This calls the rct API, etc, as needed. It is called by transfer_selected_rct, which is called from create_transactions_2, both in wallet2.cpp.