feat: ar multiplier

This commit is contained in:
bartosz-lipinski 2021-06-11 19:18:24 -05:00
parent 66b6237951
commit 96640ad7ee
2 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ export const mintNFT = async (
await fetch(
// TODO: add CNAME
env === 'mainnet-beta'
? 'https://us-central1-principal-lane-200702.cloudfunctions.net/uploadFileProd-1'
? 'https://us-central1-principal-lane-200702.cloudfunctions.net/uploadFileProd1'
: 'https://us-central1-principal-lane-200702.cloudfunctions.net/uploadFile-1',
{
method: 'POST',

View File

@ -60,5 +60,5 @@ export async function getAssetCostToStore(files: File[]) {
conversionRates.value.arweave.usd / conversionRates.value.solana.usd;
console.log('Ar mult', arMultiplier);
// We also always make a manifest file, which, though tiny, needs payment.
return LAMPORT_MULTIPLIER * totalArCost * arMultiplier * 1.2;
return LAMPORT_MULTIPLIER * totalArCost * arMultiplier * 1.1;
}