Nxt Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client 1.11.9 - NEW RELEASE: Ardor 2.0.3e TestNet IS LAUNCHED!

Pages: [1] 2 3  All

Author Topic: Email notification service for various transactions  (Read 5592 times)

testdruif

  • Full Member
  • ***
  • Offline Offline
  • Posts: 224
    • View Profile
  • Karma: +71/-1

I've just coded something similar as the (presumed dead?) service at https://nxtforum.org/nxt-projects/nxtpn-payment-notifications-for-deposit-processing/60/

Accounts are monitored against the below actions and an email is generated and sent to a specified email address per nxt account.

Where to subscribe --> https://arguseyes.net





I added a few new things

NXT

* Receive & send NXT
* Receive & send messages
* Receive & send assets
* Sell & buy assets
* Place bid & ask orders
* Sell & buy goods
* Deletion of assets
* Receive dividends from core dividends feature
* Forged blocks
* Lease expiration
* Shuffling started (your turn but something went wrong)

NHZ

* Receive & send NHZ
* Receive & send messages
* Receive & send assets
* Sell & buy assets
* Place bid & ask orders
* Sell & buy goods
* Deletion of assets
* Forged blocks
* Lease expiration

BTC

* Receive & send BTC
* Block generation

Ethereum

* Receive & send ethereum
* Block generation

Dogecoin

* Receive & send doge
* Block generation

Waves

* Receive & send Waves
* Block generation

Other actions than sending an email are also possible.
If there is a need for this or interest, let me know

« Last Edit: June 10, 2016, 11:03:58 pm by testdruif »
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

Cassius

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2459
  • Rather be a pirate than join the navy
    • View Profile
  • Karma: +207/-18

This is pretty cool. I'd like to do something similar for a game project. What programming language did you use?
I head up content for BitScan, crypto business hub.

OutSL

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 332
    • View Profile
  • Karma: +60/-0

Hi  :D
very good job  ;) can it send GETs or POSTs like or even JSON instead an email ? if yes this will solve a big fat security problem related to the Linden Script Language (LSL)... will avoid to setup cron jobs at the script level and do a real economy of the machine ressources...
thank you and @++
Thank you for your financial help, your donations will be used in the R&D related to the implementation of NXT in the virtual worlds running under OpenSimulator.org | Donations Box : NXT-PC8Q-ZW86-7UYK-CC4XJ
Visit The NXT Community Virtal World! Your NXT 3D Chat Service

testdruif

  • Full Member
  • ***
  • Offline Offline
  • Posts: 224
    • View Profile
  • Karma: +71/-1

This is pretty cool. I'd like to do something similar for a game project. What programming language did you use?

just used nodejs and wrote the thing in javascript so I could reuse some code
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

testdruif

  • Full Member
  • ***
  • Offline Offline
  • Posts: 224
    • View Profile
  • Karma: +71/-1

Hi  :D
very good job  ;) can it send GETs or POSTs like or even JSON instead an email ? if yes this will solve a big fat security problem related to the Linden Script Language (LSL)... will avoid to setup cron jobs at the script level and do a real economy of the machine ressources...
thank you and @++

I'm using XMLHttpRequest to be able to use both gets and posts

request.open('POST', url + api + options, false);
request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
I've read somwhere the content-type can also be json..

and instead of sending an email another action could be performed
« Last Edit: February 11, 2016, 10:52:51 pm by testdruif »
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

OutSL

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 332
    • View Profile
  • Karma: +60/-0

Hi  :D
very good job  ;) can it send GETs or POSTs like or even JSON instead an email ? if yes this will solve a big fat security problem related to the Linden Script Language (LSL)... will avoid to setup cron jobs at the script level and do a real economy of the machine ressources...
thank you and @++

I'm using XMLHttpRequest to be able to use both gets and posts

request.open('POST', url + api + options, false);
request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
I've read somwhere the content-type can also be json..

and instead of sending an email another action could be performed
blessed be ! maybe this is the 1st positive thing that i read last 3 or 4 days... did you publish it somewhere?
you will understand the level of the importance of your work when you will see it running in real conditions  :D
Thank you a lot & @++
Thank you for your financial help, your donations will be used in the R&D related to the implementation of NXT in the virtual worlds running under OpenSimulator.org | Donations Box : NXT-PC8Q-ZW86-7UYK-CC4XJ
Visit The NXT Community Virtal World! Your NXT 3D Chat Service

testdruif

  • Full Member
  • ***
  • Offline Offline
  • Posts: 224
    • View Profile
  • Karma: +71/-1

Hi  :D
very good job  ;) can it send GETs or POSTs like or even JSON instead an email ? if yes this will solve a big fat security problem related to the Linden Script Language (LSL)... will avoid to setup cron jobs at the script level and do a real economy of the machine ressources...
thank you and @++

I'm using XMLHttpRequest to be able to use both gets and posts

request.open('POST', url + api + options, false);
request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
I've read somwhere the content-type can also be json..

and instead of sending an email another action could be performed
blessed be ! maybe this is the 1st positive thing that i read last 3 or 4 days... did you publish it somewhere?
you will understand the level of the importance of your work when you will see it running in real conditions  :D
Thank you a lot & @++

