Skip to content

Commit

Permalink
Added some missing coins
Browse files Browse the repository at this point in the history
- Added some coins that was missing, but there's still a lot of coins that I'm so lazy to add
  • Loading branch information
neto737 committed Apr 13, 2019
1 parent c08c17f commit cef6ce8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/BitGoExpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class BitGoExpress implements BitGoExpressInterface {
private $APIEndpoint = null;
private $url = null;
private $params = [];
private $allowedCoins = ['btc', 'bch', 'btg', 'eth', 'ltc', 'xrp', 'rmg', 'erc', 'omg', 'zrx', 'fun', 'gnt', 'rep', 'bat', 'knc', 'cvc', 'eos', 'qrl', 'nmr', 'pay', 'brd', 'tbtc', 'tbch', 'teth', 'tltc', 'txrp', 'trmg', 'terc'];
private $UTXObased = ['btc', 'bch', 'btg', 'ltc', 'rmg', 'tbtc', 'tbch', 'tltc', 'trmg'];
private $allowedCoins = ['btc', 'bch', 'bsv', 'btg', 'eth', 'dash', 'ltc', 'xrp', 'zec', 'rmg', 'erc', 'omg', 'zrx', 'fun', 'gnt', 'rep', 'bat', 'knc', 'cvc', 'eos', 'qrl', 'nmr', 'pay', 'brd', 'tbtc', 'tbch', 'teth', 'tdash', 'tltc', 'tzec', 'txrp', 'trmg', 'terc'];
private $UTXObased = ['btc', 'bch', 'bsv', 'btg', 'dash', 'ltc', 'rmg', 'zec', 'tbtc', 'tbch', 'tbsv', 'tdash', 'tltc', 'tzec', 'trmg'];
private $login = false;
public $accessToken = null;
public $walletId = null;
Expand Down
2 changes: 1 addition & 1 deletion src/BitGoSDK.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class BitGoSDK implements BitGoSDKInterface {
private $AuthAPIEndpoint = null;
private $url = null;
private $params = [];
private $allowedCoins = ['btc', 'bch', 'btg', 'eth', 'ltc', 'xrp', 'rmg', 'erc', 'omg', 'zrx', 'fun', 'gnt', 'rep', 'bat', 'knc', 'cvc', 'eos', 'qrl', 'nmr', 'pay', 'brd', 'tbtc', 'tbch', 'teth', 'tltc', 'txrp', 'trmg', 'terc'];
private $allowedCoins = ['btc', 'bch', 'bsv', 'btg', 'eth', 'dash', 'ltc', 'xrp', 'zec', 'rmg', 'erc', 'omg', 'zrx', 'fun', 'gnt', 'rep', 'bat', 'knc', 'cvc', 'eos', 'qrl', 'nmr', 'pay', 'brd', 'tbtc', 'tbch', 'tbsv', 'teth', 'tdash', 'tltc', 'txrp', 'tzec', 'trmg', 'terc'];
public $walletId = null;

/**
Expand Down
6 changes: 6 additions & 0 deletions src/Enum/CurrencyCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ abstract class CurrencyCode {
//PRODUCTION
const BITCOIN = 'btc';
const BITCOIN_CASH = 'bch';
const BITCOIN_SV = 'bsv';
const BITCOIN_GOLD = 'btg';
const ETHEREUM = 'eth';
const DASH = 'dash';
const LITECOIN = 'ltc';
const RIPPLE = 'xrp';
const ROYAL_MINT_GOLD = 'rmg';
const ZCASH = 'zec';

//ERC20 TOKENS
const ERC = 'erc'; //BitGo’s sample ERC20 token
Expand All @@ -44,8 +47,11 @@ abstract class CurrencyCode {
//TESTNET
const BITCOIN_TESTNET = 'tbtc';
const BITCOIN_CASH_TESTNET = 'tbch';
const BITCOIN_SV_TESTNET = 'tbsv';
const ETHEREUM_TESTNET = 'teth';
const DASH_TESTNET = 'tdash';
const LITECOIN_TESTNET = 'tltc';
const ZCASH_TESTNET = 'tzec';
const RIPPLE_TESTNET = 'txrp';
const ROYAL_MINT_GOLD_TESTNET = 'trmg';
const ERC_TESTNET = 'terc';
Expand Down

0 comments on commit cef6ce8

Please sign in to comment.