From 99bbf8474b68c32a506b59d86ee89815d1b76a1e Mon Sep 17 00:00:00 2001 From: XMRZombie Date: Sun, 8 Dec 2024 05:41:48 +0000 Subject: [PATCH] Create Solana.java Used to define the currency name, the ticker and the validation address --- .../main/java/haveno/asset/coins/Solana.java | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 assets/src/main/java/haveno/asset/coins/Solana.java diff --git a/assets/src/main/java/haveno/asset/coins/Solana.java b/assets/src/main/java/haveno/asset/coins/Solana.java new file mode 100644 index 0000000000..e2a035601d --- /dev/null +++ b/assets/src/main/java/haveno/asset/coins/Solana.java @@ -0,0 +1,28 @@ +/* + * This file is part of Haveno. + * + * Haveno is free software: you can redistribute it and/or modify it + * under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at + * your option) any later version. + * + * Haveno is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public + * License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Haveno. If not, see . + */ + +package haveno.asset.coins; + +import haveno.asset.Coin; +import haveno.asset.SolanaAddressValidator; + +public class Solana extends Coin { + + public Solana() { + super("Solana", "SOL", new SolanaAddressValidator()); + } +}