mirror of
https://github.com/BillionsNetwork/verified-agent-identity.git
synced 2026-09-14 14:27:14 +08:00
54 lines
1.8 KiB
JavaScript
54 lines
1.8 KiB
JavaScript
const transactionSender = "0xB3F5d3DD47F6ca17468898291491eBDA69a67797"; // relay sender address
|
|
const verifierDid =
|
|
"did:iden3:privado:main:2SZu1G6YDUtk9AAY6TZic24CcCYcZvtdyp1cQv9cig"; // should be the same as dashboard DID
|
|
const callbackBase =
|
|
"https://attestation-relay.billions.network/api/v1/callback?attestation=";
|
|
const walletAddress = "https://wallet.billions.network";
|
|
const verificationMessage =
|
|
"Complete the verification to link your identity to the agent";
|
|
const requiredAttestationsMessage =
|
|
"The following attestations are required to complete the payment:";
|
|
const pairingReasonMessage = "agent_pairing:v1";
|
|
const accept = [
|
|
"iden3comm/v1;env=application/iden3-zkp-json;circuitId=authV2,authV3,authV3-8-32;alg=groth16",
|
|
];
|
|
const nullifierSessionId = "240416041207230509012302";
|
|
const pouScopeId = 1; // keccak256(nullifierSessionId)
|
|
const pouAllowedIssuer = [
|
|
"did:iden3:billions:main:2VwqkgA2dNEwsnmojaay7C5jJEb8ZygecqCSU3xVfm",
|
|
];
|
|
const authScopeId = 2;
|
|
const urlShortener = "https://identity-dashboard.billions.network";
|
|
const schemaId =
|
|
"0xca354bee6dc5eded165461d15ccb13aceb6f77ebbb1fd3fe45aca686097f2911";
|
|
const resolverUrl = "https://resolver.privado.id/1.0/identifiers";
|
|
const rpcUrl = "https://rpc-mainnet.billions.network";
|
|
const stateContractAddress = "0x3c9acb2205aa72a05f6d77d708b5cf85fca3a896";
|
|
const chainId = 45056;
|
|
const rhsUrl = "https://rhs-staging.polygonid.me";
|
|
const pouCredentialContext =
|
|
"ipfs://QmcUEDa42Er4nfNFmGQVjiNYFaik6kvNQjfTeBrdSx83At";
|
|
|
|
module.exports = {
|
|
transactionSender,
|
|
verifierDid,
|
|
callbackBase,
|
|
walletAddress,
|
|
verificationMessage,
|
|
requiredAttestationsMessage,
|
|
pairingReasonMessage,
|
|
accept,
|
|
nullifierSessionId,
|
|
pouScopeId,
|
|
pouAllowedIssuer,
|
|
authScopeId,
|
|
urlShortener,
|
|
schemaId,
|
|
resolverUrl,
|
|
rpcUrl,
|
|
stateContractAddress,
|
|
chainId,
|
|
rhsUrl,
|
|
pouCredentialContext,
|
|
};
|