Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

craft source realm

Constants 1

Functions 14

func Craft

crossing Action
1func Craft(cur realm, recipe string) uint64
source

Craft burns a canonical recipe and mints the next GRC721 equipment token.

func SetRecipe

crossing Action
1func SetRecipe(cur realm, recipe string, itemID uint32)
source

SetRecipe stores the item definition ID produced by a canonical recipe.

func SetRecipes

crossing Action
1func SetRecipes(cur realm, recipesCSV, itemIDsCSV string)
source

SetRecipes stores up to 100 canonical recipe and item ID pairs in one transaction.

Dependencies

Source Files 7