Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default wallet implementation to env vars #80 #85

Merged
merged 9 commits into from
Oct 1, 2024

Conversation

sajalbnl
Copy link
Contributor

@sajalbnl sajalbnl commented Sep 21, 2024

Default wallet implementation to env vars

sajalbnl and others added 8 commits September 2, 2024 18:17
# Conflicts:
#	wallet_app/android/app/src/main/AndroidManifest.xml
#	wallet_app/android/app/src/main/java/com/example/walletapp/MainActivity.kt
#	wallet_app/android/app/src/main/java/com/example/walletapp/WalletActivity.kt
#	wallet_app/android/app/src/main/java/com/example/walletapp/ui/activity/AccountBalanceActivity.kt
buildConfigField("String", "DEMO_ACCOUNT_ADDRESS", "\"0x02dc260794e4c2eeae87b1403a88385a72c18a5844d220b88117b2965a8cf3a5\"")
buildConfigField("String", "DEMO_PRIVATE_KEY", "\"rFAP8fkTAz9TmYw8_V5Fyzxi-WSoQdhk\"")
buildConfigField("String", "DEMO_RECIPIENT_ACCOUNT_ADDRESS", "\"0xc1c7db92d22ef773de96f8bde8e56c85\"")
buildConfigField("String", "DEMO_RPC_URL", "\"https://starknet-mainnet.g.alchemy.com/starknet/version/rpc/v0_7/rFAP8fkTAz9TmYw8_V5Fyzxi-WSoQdhk\"")
Copy link
Collaborator

@trbutler4 trbutler4 Sep 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

load this whole url from local.properties.

// Predefined values for account creation
val privateKey = Felt.fromHex("0x2bbf4f9fd0bbb2e60b0316c1fe0b76cf7a4d0198bd493ced9b8df2a3a24d68a") // TODO(#80): Load from local.properties
val accountAddress = Felt.fromHex("0xb3ff441a68610b30fd5e2abbf3a1548eb6ba6f3559f2862bf2dc757e5828ca") // TODO(#80): Load from local.properties
val privateKey = Felt.fromHex(privateKey) // TODO(#80): Load from local.properties
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove TODO comments

@trbutler4 trbutler4 self-requested a review October 1, 2024 02:32
@trbutler4 trbutler4 merged commit 8a304eb into keep-starknet-strange:main Oct 1, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants