mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-06 13:44:23 -04:00
Create Solana.java
Used to define the currency name, the ticker and the validation address
This commit is contained in:
parent
0bdd8c51c1
commit
99bbf8474b
1 changed files with 28 additions and 0 deletions
28
assets/src/main/java/haveno/asset/coins/Solana.java
Normal file
28
assets/src/main/java/haveno/asset/coins/Solana.java
Normal file
|
@ -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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package haveno.asset.coins;
|
||||||
|
|
||||||
|
import haveno.asset.Coin;
|
||||||
|
import haveno.asset.SolanaAddressValidator;
|
||||||
|
|
||||||
|
public class Solana extends Coin {
|
||||||
|
|
||||||
|
public Solana() {
|
||||||
|
super("Solana", "SOL", new SolanaAddressValidator());
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue