Bulk Import
This is an advanced feature please fully review these documents and double check all files before submission
This Bulk Import feature allows you to create a large number of Safe Swap orders easily with the power of the VyFi Tx Cart! To Initiate this process please use our "Bulk Import" feature. For a more hands off experience, our team can set up a distribution of claims for you. Please reach out to us on any or socials or email us at [email protected].

Depending on the type of orders you are trying to create you should be able to create about 60-80 orders in a single transaction, you may have to play with the number of orders to maximize a single transaction. Currently this import feature accepts the JSON format, which can be uploaded here

You will then need to confirm the Bulk Order through our transaction cart

JSON Format
{
"sellerAddress": string,
"tokenAPolicyId": string,
"tokenAAssetId": string,
"tokenAQuantity": number,
"buyerAddress": string,
"tokenBPolicyId": string,
"tokenBAssetId": string,
"tokenBQuantity": number,
"feeRatio": number
}
CSV Format
Template: https://docs.google.com/spreadsheets/d/18Y6Z0g5opZQZynHEq5swfmxWQr2qTAxKBPB2gOF2UCw/edit?usp=sharing Please enter the required data below the headers on your own copy of the above template.
sellerAddress,tokenAPolicyId,tokenAAssetId,tokenAQuantity,buyerAddress,tokenBPolicyId,tokenBAssetId,tokenBQuantity,feeRatio
string,string,string,number,string,string,string,number,number
*feeRatio is the amount of ADA fee you want to pay and how much you want to pass on to the person completing the order. If you set it to 100 you will pay the full fee, if set to 0 you will pass the full fee onto the user completing the order. 50 would make you split the fee 50/50 etc.
Private Sale
Here is an example of the JSON for a private sale:
[
{
"sellerAddress": "addr1q8mmn0ptk45swh...",
"tokenAPolicyId": "",
"tokenAAssetId": "",
"tokenAQuantity": 5000000,
"buyerAddress": "addr1q95kvwcvdlgqaz...",
"tokenBPolicyId": "804f5544c1962a40546827cab750a88404dc7108c0f588b72964754f",
"tokenBAssetId": "56594649",
"tokenBQuantity": 50000000,
"feeRatio": 50
}
]
sellerAddress,tokenAPolicyId,tokenAAssetId,tokenAQuantity,buyerAddress,tokenBPolicyId,tokenBAssetId,tokenBQuantity,feeRatio
addr1q8mmn0ptk45swh...,,,5000000,addr1q95kvwcvdlgqaz...,804f5544c1962a40546827cab750a88404dc7108c0f588b72964754f,56594649,50000000,50
If policyId or assetId is left blank we will assume the asset is ADA. The token quantity should be in lovelace format so if the token has decimals make sure you account for this. An input of 5 will appear as .000005 ADA while an input of will appear as 5 ADA
Public Sale
For a public sale the only difference is the buyerAddress will be left blank. This allows any wallet to complete this order. See example below:
[
{
"sellerAddress": "addr1q8mmn0ptk45swh...",
"tokenAPolicyId": "",
"tokenAAssetId": "",
"tokenAQuantity": 5000000,
"buyerAddress": "",
"tokenBPolicyId": "804f5544c1962a40546827cab750a88404dc7108c0f588b72964754f",
"tokenBAssetId": "56594649",
"tokenBQuantity": 50000000,
"feeRatio": 50
}
]
sellerAddress,tokenAPolicyId,tokenAAssetId,tokenAQuantity,buyerAddress,tokenBPolicyId,tokenBAssetId,tokenBQuantity,feeRatio
addr1q8mmn0ptk45swh...,,,5000000,,804f5544c1962a40546827cab750a88404dc7108c0f588b72964754f,56594649,50000000,50
Claim
For a claim order you will want to leave all tokenB values blank and the tokenBQuantity set to 0 as we do not want anything in return. Here is an example of this structure:
[
{
"sellerAddress": "addr1q8mmn0ptk45swh...",
"tokenAPolicyId": "",
"tokenAAssetId": "",
"tokenAQuantity": 5000000,
"buyerAddress": "addr1q95kvwcvdlgqaz...",
"tokenBPolicyId": "",
"tokenBAssetId": "",
"tokenBQuantity": 0,
"feeRatio": 50
}
]
sellerAddress,tokenAPolicyId,tokenAAssetId,tokenAQuantity,buyerAddress,tokenBPolicyId,tokenBAssetId,tokenBQuantity,feeRatio
addr1q8mmn0ptk45swh...,,,5000000,addr1q95kvwcvdlgqaz...,,,0,50
Last updated