ソースを参照

Add hidden settings note (#338)

* add callout

* title
MarkSackerberg 7 ヶ月 前
コミット
9ec71bb571

+ 6 - 0
src/pages/candy-machine/manage.md

@@ -16,6 +16,12 @@ Our SDKs push this even further and will associate every new Candy Machine accou
 
 Remember that a Candy Machine [must be associated with a Collection NFT](/candy-machine/settings#metaplex-certified-collections) and its update authority must authorize this operation. If you haven’t got a Collection NFT for your Candy Machine yet, our SDKs can help with that too.
 
+{% callout type="note" title="Randomness" %}
+
+It can be advisable to utilize [Hidden Settings](/candy-machine/settings#hidden-settings) for the reveal mechanic, as the "random" minting process of the assets is not entirely unpredictable and can be influenced by sufficient resources and malicious intent.
+
+{% /callout %}
+
 {% dialect-switcher title="Create a Candy Machine" %}
 {% dialect title="JavaScript" id="js" %}
 

+ 6 - 0
src/pages/candy-machine/settings.md

@@ -150,6 +150,12 @@ Note that once a Candy Machine is created using one of these two modes, it canno
 
 Let’s go through both of them in a bit more detail.
 
+{% callout type="note" title="Randomness" %}
+
+It can be advisable to utilize [Hidden Settings](#hidden-settings) for the reveal mechanic, as the "random" minting process of the assets is not entirely unpredictable and can be influenced by sufficient resources and malicious intent.
+
+{% /callout %}
+
 ### Config Line Settings
 
 The **Config Line Settings** attribute allows us to describe the items that are or will be inserted inside our Candy Machine. It enables us to keep the size of the Candy Machine to a minimum by providing exact lengths for the **Names** and **URIs** of our items as well as providing some shared prefixes to reduce that length. The **Config Line Settings** attribute is an object containing the following properties:

+ 9 - 1
src/pages/core-candy-machine/create.md

@@ -207,6 +207,14 @@ isMutable: boolean
 
 ### Config Line Settings
 
+{% callout type="note" title="Randomness" %}
+
+Config Line Settings and Hidden Settings are mutually exclusive. Only one can be used at a time.
+
+It can be advisable to utilize Hidden Settings for the reveal mechanic, as the "random" minting process of the assets is not entirely unpredictable and can be influenced by sufficient resources and malicious intent.
+
+{% /callout %}
+
 Config Line Settings is an optional field that allows advanced options of adding your Asset data to the Core Candy Machine making the Core Candy Machine's rent cost significantly cheaper.
 
 By storing the Assets name and URI prefix into the Core Candy Machine the data required to be stored is significantly reduced as you will not be storing the same name and URI for every single Asset.
@@ -267,7 +275,7 @@ For Example given...
 
 #### isSequential
 
-Indicates whether to use a sequential index generator or not. If false the Candy Machine will mint randomly.
+Indicates whether to use a sequential index generator or not. If false the Candy Machine will mint randomly. HiddenSettings will always be sequential.
 
 #### configLineSettings