already running it myself ;)
I've not published it anywhere because it's still too young.

I would however be happy to talk to you about it and see what we can do...
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

testdruif

  • Full Member
  • ***
  • Offline Offline
  • Posts: 224
    • View Profile
  • Karma: +71/-1

http://notifications.no-ip.org/

I added a few new things

NXT

* Receive & send money
* Receive & send messages
* Receive & send assets
* Sell & buy assets
* Place bid & ask orders
* Sell & buy goods
* Deletion of assets
* Receive dividends from core dividends feature

NHZ

* Receive & send money
* Receive & send messages
* Receive & send assets
* Sell & buy assets
* Place bid & ask orders
* Sell & buy goods
* Deletion of assets

BTC

* Receive & send money
* Block generation
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

testdruif

  • Full Member
  • ***
  • Offline Offline
  • Posts: 224
    • View Profile
  • Karma: +71/-1

Recoded the notification service from javascript into java.

Having the same process flow results in:

Runtime Javascript: 34 seconds
Runtime Java: 1 second


Java version


Javascript version
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

testdruif

  • Full Member
  • ***
  • Offline Offline
  • Posts: 224
    • View Profile
  • Karma: +71/-1

Added email notification on forged blocks for nxt and nhz
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

websioux

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 306
  • Great changes grow bottom up
    • View Profile
    • Scriba.io the Blockchain Scribe
  • Karma: +67/-1

Some Suggestions

Topics :
- Lease forging approaching expiration
- Poll end
- Poll approaching to closing votes
- Node crash

Alternative Media :
- HTTP call
- Nxt Messaging

Business Model :
Sponsor Ads in email or request 1Nxt paiement for Y notifications after X offered.
A business model allows to advertise your service for free or with profit, which is required to seriously increase the growth speed of the user base.
Secret Miner <= communicate with style | NotBot <= timestamp digital docs

blackyblack1

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1692
    • View Profile
  • Karma: +165/-82

Some Suggestions

Topics :
- Lease forging approaching expiration
- Poll end
- Poll approaching to closing votes
- Node crash

Alternative Media :
- HTTP call
- Nxt Messaging

Business Model :
Sponsor Ads in email or request 1Nxt paiement for Y notifications after X offered.
A business model allows to advertise your service for free or with profit, which is required to seriously increase the growth speed of the user base.
Good suggestions. I see another business model opportunity. Make it free of charge and use email database for targeting ads.

testdruif

  • Full Member
  • ***
  • Offline Offline
  • Posts: 224
    • View Profile
  • Karma: +71/-1

Added support for Ethereum, doge will be added tomorrow
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

testdruif

  • Full Member
  • ***
  • Offline Offline
  • Posts: 224
    • View Profile
  • Karma: +71/-1

Some Suggestions

Topics :
- Lease forging approaching expiration
- Poll end
- Poll approaching to closing votes
- Node crash

I'll add the lease expiration (let's say 1440 from the end you'll receive an email).

I'm not sure what to do with polls... for me they have very little intrest and it seams a lot of work for a feature that's hardly used.
Polls have a fixed point in time when they end so setting an event in your calendar (phone,pc) would achieve the same result. The same actually goes for leasing your balance (altho I would use that feature myself ^^)

Node crash would require an extra parameter to be supplied (the node you want to check). Altho possible it's a bit out of scope. you could achieve the same with a simple script doing a ping and if there is no response send an email or use an existing service like https://www.host-tracker.com/Home
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

testdruif

  • Full Member
  • ***
  • Offline Offline
  • Posts: 224
    • View Profile
  • Karma: +71/-1

Added support for Ethereum, doge will be added tomorrow (there isn't a stable enough blockchain explorer out there)

Small update on this. Doge has been added but due to the rate limit on the blockchain api's calls of all the websites I found it's not feasible to put this into production
« Last Edit: March 18, 2016, 12:25:23 pm by testdruif »
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

testdruif

  • Full Member
  • ***
  • Offline Offline
  • Posts: 224
    • View Profile
  • Karma: +71/-1

Some Suggestions

Topics :
- Lease forging approaching expiration

Added
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

websioux

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 306
  • Great changes grow bottom up
    • View Profile
    • Scriba.io the Blockchain Scribe
  • Karma: +67/-1
Secret Miner <= communicate with style | NotBot <= timestamp digital docs

rubenaco

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1074
  • I'm here and you?
    • View Profile
  • Karma: +166/-2

thanks for the service! subscribed ;D

altsheets

  • Full Member
  • ***
  • Offline Offline
  • Posts: 232
  • check out #AAssetNXT #AltFolio and #AssetGraphs
    • View Profile
    • AssetGraphs-v2 live examples
  • Karma: +31/-1

Most useful project in a long time  ;)

AltFolio | Newbium DataSite | AAssetNXT & -HZ | AssetGraphs | ABEE | Advice | assetparser.py & shareholders.py | bamm.py | PeerCrawler | Github e.g. ChainCountDown, ethjsre | ... much more

xchrix

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 257
    • View Profile
    • CryptoCoinCharts
  • Karma: +56/-3

hey testdruif
wow i am impressed by the amount of features you are offering!
please PM me if you want to work together with NXTCS
Pages: [1] 2 3  All