feat: ar multiplier
This commit is contained in:
parent
66b6237951
commit
96640ad7ee
|
@ -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',
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue