-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Started adding create collection actions.
- Loading branch information
Showing
17 changed files
with
758 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
packages/stateful/actions/core/nfts/CreateNftCollection/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# CreateNftCollection | ||
|
||
Create a new NFT collection. | ||
|
||
## Bulk import format | ||
|
||
This is relevant when bulk importing actions, as described in [this | ||
guide](https://github.com/DA0-DA0/dao-dao-ui/wiki/Bulk-importing-actions). | ||
|
||
### Key | ||
|
||
`createNftCollection` | ||
|
||
### Data format | ||
|
||
```json | ||
{ | ||
"chainId": "<CHAIN ID>", | ||
"name": "<NAME>", | ||
"symbol": "<SYMBOL>", | ||
"collectionInfo": { | ||
"type": <"base" | "vending">, | ||
"description": "<DESCRIPTION>", | ||
"explicitContent": true | false, | ||
"externalLink": <"LINK" | undefined>, | ||
"image": "<IMAGE">, | ||
"royalties": "<ROYALTY IN PERCENT>", | ||
"startTradingDate": "<MM/DD/YY HH:mm>" | ||
} | ||
} | ||
``` | ||
|
||
`collectionInfo` is only relevant when `chainId` is `stargaze-1` (Stargaze | ||
mainnet) or `elgafar-1` (Stargaze testnet). All other chains only need `name` | ||
and `symbol`. |
Oops, something went wrong.