diff --git a/lib/pages/mini-games/up/down.dart b/lib/pages/mini-games/up/down.dart index a9bf53a..00cd748 100644 --- a/lib/pages/mini-games/up/down.dart +++ b/lib/pages/mini-games/up/down.dart @@ -168,7 +168,7 @@ class DownGame extends Forge2DGame with TapDetector { } newBoxAndScore() { - score += 10; + score += 1; scoreText.text = 'Score: ${score.toString().padLeft(3, '0')}'; add(Box(newBoxAndScore, finishGame)); } @@ -413,7 +413,7 @@ class _GameWidgetDownState extends State { mainWalletKey!, ); - const programId = '9V9ttZw7WTYW78Dx3hi2hV7V76PxAs5ZwbCkGi7qq8FW'; + final programId = dotenv.env['PROGRAM_ID'].toString(); final systemProgramId = solana.Ed25519HDPublicKey.fromBase58(solana.SystemProgram.programId); diff --git a/lib/pages/my-dinogrow/my_dinogrow.dart b/lib/pages/my-dinogrow/my_dinogrow.dart index 826880e..7ddc9dd 100644 --- a/lib/pages/my-dinogrow/my_dinogrow.dart +++ b/lib/pages/my-dinogrow/my_dinogrow.dart @@ -367,7 +367,7 @@ class _MydinogrowScreenState extends State { mainWalletKey!, ); - const programId = '9V9ttZw7WTYW78Dx3hi2hV7V76PxAs5ZwbCkGi7qq8FW'; + final programId = dotenv.env['PROGRAM_ID'].toString(); final programIdPublicKey = solana.Ed25519HDPublicKey.fromBase58(programId); diff --git a/lib/pages/ranking/ranking.dart b/lib/pages/ranking/ranking.dart index 4eedeb2..ee10f06 100644 --- a/lib/pages/ranking/ranking.dart +++ b/lib/pages/ranking/ranking.dart @@ -141,7 +141,7 @@ class _RankingScreenState extends State { websocketUrl: Uri.parse(dotenv.env['QUICKNODE_RPC_WSS'].toString()), ); - const programId = '9V9ttZw7WTYW78Dx3hi2hV7V76PxAs5ZwbCkGi7qq8FW'; + final programId = dotenv.env['PROGRAM_ID'].toString(); // Obtener todas las cuentas del programa final accounts = await client.rpcClient.getProgramAccounts( diff --git a/macos/Podfile.lock b/macos/Podfile.lock index c30ff3d..b300b12 100644 --- a/macos/Podfile.lock +++ b/macos/Podfile.lock @@ -1,16 +1,27 @@ PODS: + - connectivity_plus (0.0.1): + - FlutterMacOS + - ReachabilitySwift - flutter_secure_storage_macos (6.1.1): - FlutterMacOS - FlutterMacOS (1.0.0) + - ReachabilitySwift (5.0.0) - url_launcher_macos (0.0.1): - FlutterMacOS DEPENDENCIES: + - connectivity_plus (from `Flutter/ephemeral/.symlinks/plugins/connectivity_plus/macos`) - flutter_secure_storage_macos (from `Flutter/ephemeral/.symlinks/plugins/flutter_secure_storage_macos/macos`) - FlutterMacOS (from `Flutter/ephemeral`) - url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`) +SPEC REPOS: + trunk: + - ReachabilitySwift + EXTERNAL SOURCES: + connectivity_plus: + :path: Flutter/ephemeral/.symlinks/plugins/connectivity_plus/macos flutter_secure_storage_macos: :path: Flutter/ephemeral/.symlinks/plugins/flutter_secure_storage_macos/macos FlutterMacOS: @@ -19,8 +30,10 @@ EXTERNAL SOURCES: :path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos SPEC CHECKSUMS: + connectivity_plus: 18d3c32514c886e046de60e9c13895109866c747 flutter_secure_storage_macos: d56e2d218c1130b262bef8b4a7d64f88d7f9c9ea FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24 + ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825 url_launcher_macos: d2691c7dd33ed713bf3544850a623080ec693d95 PODFILE CHECKSUM: 236401fc2c932af29a9fcf0e97baeeb2d750d367 diff --git a/pubspec.yaml b/pubspec.yaml index 370e0e0..611603b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dinogrow description: 2D blockchain game about growing dinosaurs. -version: 1.0.0+1 +version: 1.0.0+3 environment: sdk: ">=3.0.2 <4.0.0"