Bitcoin Forum

Bitcoin => Project Development => Topic started by: Kaylas on March 19, 2017, 04:30:46 PM



Title: Bitcoin Alert Fee Email
Post by: Kaylas on March 19, 2017, 04:30:46 PM
Hi,
As a requested in italian section, i've create the script to check the bitcoin transaction fees using bitcoinfees.21.co APIs.
When the price is under the specified fee, it will send you an email.

https://github.com/Mirio/btc-alertfee

How to use?

- Download the code from https://github.com/Mirio/btc-alertfee (https://github.com/Mirio/btc-alertfee)
- Open the file with editor (ex. notepad++) find and change the line below
Code:
#### CHANGE VALUE BELOW ####
# Field "To" in the email header
email_to = "<TARGET EMAIL>"

# SMTP Host
email_host = "<EMAIL HOST>"
email_port = 25

# Username and password to login
email_user = "<EMAIL USERNAME TO LOGIN>"
email_pwd = "<EMAIL PASSWORD TO LOGIN>"

# Fee target (in satoshi)
fee_target = 250

# Period to check the fee (in seconds)
check_period = 300
#### DON'T TOUCH BELOW ####
- Run "python btc-alertfee.py"

Donate (btc): 3JPRaDFPjjdR1Y7gBrdkfutbJ8g5X9GQik

If you have any question, write below


Title: Re: Bitcoin Alert Fee Email
Post by: veleten on March 19, 2017, 07:01:33 PM
what wallets do you support?
I don't understand the mechanics,actually....
so,I input bitcoin fees in my ,say,core or blockchain.info wallet (both have dynamic fees feature) and if the script
thinks that the fee is lower than neccessary,it will send me an email to warn?
isn't it a bit redundant?


Title: Re: Bitcoin Alert Fee Email
Post by: Kaylas on March 19, 2017, 08:15:13 PM
what wallets do you support?
I don't understand the mechanics,actually....
so,I input bitcoin fees in my ,say,core or blockchain.info wallet (both have dynamic fees feature) and if the script
thinks that the fee is lower than neccessary,it will send me an email to warn?
isn't it a bit redundant?
This script run standalone, is not an addon for any wallet. It check only the fee for bitcoin transaction based by bitcoinfees.21.co Apis


Title: Re: Bitcoin Alert Fee Email
Post by: IngerDev on March 20, 2017, 02:09:09 PM
You have to enter your SMTP Server Data from Email host, as this Script runs it will have to sent you an Email with the Given SMTP Data.