Support macaroons and TLS && Add arkd wallet cmds (#232)

* Update protos

* Update handlers

* Support macaroons and TLS

* Add arkd cli

* Minor fixes

* Update deps

* Fixes

* Update makefile

* Fixes

* Fix

* Fix

* Fix

* Remove trusted onboarding from client

* Completely remove trusted onboarding

* Fix compose files and add --no-macaroon flag to arkd cli

* Lint

* Remove e2e for trusted onboarding

* Add sleep time
This commit is contained in:
Pietralberto Mazza
2024-08-09 17:59:31 +02:00
committed by GitHub
parent 059e837794
commit 57ce08f239
105 changed files with 12111 additions and 1617 deletions

View File

@@ -101,38 +101,6 @@
]
}
},
"/v1/onboard/address": {
"post": {
"operationId": "ArkService_TrustedOnboarding",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1TrustedOnboardingResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v1TrustedOnboardingRequest"
}
}
],
"tags": [
"ArkService"
]
}
},
"/v1/payment/claim": {
"post": {
"operationId": "ArkService_ClaimPayment",
@@ -704,22 +672,6 @@
}
}
},
"v1TrustedOnboardingRequest": {
"type": "object",
"properties": {
"userPubkey": {
"type": "string"
}
}
},
"v1TrustedOnboardingResponse": {
"type": "object",
"properties": {
"address": {
"type": "string"
}
}
},
"v1Vtxo": {
"type": "object",
"properties": {

View File

@@ -5,6 +5,9 @@
"version": "version not set"
},
"tags": [
{
"name": "WalletInitializerService"
},
{
"name": "WalletService"
}
@@ -62,7 +65,7 @@
},
"/v1/admin/wallet/create": {
"post": {
"operationId": "WalletService_Create",
"operationId": "WalletInitializerService_Create",
"responses": {
"200": {
"description": "A successful response.",
@@ -88,7 +91,7 @@
}
],
"tags": [
"WalletService"
"WalletInitializerService"
]
}
},
@@ -126,7 +129,7 @@
},
"/v1/admin/wallet/restore": {
"post": {
"operationId": "WalletService_Restore",
"operationId": "WalletInitializerService_Restore",
"responses": {
"200": {
"description": "A successful response.",
@@ -152,13 +155,13 @@
}
],
"tags": [
"WalletService"
"WalletInitializerService"
]
}
},
"/v1/admin/wallet/seed": {
"get": {
"operationId": "WalletService_GenSeed",
"operationId": "WalletInitializerService_GenSeed",
"responses": {
"200": {
"description": "A successful response.",
@@ -174,13 +177,13 @@
}
},
"tags": [
"WalletService"
"WalletInitializerService"
]
}
},
"/v1/admin/wallet/status": {
"get": {
"operationId": "WalletService_GetStatus",
"operationId": "WalletInitializerService_GetStatus",
"responses": {
"200": {
"description": "A successful response.",
@@ -196,13 +199,13 @@
}
},
"tags": [
"WalletService"
"WalletInitializerService"
]
}
},
"/v1/admin/wallet/unlock": {
"post": {
"operationId": "WalletService_Unlock",
"operationId": "WalletInitializerService_Unlock",
"responses": {
"200": {
"description": "A successful response.",
@@ -228,7 +231,7 @@
}
],
"tags": [
"WalletService"
"WalletInitializerService"
]
}
}
@@ -347,6 +350,10 @@
},
"password": {
"type": "string"
},
"gapLimit": {
"type": "string",
"format": "uint64"
}
}
},