Skip to content

Commit

Permalink
feat(SPV-000): default AdminXPriv for example_keys & polishing (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-4chain authored Jan 23, 2025
1 parent 96cf323 commit f16c37d
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions examples/example_keys.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
package examples

const (
Alias string = "test"
Domain string = "example.com"
Paymail string = Alias + "@" + Domain
Alias = "test"
Domain = "example.com"
Paymail = Alias + "@" + Domain
)

const (
AdminXPriv string = ""
UserXPriv string = ""
UserXPub string = ""
AccessKey string = ""
// AdminXPriv is used to authenticate as an admin in the spv-wallet.
// NOTE: The provided key is a default key that matches SPV Wallet's default configuration.
AdminXPriv string = "xprv9s21ZrQH143K3CbJXirfrtpLvhT3Vgusdo8coBritQ3rcS7Jy7sxWhatuxG5h2y1Cqj8FKmPp69536gmjYRpfga2MJdsGyBsnB12E19CESK"

// UserXPriv is used to authenticate as a user in the spv-wallet.
// You can generate a new key pair using "generate_keys" example.
UserXPriv string = ""

// UserXPub is a public part of the UserXPriv key. It is used to create a new user in the spv-wallet by the admin.
UserXPub string = ""
)

0 comments on commit f16c37d

Please sign in to comment.