Skip to content

Minimal Cosmwasm contract that implements the cw20 receiver interface

Notifications You must be signed in to change notification settings

LeTurt333/cw20_receiver_minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

A Minimal Contract that implements the Cw20 Receiver Interface

This is a minimal example of a CosmWasm contract that implements the Cw20 Receiver Interface


NOTE - This contract is only meant to be an example of how the cw20 receiver interface can be implemented, it is by no means production ready

This contract accept will accept a receive message from any smart contract, it has no logic to verify that the sending contract correctly implements the Cw20 spec.

You will most likely want to implement some additional custom logic (for example a whitelist) to verify that the messages are coming from a smart contract you want to accept messages from

There is a simple example included to show how a whitelist could be implemented

About

Minimal Cosmwasm contract that implements the cw20 receiver interface

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages