A simple chain which restricts blockchain addresses ending with letter s
Branch: approach-1-sdk-fork
In this approach, I essentially forked the v0.47.3
tag of cosmos-sdk
(tagged it v0.47.3-bank.rev-1
), and added validation check in Send and MultiSend keepers which prevented address ending with letter s
from recieving funds.
Branch: approach-2-ante-handlers
In this approach, I created a module x/address
which defines an Ante Handler that looks for MsgSend
and MsgMultiSend
messages in a transaction. If present, an error is returned if the reciever's address ends with the letter "s".