wallet-fetcher: allowing multiple wallet

Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
Alexis Pentori 2023-12-05 14:13:25 +01:00
parent 0bd61451e5
commit 3bbc5be5f0
No known key found for this signature in database
GPG Key ID: 65250D2801E47A10
2 changed files with 10 additions and 2 deletions

View File

@ -77,7 +77,7 @@ class SourceWalletFetcher(AbstractSource):
for wallet in config["wallets"]:
tokens.append(
Token(
wallet_address=wallet,
wallet_address=wallet['address'],
)
)
return tokens

View File

@ -11,4 +11,12 @@ connectionSpecification:
description: "List of wallet to scan"
type: array
items:
type: string
type: object
additionalProperties: true
properties:
address:
title: Address
type: string
name:
title: Name
type: string