export const payloadConnectionExampleConfig = {
/**
* The wallet's metadata that is used to authenticate the wallet connection.
* This includes the wallet address and the relevant signatures for secure communication.
*
* @type {object}
*/
wallet_meta: {
/**
* The address of the wallet, which is used for identifying the wallet in the transaction.
*
* @type {string}
* @example "0:e82b785a9f11c271ce0418a921aa3fa255a98f6cff88be610b8ce2df66ed3ba6"
*/
address: "0:e82b785a9f11c271ce0418a921aa3fa255a98f6cff88be610b8ce2df66ed3ba6",
},
/**
* The verification data required for confirming the wallet connection.
* This object contains the public key and the wallet's state initialization data,
* along with a proof signature to ensure secure communication.
*
* @type {object}
*/
verify: {
/**
* The public key of the wallet. This is used to authenticate the wallet in the connection process.
*
* @type {string}
* @example "a4e1e6811b634985c82132c636fc7fbfef831bbfcf1593dc35f8291fe2c4af2c"
*/
public_key: "a4e1e6811b634985c82132c636fc7fbfef831bbfcf1593dc35f8291fe2c4af2c",
/**
* The initial state of the wallet, which is encoded in Base64 format.
* This includes the wallet's code and the initialization parameters necessary to establish the wallet's state.
*
* @type {string}
* @example "to4cckECFgEAAwQAAgE0ARUBFP8A9KQT9LzssAsCAgEgAxACAUgEBwLm0AHQ0wMhcbCSXwTgItdJwSCSXwTgAtMfIYIQcGx1Z70ighBkc3RyvbCSXwXgA/pAMCD6RAHIygfL/8nQ7UTQgQFA1yH0BDBcgQEI9ApvoTGzkl8H4AXTP8glghBwbHVnupI4MOMNA4IQZHN0crqSXwbjDQUGAHgB+gD0BDD4J28iMFAKoSG+8uBQghBwbHVngx6xcIAYUATLBSbPFlj6Ahn0AMtpF8sfUmDLPyDJgED7AAYAilAEgQEI9Fkw7UTQgQFA1yDIAc8W9ADJ7VQBcrCOI4IQZHN0coMesXCAGFAFywVQA88WI/oCE8tqyx/LP8mAQPsAkl8D4gIBIAgPAgEgCQ4CAVgKCwA9sp37UTQgQFA1yH0BDACyMoHy//J0AGBAQj0Cm+hMYAIBIAwNABmtznaiaEAga5Drhf/AABmvHfaiaEAQa5DrhY/AABG4yX7UTQ1wsf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0kK29qJoQICga5D6AhhHDUCAhHpJN9KZEM5pA+n/mDeBKAG3gQFImHFZ8xhAT48oMI1xgg0x/TH9MfAvgju/Jk7UTQ0x/TH9P/9ATRUUO68qFRUbryogX5AVQQZPkQ8qP4ACSkyMsfUkDLH1Iwy/9SEPQAye1U+A8B0wchwACfbFGTINdKltMH1AL7AOgw4CHAAeMAIcAC4wABwAORMOMNA6TIyx8Syx/L/xESExQAbtIH+gDU1CL5AAXIygcVy//J0Hd0gBjIywXLAiLPFlAF+gIUy2sSzMzJc/sAyEAUgQEI9FHypwIAcIEBCNcY+gDTP8hUIEeBAQj0UfKnghBub3RlcHSAGMjLBcsCUAbPFlAE+gIUy2oSyx/LP8lz+wACAGyBAQjXGPoA0z8wUiSBAQj0WfKnghBkc3RycHSAGMjLBcsCUAXPFlAD+gITy2rLHxLLP8lz+wAACvQAye1UAFEAAAAAKamjF6Ph5YEdY0mFyCEyxjb8f7/vgxu/zxWT3DX4KR/ixK8sQN9iJtU=",
/**
* The proof object is used to verify the integrity of the transaction.
* It contains the timestamp, domain, payload, and the signature that is used for the proof.
*
* @type {object}
*/
proof: {
/**
* The timestamp of when the signature was created, in seconds since the UNIX epoch (UTC).
*
* @type {number}
* @example 1731021811
*/
timestamp: 1731021811,
/**
* The length of the domain name being verified, typically 11 characters for the Swap Widget.
*
* @type {number}
* @example 11
*/
domain_len: 11,
/**
* The domain name associated with the transaction, which should match the domain the wallet is connecting from.
*
* @type {string}
* @example "swap.coffee"
*/
domain_val: "swap.coffee",
/**
* The payload of the wallet transaction, a string that uniquely identifies the transaction or action being verified.
*
* @type {string}
* @example "uD3ZE2YmeErIlVNhYItMnoiPfeDqSDCs"
*/
payload: "uD3ZE2YmeErIlVNhYItMnoiPfeDqSDCs",
/**
* The signature for the proof, ensuring the authenticity of the transaction.
*
* @type {string}
* @example "CDbBPcRMRcflfqhNK8FAW7uzcK7MZZGsK3+o+atFXAdQAs3NsGZt/YpeDZoes55bBgzQwk2hraHMOJyfZrDPBg=="
*/
signature: "CDbBPcRMRcflfqhNK8FAW7uzcK7MZZGsK3+o+atFXAdQAs3NsGZt/YpeDZoes55bBgzQwk2hraHMOJyfZrDPBg=="
}
}
}