Equip nft traits for a token and render metadata on the fly
- 🧱
core
- Core contract to bind NFTs-as-traits
Fiend Frens demo collection, that uses cw-constructor
contract.
cw-minter
- Base minter contract to use for base and trait tokens
cw721-fiend-frens
- Maincw721
contract that serves as the base token-
cw-fiend-frens-minter
- Minter contract for the base token
cw721-fiend-frens-trait
- Acw721
contract that serves as a trait tokencw-fiend-frens-trait-minter
- Minter contract for trait tokens
cw-fiend-frens-constructor
- Constructor contract to manage applied trait NFTs
- 🚀
scripts
- Scripts to upload assets on IPFS / instantiate example contracts etc
- 🖥️
client
- Frontend to view / equip / unequip traits
sh ./scripts/test.sh
sh ./scripts/build.sh
sh ./scripts/optimize.sh
sh ./scripts/schema.sh
ACCOUNT=dev CHAIN_ID=constantine-3 GAS_ADJUSTMENT=1.4 DRY_RUN=1 sh ./scripts/store.sh target/wasm32-unknown-unknown/release/cw721_fiend_frens_trait.wasm
...where the arguments are:
arg | description | default |
---|---|---|
$1 |
wasm file to store onchain |
- |
$ACCOUNT |
archwayd account's name / address to use as the sender |
- |
$CHAIN_ID |
chain ID, e.g. archway-1 , constantine-3 or titus-3 |
constantine-3 |
$GAS_ADJUSTMENT |
gas adjustment coefficient | 1.4 |
$DRY_RUN |
1 if dry-run store tx without broadcasting it, 0 otherwise (make sure to provide address instead of account name in $ACCOUNT for dry-run!) |
0 |