We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include effective volume from the table here so users have a better idea of how much they can safely upload
The text was updated successfully, but these errors were encountered:
This can be implemented in stamp/buy.ts:
const estimatedCost = Utils.getStampCostInBzz(this.depth, Number(this.amount)) const estimatedCapacity = new Storage(Utils.getStampMaximumCapacityBytes(this.depth)) const estimatedTtl = Utils.getStampTtlSeconds(Number(this.amount)) this.console.log(createKeyValue('Estimated cost', `${estimatedCost.toFixed(3)} BZZ`)) this.console.log(createKeyValue('Estimated capacity', estimatedCapacity.toString())) this.console.log(createKeyValue('Estimated TTL', secondsToDhms(estimatedTtl)))
An additional utility function is required which calculates effective volume based on the table, we don't have that anywhere yet.
Sorry, something went wrong.
feat: display estimated effective volume during buy (ethersphere#479)
97d5192
No branches or pull requests
Include effective volume from the table here so users have a better idea of how much they can safely upload
The text was updated successfully, but these errors were encountered: