#cosmwasm #wrapped #cw20

cw20-wrap

CosmWasm contract for wrapping native coins into cw20

1 stable release

1.0.0 Jun 7, 2024

#18 in #cw20

Download history 134/week @ 2024-06-03 10/week @ 2024-06-10

144 downloads per month

Apache-2.0

22KB
408 lines

Cw20 Wrap

CosmWasm contract for wrapping native coins into wrapped cw20's; supporting deposits and withdrawals.

Build

RUSTFLAGS='-C link-arg=-s' cargo wasm

Optimize

docker run --rm -v "$(pwd)":/code \
  --mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
  --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
  cosmwasm/rust-optimizer:0.12.9

Dependencies

~4–5.5MB
~124K SLoC