Steemhunt / mint.club-v2-sdk

25 stars 2 forks source link

Generated step data's final price does not match your desired value #3

Open y0unghe opened 4 months ago

y0unghe commented 4 months ago

What's the relationship between stepCount, initialMintingPrice and finalMintingPrice. When I try with the below values:

curveData: {
    curveType: 'EXPONENTIAL',
    stepCount: 10,
    maxSupply: 1000,
    initialMintingPrice: 0.0001,
    finalMintingPrice: 1,
    creatorAllocation: 0,
}

I am getting "Generated step data's final price does not match your desired value" error. What's the formula here? I tried with different values. Some will work, some won't. I don't understand the relationship here.