bafnetwork/baf-wallet-v2

Add helpful text to bot's `sendMoney` response

开放

#71 创建于 2021年5月7日

 (0 条评论) (0 个反应) (1 位负责人)TypeScript (0 个派生)auto 404
good first issuesecurityux

仓库指标

星标
 (4 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

How to use sendMoney isn't really all that clear. At minimum, should probably:

  • Have the bot say "check ur dm" or something like that so the user knows to check their DM for the link
  • Add some instructional text to the user's DM that makes it clear the user needs to click the link to send the tx

However, we might also want to somehow have the bot react to the message containing the link or delete it or send another message or some other way of letting the user know not to click old links in the user's DM with the bot and replay attack themselves. This may very well belong in a different issue, as a generic replay-attack defense mechanism for applications like the discord bot that don't have access to the user's keys would be really nice.

贡献者指南