mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
apikey updates
This commit is contained in:
parent
6b560aadad
commit
083c5ac593
4 changed files with 7 additions and 4 deletions
3
.github/workflows/pr_test_build.yml
vendored
3
.github/workflows/pr_test_build.yml
vendored
|
@ -150,7 +150,8 @@ jobs:
|
|||
echo "const moralisApiKey = '${{ secrets.MORALIS_API_KEY }}';" >> lib/.secrets.g.dart
|
||||
echo "const polygonScanApiKey = '${{ secrets.POLYGON_SCAN_API_KEY }}';" >> cw_evm/lib/.secrets.g.dart
|
||||
echo "const breezApiKey = '${{ secrets.BREEZ_API_KEY }}';" >> cw_lightning/lib/.secrets.g.dart
|
||||
echo "const breezInviteCode = '${{ secrets.BREEZ_INVITE_CODE }}';" >> cw_lightning/lib/.secrets.g.dart
|
||||
echo "const greenlightCert = '${{ secrets.GREENLIGHT_CERTIFICATE }}';" >> cw_lightning/lib/.secrets.g.dart
|
||||
echo "const greenlightKey = '${{ secrets.GREENLIGHT_KEY }}';" >> cw_lightning/lib/.secrets.g.dart
|
||||
echo "const ankrApiKey = '${{ secrets.ANKR_API_KEY }}';" >> cw_solana/lib/.secrets.g.dart
|
||||
|
||||
- name: Rename app
|
||||
|
|
|
@ -154,8 +154,8 @@ abstract class LightningWalletBase extends ElectrumWallet with Store {
|
|||
print("Error initializing Breez: $e");
|
||||
}
|
||||
|
||||
Uint8List deviceKey = Uint8List(0);
|
||||
Uint8List deviceCert = Uint8List(0);
|
||||
Uint8List deviceKey = base64.decode(secrets.greenlightKey);
|
||||
Uint8List deviceCert = base64.decode(secrets.greenlightCert);
|
||||
GreenlightCredentials greenlightCredentials = GreenlightCredentials(
|
||||
deviceKey: deviceKey,
|
||||
deviceCert: deviceCert,
|
||||
|
|
|
@ -83,6 +83,7 @@ abstract class NodeCreateOrEditViewModelBase with Store {
|
|||
case WalletType.litecoin:
|
||||
case WalletType.bitcoinCash:
|
||||
case WalletType.bitcoin:
|
||||
case WalletType.lightning:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,7 +48,8 @@ class SecretKey {
|
|||
|
||||
static final bitcoinSecrets = [
|
||||
SecretKey('breezApiKey', () => ''),
|
||||
SecretKey('breezInviteCode', () => ''),
|
||||
SecretKey('greenlightCert', () => ''),
|
||||
SecretKey('greenlightKey', () => ''),
|
||||
];
|
||||
|
||||
static final solanaSecrets = [
|
||||
|
|
Loading…
Reference in a new issue