Skip to content

el-buku/candy-machine-with-sacrifices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Candy Machine with sacrifices

This repo contains the modified metaplex contracts for creating a candy machine that accepts other NFT's as sacrifices instead of SOL and adds them to the treasury. It also contains the modified cli tool and mint-ui react app. Uses the same config as the default candy machine, with minor diferences:

"acceptsSacrifices":true,
"sacrificedTokenSymbol":"LDTG1",
"endSettings": {
  "endSettingType":{
    "amount":true
  },
  "value":0
}

The user must specify the sacrificed token symbol, as well as endSettings.value = 0 to prevent bypassing the sacrifice check by using the classic candy machine contract.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published