Skip to content

Commit 7c06cfb

Browse files
author
hard-nett
committed
dev: default infused collection owner to infusion creator, add infusion description, bypass creation fee for contract owner, bypass infusion mint fee for infusion owner
1 parent 5944141 commit 7c06cfb

File tree

11 files changed

+260
-136
lines changed

11 files changed

+260
-136
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,16 @@
1313
| | | | | \
1414
| ~ ~ ~ ~ |` )
1515
| /
16-
\ /
16+
\ 595 /
1717
\ /
1818
\ _____ /
1919
|--//''`\--|
2020
| (( +==)) |
2121
|--\_|_//--|
22-
2322
```
2423

2524
## Introduction
26-
Cw-Infusion is a nft minter for burning to mint tokens in very programmable ways. Various bundle requirements, or the collection of tokens one intends to infuse in exchange for a new token.
25+
Cw-Infusion is a nft minter for burning to mint tokens in very programmable ways. Bundles, or the collection of tokens one intends to infuse,are formed and burned in exchange for a new token from the infused collection.
2726
## Additional Info
2827

2928
### Infused Collection
@@ -55,16 +54,17 @@ There are cw-orchestrator libraries available to deploy the infusion contracts.
5554

5655
### Compile Infuser
5756
```sh
58-
sh scripts/build.sh
57+
just wasm-optimize
5958
```
59+
6060
### Deploy Infuser
6161
The following uploads, and instantiates a new infusion to the test network:
6262
```sh
6363
cargo run --bin deploy -- --network testnet
6464
```
6565

6666
### Create an Infusion
67-
A minimum json message to create an infusion:\
67+
A minimum json message to create an infusion:
6868
`--col-min-require` in the same order as collections defined, set the minimum tokens required for each to need to infuse.
6969
```sh
7070
cargo run --bin create -- --col-addrs-eligible <collection-addr1,collection-addr2> --col-min-required 4,2 --infuse-col-name infusion-test --infuse-col-symbol INFUSE --infuse-col-base-uri ipfs:// --config-min-per-bundle 1

contracts/cw-infuser/README.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
2+
## Instantiate
3+
```json
4+
{
5+
"admin": "stars1x7krclfpvt3d50ae4cvukckz4fe46g5gx393y2cjtdpar3aw6r3q3g8pd0",
6+
"admin_fee": 2,
7+
"min_creation_fee": {
8+
"denom": "ibc/4A1C18CA7F50544760CF306189B810CE4C1CB156C7FC870143D401FE7280E591",
9+
"amount": "50000000"
10+
},
11+
"max_infusions": 2,
12+
"min_per_bundle": 1,
13+
"max_per_bundle": 10,
14+
"max_bundles": 5,
15+
"cw721_code_id": 15
16+
}
17+
```
18+
119
```json
220
{
321
"create_infusion":{
@@ -12,4 +30,5 @@
1230
}
1331
}
1432
]}}
15-
```
33+
```
34+

0 commit comments

Comments
 (0)