Whisprs is a proof-of-concept for private messaging on Cosmos networks, powered by Secret Network.
It uses permits to allow users to send private messages to addresses either on Secret, or even on other Cosmos chains.
This is a very basic and bare-bones contract, with more advanced features such as event notification and delegated permissions possible future additions.
SendMemo
: Send a private message to another addressSetViewingKey
: Set a viewing key for a user if he prefers it over a permit
GetMemo
: Get paginated list of messages for a specific user.
Use this command to compile your contracts:
polar compile
polar run scripts/deploy.js