Candy Machine V2 Whitelist Settings - solana

I am working to set up my first minting site with Candy Machine V2 and have a couple of functionality questions I have not been able to find answers to:
Is there a way to define a date/time when the whitelist mint can begin? Right now it allows me to mint if I have a whitelist token anytime before the go-live date..even if that go-live date is a week away. So Candy Machine says the white list is 7 days away but I can still mint if I have a whitelist token. I only want white list minters to be able to mint one hour before the go-live date. How can this be done?
Can I set multiple white list time frames? So white list mint group #1 starts 2 hours before the public mint and then white list group #2 starts 1 hour before the public mint?
Help is appreciated! Thanks

use this setting first:
"whitelistMintSettings": {
"mode": {
"burnEveryTime": true
},
"mint": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"presale": false,
"discountPrice": null
}
this will only allow whitelist selling after the goLiveDate.
When you want to end the whitelist selling, make it public, update candy machine with:
"whitelistMintSettings": null
Don't delete it, just give a null value, otherwise the transaction will fail.

All the answers to ur questions are on the official metaplex docs, on configuration page.
You can set-up an starting hour for a Whitelist mint using the presale boolean inside the whitelist settings. If you set the presale to false then your CM will use the goLiveDate and will be live to be minted with ur whitelist settings token. You can check the last example that appear here.
To do this you should play with endSettings, using this you will be able to do a temporally close of ur candy machine mint that can be resumed changing and saving the config file and then running update_candy_machine command from the CMv2 CLI. So basically this can be done playing with endsettings and running update_candy_machine whenever you want to change something or resume the mint.

Related

Metaplex Cache file disappeared

I made the metaplex collection upload yesterday everything went well.
Managed to air drop a certain amount, verify the collection. Everything worked perfectly.
Today, I want to update the time of the public mint but it seems that the cache file is now missing. it's not hidden, yesterday it was here in plain site. This is the command I used
Screenshot1
This is the new config I want to update
screenshot2
Thanks
First make sure that you are in the same location as you used yesterday.
Search for .cache folders anywhere on your drive.
If you really cannot find the cache file anymore
check what’s wrong with your device
create a new cache file. The Uris do not have to be added. (Items Array can empty). UUID consists of the first characters of the candy machine address. Please refer to a cache file of a different candy machine or quickly create one in devnet and use it as basis.
For future users: maybe this GitHub comment will help you.
I have found the answer on here: https://github.com/metaplex-foundation/metaplex/issues/1394
You can re-create the file by using these information:
{
"program": {
"uuid": "",
"candyMachine": "xxxxx"
},
"items": {},
"env":"mainnet-beta",
"cacheName":"mainnet",
"startDate":"61c65f00"
}
UUID is the 6 first letter of the candy machine

IBM BPM 8.6 :: Unable to reassign back to group

We're working with IBM BPM 8.6.
In many workflows, we do the typical team assignment. The users can claim the task, and work with it. But there is a problem, they cannot assign the task back to the group within the Process Portal.
All we get is a tooltip with the "This action is not permitted" when we try to reassign back to the group.
Reassign back to group disabled image
The same happens if we try to reassign it to an specific user:
Reassign to user disabled image
We know that we could add the following instruction to the workflows:
tw.system.currentTask.reassignBackToRole()
to reassign it back,
but this would affect all the projects, and it would require time and resources to do so.
Any help or hints will be appreciated.
You need to check the "action policies" for the Portal (https://www.ibm.com/support/knowledgecenter/SS8JB4_19.x/com.ibm.wbpm.imuc.doc/topics/restricting_access_to_portal_functions.html). I searched for "process portal action policies" to find the linked page (IBMs URLs can be pretty transient).
The one you're interested in is "ACTION_REASSIGN_TASK". This should be available to all users by default so perhaps it has been changed. You can use was_admin to change or check the values e.g.
wsadmin>AdminConfig.modify(getBPMPolicyAction("ACTION_REASSIGN_TASK"), [["roles", "newrole"]])
wsadmin>AdminConfig.save()

OpenBD isValid email fails .education domain

I'm running OpenBD CFML isValid('email','something#whatever.education') and my result is 'NO'.
.education is a valid domain - why does this fail?
It turns out to be an issue with the regex used behind the scenes to match valid domains.
The regex in place didn't account for domains as long as "education".
I fixed it and it's been merged, should be in the nightly by now, grab the latest update and you should be able to use isValid("email", "AwesomeEmail#School.education") just fine. Viva la open source.

Google Play applications stats CSV changed?

I made a PHP script last month to retrieve my application's statistiques. Everything works well but since the 1st December, the CSV output downloaded has changed. Indeed, before the 1st Dec I had the followings columns :
Date,Package Name,Current Device Installs,Daily Device Installs,Daily Device Uninstalls,Daily Device Upgrades,Current User Installs,Total User Installs,Daily User Installs,Daily User Uninstalls,Active Device Installs
Now I have :
Date,Package Name,Daily Device Installs,Daily Device Uninstalls,Daily Device Upgrades,Total User Installs,Daily User Installs,Daily User Uninstalls,Active Device Installs
I thinks Google changed theirs output datas, but if they change that every month, that will not good for my automatic script.
If someone has informations about this changes, that can help me.
Have a good day,
Ben.
You can read in this documentation that Google periodically update the Google Analytics in order to deliver new features and to repair defects discovered in previous versions. In most cases, these changes will be transparent to API developers. Take note that, "However, occasionally we need to make changes that require developers to modify their existing applications."
If you think it is a bug, you create an issue in the issues tracker. The proper person from Google team will look into your issue there, and will check if it really is a bug or not.
Official response of Google -> https://support.google.com/googleplay/android-developer/answer/7003402#active_devices

Custom RequireHttps and testing

I have a custom Authorize attribute. This attribute checks if the user also have permissions to that action based on the parameters of the attribute. In some times inside the custom Authorize attribute I want to requiere HTTPS or redirect to it. Is there any way to do this with the AuthorizationContext?
How can I test it? and debug it? Is there a simple tutorial to use SSL in my developer machine with VS 2010?
Thanks!
RequireHttps will redirect HOWEVER it doesn't stop the browser from sending data non-ssl first which could be captured. Note that for post actions this wont work right out of the box either.
To install ssl, simply generate your cert and import it. Do you have a subscription to pluralsight.com? i have a course up there where I go over the steps for requiressl and installing ssl on local machine (theres a 30 day free trial too)
If you just want the details here : )
theres a nice powershell script to use:
http://learn.iis.net/page.aspx/491/powershell-snap-in-configuring-ssl-with-the-iis-powershell-snap-in/

Resources