-
dEBRUYNEI think the blockchain.raw file on the website requires an update, it only contains blocks until height ~2.5M currently, so about 200k blocks behind
-
UkoeHBselsta: tevador I've tried linking the performance_tests directly to mx25519, but still getting ubuntu fails github.com/UkoeHB/monero/actions
-
UkoeHBout of things to try...
-
tevadorUkoeHB: try replacing mx25519 with mx25519_static in the target_link_libraries command
-
tevadoralso you are missing the MX25519_STATIC directive: github.com/tevador/mx25519/blob/master/CMakeLists.txt#L81-L83
-
UkoeHBtevador: that introduced a new problem with cpuid github.com/UkoeHB/monero/actions/runs/2939987066
-
tevadorUkoeHB: fixed here tevador/mx25519 84ca129
-
UkoeHBtevador: nice, all green; seems I didn't need the MX25519_STATIC directive
-
liamswenson[m]1I'm trying to create a subaddress with github.com/monero-ecosystem/monero-rpc-rs, the "create_address" method returns something like this in place of the "address" field
-
liamswenson[m]1`Address { network: Mainnet, addr_type: SubAddress, public_spend: 3bac6d0e5a20bebae804f4f35438f2f47703fe0eec205ceedc7676231c42ec08, public_view: df6dc04dcd4d4cfe7b1f42f9138458183dfb30d11d9776f0dce55ca6fc4c1fc3`
-
liamswenson[m]1which is different from the expected result according to getmonero.org/resources/developer-g…ides/wallet-rpc.html#create_address. I would like to know what the subaddress is so people can pay me with it, and it doesnt look like the library has any methods to generate one from the public keys. What is the intended way to do this?
-
liamswenson[m]1* I'm trying to create a subaddress with github.com/monero-ecosystem/monero-rpc-rs, the "create\_address" method returns something like this in place of the "address" field
-
liamswenson[m]1`Address { network: Mainnet, addr_type: SubAddress, public_spend: 3bac6d0e5a20bebae804f4f35438f2f47703fe0eec205ceedc7676231c42ec08, public_view: df6dc04dcd4d4cfe7b1f42f9138458183dfb30d11d9776f0dce55ca6fc4c1fc3 }`
-
liamswenson[m]1which is different from the expected result according to getmonero.org/resources/developer-guides/wallet-rpc.html#create\_address. I would like to know what the subaddress is so people can pay me with it, and it doesnt look like the library has any methods to generate one from the public keys. What is the intended way to do this?
-
selstah4sh3d: ^
-
liamswenson[m]1After more investigation, this is probably better suited to be a github issue. Using curl provides the expected result, and I don't have the competence to dissect much of the code.
-
afungible[m]1Subaddress details: monerodocs.org/public-address/subaddress
-
afungible[m]1Creating subaddress: getmonero.org/resources/developer-g…ides/wallet-rpc.html#create_address
-
afungible[m]1You need to have monero daemon (monerod) running. And then run monero-rpc by providing given "wallet-file" as parameter, connect to a port. Write a simple bash script (with above curl command), and you'd have created a new subaddress for your wallet. Hope that helps a bit!
-
liamswenson[m]1> <@liamswenson:monero.social> I'm trying to create a subaddress with github.com/monero-ecosystem/monero-rpc-rs, the "create\_address" method returns something like this in place of the "address" field
-
liamswenson[m]1> `Address { network: Mainnet, addr_type: SubAddress, public_spend: 3bac6d0e5a20bebae804f4f35438f2f47703fe0eec205ceedc7676231c42ec08, public_view: df6dc04dcd4d4cfe7b1f42f9138458183dfb30d11d9776f0dce55ca6fc4c1fc3 }`
-
liamswenson[m]1> which is different from the expected result according to getmonero.org/resources/developer-guides/wallet-rpc.html#create\_address. I would like to know what the subaddress is so people can pay me with it, and it doesnt look like the library has any methods to generate one from the public keys. What is the intended way to do this?
-
liamswenson[m]1I believe I found the solution, I can call methods to represent the "Address" object in different ways, for example appending ".to_string()" to the end will give me the address in the format I was looking for.
-
liamswenson[m]1> <@afungible:monero.social> For each Monero wallet, you can have multiple unique accounts [0,1,...,n]. For each account, you can have multiple "subaddresses". When a wallet is created, it is created with 1 account (default: index 0) and you can generate "any number of" unique sub-addresses for it, to... (full message at libera.ems.host/_matrix/media/r0/do…6536e74d6394d3f293eb21306ce6a52a7de)
-
afungible[m]1Yes. When you create a wallet with a seed, 1 account is created by default i.e. account at index 0. The (primary) address you see is the "sub-address 0" for account at index 0.
-
afungible[m]1Account [0]
-
afungible[m]1- Sub-address[0]
-
afungible[m]1Usually 1 account is sufficient & you create multiple sub-addresses within the (default) account. But maybe, you want multiple accounts, just like with bank with multiple accounts & each having its own fixed deposit accounts.