File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ function generateDomainVerificationKeys() {
4949
5050function main ( ) {
5151 try {
52- console . log ( '🔑 Generating Base domain verification keys...\n' ) ;
5352
5453 const { jwks, privateKey } = generateDomainVerificationKeys ( ) ;
5554
@@ -67,19 +66,7 @@ function main() {
6766 // Write the private key to a separate file in the project root directory
6867 const privateKeyPath = join ( projectRoot , 'domain-verification-private-key.txt' ) ;
6968 writeFileSync ( privateKeyPath , privateKey ) ;
70-
71- console . log ( '✅ Successfully generated domain verification keys!\n' ) ;
72- console . log ( '📁 Files created:' ) ;
73- console . log ( ` • ${ jwksPath } - JWKS file for your domain` ) ;
74- console . log ( ` • ${ privateKeyPath } - Private key (keep this secure!)\n` ) ;
75-
76- console . log ( '🌐 Next steps:' ) ;
77- console . log ( ' 1. Host the base-jwks.json file at: https://yourdomain.com/.well-known/base-jwks.json' ) ;
78- console . log ( ' 2. Store the private key securely for use with the SDK' ) ;
79- console . log ( ' 3. Use the private key with the SDK\'s generateSignature function\n' ) ;
80-
8169 } catch ( error ) {
82- console . error ( '❌ Error generating domain verification keys:' , error ) ;
8370 process . exit ( 1 ) ;
8471 }
8572}
You can’t perform that action at this time.
0 commit comments