Is there any way to get a notification(PN, Email etc.) when one receives ETH or tokens issued on ethereum?
4 Answers
You can use the notification system on etherscan.io:
Create an account on https://etherscan.io and/or log in
Click
Add New Address
Enter the address you want to track
Select
Email Notification
Click
Continue
You should now receive email notifications.
Please note that there is a limit of 100 emails/day.
-
3
Cryptocurrency Alerting does exactly this. You can monitor any ETH address and get alerted when your ETH/ERC-20 token balance changes. It works well for airdrops, for example.
You can receive alerts via Email, Webhook, SMS, Slack, Telegram, Discord and several other options. Disclaimer: I am friends with the owner of this site.
You can use Dagger https://matic.network/dagger to send email/notification when -
- you receive tokens
- someone transfers tokens/ETH from the multi-sig wallet
- ....or track any contract
Here is the simple example of how to watch ERC20 token transfer using Dagger:
// web3 contract
var web3Contract = new web3.eth.Contract(abi, address);
// dagger contract
var contract = dagger.contract(web3Contract);
var filter = contract.events.Transfer({filter: {from: '0x123456...'}, room: 'latest'});
// watch
filter.watch(function(data, removed){
// data.returnValues.to : address to which it has been transferred to
// data.returnValues.value : value which has been transferred
});
// watch only once
filter.watchOnce(function(data, removed){
// data.returnValues.to : address to which it has been transferred to
// data.returnValues.value : value which has been transferred
});
// stop watching
filter.stopWatching();
One way would be to use events in the smart contract which receives the the ETH or Tokens. When the function in the contract, which will receive the ETH or tokens, will be called an event can be triggerd with return values such as PN and Email etc. You could catch this events in your Dapp. See here for more information on events.
-
@niksmac your edit seems to make this answer rather unintelligible? Feb 11, 2018 at 9:42
-
This is more generic approach, but have you designed any code for that yet? It seems quite interesting though.– user19060Feb 11, 2018 at 11:11
-