-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
brfc_definintions.go
193 lines (191 loc) · 7.37 KB
/
brfc_definintions.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
package paymail
// All BRFC IDs that have been used/referenced in the library
const (
BRFCBasicAddressResolution = "759684b1a19a" // more info: http://bsvalias.org/04-01-basic-address-resolution.html
BRFCP2PPaymentDestination = "2a40af698840" // more info: https://docs.moneybutton.com/docs/paymail/paymail-07-p2p-payment-destination.html
BRFCP2PPaymentDestinationWithToken = "f792b6eff07a" //nolint:gosec // more info: https://docs.moneybutton.com/docs/paymail/paymail-11-p2p-payment-destination-tokens.html
BRFCP2PTransactions = "5f1323cddf31" // more info: https://docs.moneybutton.com/docs/paymail/paymail-06-p2p-transactions.html
BRFCPaymentDestination = "paymentDestination" // more info: http://bsvalias.org/04-01-basic-address-resolution.html
BRFCPayToProtocolPrefix = "7bd25e5a1fc6" // more info: http://bsvalias.org/04-04-payto-protocol-prefix.html
BRFCPki = "pki" // more info: http://bsvalias.org/03-public-key-infrastructure.html
BRFCPkiAlternate = "0c4339ef99c2" // more info: http://bsvalias.org/03-public-key-infrastructure.html
BRFCPublicProfile = "f12f968c92d6" // more info: https://github.com/bitcoin-sv-specs/brfc-paymail/pull/7/files
BRFCReceiverApprovals = "3d7c2ca83a46" // more info: http://bsvalias.org/04-03-receiver-approvals.html
BRFCSenderValidation = "6745385c3fc0" // more info: http://bsvalias.org/04-02-sender-validation.html
BRFCSFPAssetInformation = "1300361cb2d4" // more info: https://docs.moneybutton.com/docs/paymail/paymail-08-asset-information.html
BRFCSFPAuthoriseAction = "95dddb461bff" // more info: https://docs.moneybutton.com/docs/sfp/paymail-10-sfp-authorise.html
BRFCSFPBuildAction = "189e32d93d28" // more info: https://docs.moneybutton.com/docs/sfp/paymail-09-sfp-build.html
BRFCVerifyPublicKeyOwner = "a9f510c16bde" // more info: http://bsvalias.org/05-verify-public-key-owner.html
)
// BRFCKnownSpecifications is a running list of all known BRFC specifications
//
// JSON file was converted into a go:var for binary shipment
// Add your spec at runtime using LoadBRFCs()
// Add your spec to the list below: https://github.com/tonicpow/go-paymail/issues/new/choose
const BRFCKnownSpecifications = `
[
{
"author": "andy (nChain), Ryan X. Charles (Money Button)",
"id": "b2aa66e26b43",
"title": "bsvalias Service Discovery",
"url": "http://bsvalias.org/02-service-discovery.html",
"version": "1"
},
{
"alias": "pki",
"author": "andy (nChain), Ryan X. Charles (Money Button)",
"id": "0c4339ef99c2",
"title": "bsvalias Public Key Infrastructure",
"url": "http://bsvalias.org/03-public-key-infrastructure.html",
"version": "1"
},
{
"alias": "paymentDestination",
"author": "andy (nChain), Ryan X. Charles (Money Button)",
"id": "759684b1a19a",
"title": "bsvalias Payment Addressing (Basic Address ResolutionResponse)",
"url": "http://bsvalias.org/04-01-basic-address-resolution.html",
"version": "1"
},
{
"author": "andy (nChain)",
"id": "6745385c3fc0",
"title": "bsvalias Payment Addressing (Payer Validation)",
"url": "http://bsvalias.org/04-02-sender-validation.html",
"version": "1"
},
{
"author": "andy (nChain)",
"id": "3d7c2ca83a46",
"title": "bsvalias Payment Addressing (Payee Approvals)",
"url": "http://bsvalias.org/04-03-receiver-approvals.html",
"version": "1"
},
{
"author": "andy (nChain)",
"id": "7bd25e5a1fc6",
"title": "bsvalias Payment Addressing (PayTo Protocol Prefix)",
"url": "http://bsvalias.org/04-04-payto-protocol-prefix.html",
"version": "1"
},
{
"author": "andy (nChain), Ryan X. Charles (Money Button), Miguel Duarte (Money Button)",
"id": "a9f510c16bde",
"title": "bsvalias public key verify (Verify Public Key Owner)",
"url": "http://bsvalias.org/05-verify-public-key-owner.html",
"version": "1"
},
{
"author": "Ryan X. Charles (Money Button), Miguel Duarte (Money Button), Rafa Jimenez Seibane (Handcash), Ivan Mlinarić (Handcash)",
"id": "5f1323cddf31",
"title": "P2P Transactions",
"url": "https://docs.moneybutton.com/docs/paymail-06-p2p-transactions.html",
"version": "1"
},
{
"author": "Ryan X. Charles (Money Button), Miguel Duarte (Money Button), Rafa Jimenez Seibane (Handcash), Ivan Mlinarić (Handcash)",
"id": "2a40af698840",
"title": "P2P Payment Destination",
"url": "https://docs.moneybutton.com/docs/paymail-07-p2p-payment-destination.html",
"version": "1"
},
{
"author": "Ryan X. Charles (Money Button)",
"id": "f12f968c92d6",
"title": "Public Profile (Name & Avatar)",
"url": "https://github.com/bitcoin-sv-specs/brfc-paymail/pull/7/files",
"version": "1"
},
{
"author": "nChain",
"id": "ce852c4c2cd1",
"title": "merchant_api",
"url": "https://github.com/bitcoin-sv-specs/brfc-merchantapi",
"version": "0.1"
},
{
"author": "nChain",
"id": "07f0786cdab6",
"title": "minerId",
"url": "https://github.com/bitcoin-sv-specs/brfc-minerid",
"version": "0.1"
},
{
"author": "nChain",
"id": "fb567267440a",
"title": "feeSpec",
"url": "https://github.com/bitcoin-sv-specs/brfc-misc/tree/master/feespec",
"version": "0.1"
},
{
"author": "nChain",
"id": "62b21572ca46",
"title": "minerIdExt-feeSpec",
"url": "https://github.com/bitcoin-sv-specs/brfc-minerid/tree/master/extensions/feespec",
"version": "0.1"
},
{
"author": "nChain",
"id": "298e080a4598",
"title": "jsonEnvelope",
"url": "https://github.com/bitcoin-sv-specs/brfc-misc/tree/master/jsonenvelope",
"version": "0.1"
},
{
"author": "nChain",
"id": "1b1d980b5b72",
"title": "minerIdExt-minerParams",
"url": "https://github.com/bitcoin-sv-specs/brfc-minerid/tree/master/extensions/minerparams",
"version": "0.1"
},
{
"author": "nChain",
"id": "a224052ad433",
"title": "minerIdExt-blockInfo",
"url": "https://github.com/bitcoin-sv-specs/brfc-minerid/tree/master/extensions/blockinfo",
"version": "0.1"
},
{
"author": "nChain",
"id": "b8930c2bbf5d",
"title": "minerIdExt-blockBind",
"url": "https://github.com/bitcoin-sv-specs/brfc-minerid/tree/master/extensions/blockbind",
"version": "0.1"
},
{
"author": "nChain",
"id": "a0a4c8b96133",
"title": "spv_channels",
"url": "https://github.com/bitcoin-sv-specs/brfc-spvchannels",
"version": "1.0.0-beta"
},
{
"author": "Fabriik",
"id": "1300361cb2d4",
"title": "Asset Information",
"url": "https://docs.moneybutton.com/docs/paymail/paymail-08-asset-information.html",
"version": "1"
},
{
"author": "Fabriik",
"id": "189e32d93d28",
"title": "Simple Fabriik Protocol for Tokens Build Action",
"url": "https://docs.moneybutton.com/docs/sfp/paymail-09-sfp-build.html",
"version": "1"
},
{
"author": "Fabriik",
"id": "95dddb461bff",
"title": "Simple Fabriik Protocol for Tokens Authorise Action",
"url": "https://docs.moneybutton.com/docs/sfp/paymail-10-sfp-authorise.html",
"version": "1"
},
{
"author": "Fabriik",
"id": "f792b6eff07a",
"title": "P2P Payment Destination with Tokens Support",
"url": "https://docs.moneybutton.com/docs/paymail/paymail-11-p2p-payment-destination-tokens.html",
"version": "1"
}
]
`