Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: jordimetil on May 23, 2024, 11:29:06 PM



Title: generating fresh deposit address (Electrum)
Post by: jordimetil on May 23, 2024, 11:29:06 PM
i'm currently finishing up few projects, payment methodes on this project is cryptocurrency (only BTC now, i may add other soon), i want to tunnel payments through my wallet only (i don't want to use centralized ways to do this for me f.e. TripleA (https://triple-a.io/)), so i want to generate fresh deposit address with no blockchain history to avoid confusion with transactions etc. i'm using electrum wallet, and using these code languages for my website; HTML/CSS for my frontend/static, and PHP for my backend server. :D


Title: Re: generating fresh deposit address (Electrum)
Post by: BitMaxz on May 23, 2024, 11:39:46 PM
It seems you're not done yet? You didn't mention what exactly you need?

Or do you developing a payment method and you are trying to implement it on your website?

I suggest if you don't want to some control your wallet or use any centralized payment methods why not use BTCpayserver?
You can host this on your own PC and add other coins supported.

If you are interested check this link below.

- https://github.com/btcpayserver/btcpayserver


Title: Re: generating fresh deposit address (Electrum)
Post by: jordimetil on May 23, 2024, 11:57:13 PM
It seems you're not done yet? You didn't mention what exactly you need?

Or do you developing a payment method and you are trying to implement it on your website?

I suggest if you don't want to some control your wallet or use any centralized payment methods why not use BTCpayserver?
You can host this on your own PC and add other coins supported.

If you are interested check this link below.

- https://github.com/btcpayserver/btcpayserver
i need help with how to set-up freshly new deposit address everytime someone want to deposit money :D


Title: Re: generating fresh deposit address (Electrum)
Post by: BitMaxz on May 24, 2024, 12:18:01 AM
i need help with how to set-up freshly new deposit address everytime someone wants to deposit money :D

If that's what you need then I already provided the link it only needs your xPub or master public key all generated deposit addresses are generated from your own wallet you fully control like the wallet you created from Electrum you can use the xPub from that wallet to import it into BTCpay all deposit addresses generated when someone wants to deposit in your site it would generate a unique unused address that you can also see in your Electrum wallet.

Better read the documentation to guide you on how to host this below

- https://docs.btcpayserver.org/Walkthrough/

You can also watch their videos here https://m.youtube.com/channel/UCpG9WL6TJuoNfFVkaDMp9ug


Title: Re: generating fresh deposit address (Electrum)
Post by: jordimetil on May 24, 2024, 01:41:14 PM
i need help with how to set-up freshly new deposit address everytime someone wants to deposit money :D

If that's what you need then I already provided the link it only needs your xPub or master public key all generated deposit addresses are generated from your own wallet you fully control like the wallet you created from Electrum you can use the xPub from that wallet to import it into BTCpay all deposit addresses generated when someone wants to deposit in your site it would generate a unique unused address that you can also see in your Electrum wallet.

Better read the documentation to guide you on how to host this below

- https://docs.btcpayserver.org/Walkthrough/

You can also watch their videos here https://m.youtube.com/channel/UCpG9WL6TJuoNfFVkaDMp9ug

thanks a lot, :D


Title: Re: generating fresh deposit address (Electrum)
Post by: Stalker22 on May 25, 2024, 09:04:43 PM
i need help with how to set-up freshly new deposit address everytime someone want to deposit money :D

It depends on how many new addresses you need and how frequently. The simplest method would likely be to pre-generate a bunch of new addresses from your Electrum wallet. There Is no limit to the number of deposit addresses you can create in advance. These addresses can then be stored in a database.  In the backend, a PHP script can be used to select a new, unique address from the database whenever needed. You can always add more addresses to the database as required.


Title: Re: generating fresh deposit address (Electrum)
Post by: nc50lc on May 26, 2024, 04:13:11 AM
-snip- i want to tunnel payments through my wallet only (i don't want to use centralized ways to do this for me -snip-),
so i want to generate fresh deposit address with no blockchain history to avoid confusion with transactions etc. i'm using electrum wallet, and using these code languages for my website; HTML/CSS for my frontend/static, and PHP for my backend server.
If you want to exclusively use Electrum:
You can use an "Electrum Merchant" setup which consists of an Electrum wallet on a secured machine and a "watch-only" (read-only) wallet on your website's server.
This provides the basic instructions on how to set it up: electrum.readthedocs.io/en/latest/merchant.html (http://electrum.readthedocs.io/en/latest/merchant.html)

Take note that Electrum is an SPV wallet which relies on public servers. (if you do not own one)
Most of which have a limit on the number of transactions and addresses they allow to sync.
For higher transaction volume, you must setup your own Electrum server which requires a full node.


Title: Re: generating fresh deposit address (Electrum)
Post by: BlackBoss_ on May 26, 2024, 04:58:08 AM
For higher transaction volume, you must setup your own Electrum server which requires a full node.
I found two guides on technical steps and requirements to set up an Electrum server with a Bitcoin node.

Running your own Electrum server (https://coin.host/blog/running-your-own-electrum-server-a-guide-for-bitcoin-and-litecoin-enthusiasts)
How to set up your own Bitcoin node, Electrum wallet and Server (https://curiosityoverflow.xyz/posts/bitcoin-electrum-wallet/)

A Bitcoin full node is recommended but if privacy is important, use Tor to maximize privacy.