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

Thirdweb Pay, Buy with Crypto Scene/Prefab Examples, Cross-Platform Support #165

Merged
merged 12 commits into from
Mar 28, 2024

Conversation

0xFirekeeper
Copy link
Member

@0xFirekeeper 0xFirekeeper commented Mar 26, 2024

PR-Codex overview

The focus of this PR is to introduce payment functionalities for buying crypto assets in a Unity project.

Detailed summary

  • Added payment constants and methods
  • Implemented buy with crypto functionality
  • Defined error response and token classes
  • Created methods to get quote, buy, check status, and view swap history

The following files were skipped due to too many changes: Assets/Thirdweb/Core/Scripts/Pay/Types.GetBuyWithCryptoStatus.cs, Assets/Thirdweb/Core/Scripts/Pay/ThirdwebPay.GetBuyWithCryptoStatus.cs, Assets/Thirdweb/Core/Scripts/Pay/Types.GetBuyWithCryptoHistory.cs, Assets/Thirdweb/Core/Scripts/Utils.cs, Assets/Thirdweb/Core/Scripts/Pay/ThirdwebPay.GetBuyWithCryptoHistory.cs, Assets/Thirdweb/Core/Scripts/Pay/ThirdwebPay.GetBuyWithCryptoQuote.cs, Assets/Thirdweb/Core/Scripts/Wallet.cs, Assets/Thirdweb/Core/Scripts/Pay/Types.GetBuyWithCryptoQuote.cs, Assets/Thirdweb/Examples/Scenes/Scene_Pay.unity, Assets/Thirdweb/Examples/Prefabs/Prefab_BuyWithCrypto.prefab

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

github-actions bot commented Mar 26, 2024

Test Results for Android

  1 files  ±0   15 suites  ±0   6m 43s ⏱️ -55s
 96 tests ±0   96 ✅ ±0  0 💤 ±0  0 ❌ ±0 
100 runs  ±0  100 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit e95a004. ± Comparison against base commit e12c16d.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Mar 26, 2024

Test Results for StandaloneLinux64

  1 files  ±0   15 suites  ±0   7m 48s ⏱️ + 1m 41s
 96 tests ±0   96 ✅ ±0  0 💤 ±0  0 ❌ ±0 
100 runs  ±0  100 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit e95a004. ± Comparison against base commit e12c16d.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Mar 26, 2024

Test Results for WebGL

  1 files  ±0   15 suites  ±0   7m 33s ⏱️ + 1m 20s
 96 tests ±0   96 ✅ ±0  0 💤 ±0  0 ❌ ±0 
100 runs  ±0  100 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit e95a004. ± Comparison against base commit e12c16d.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Mar 26, 2024

Test Results for iOS

  1 files  ±0   15 suites  ±0   6m 49s ⏱️ +45s
 96 tests ±0   96 ✅ ±0  0 💤 ±0  0 ❌ ±0 
100 runs  ±0  100 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit e95a004. ± Comparison against base commit e12c16d.

♻️ This comment has been updated with latest results.

@0xFirekeeper 0xFirekeeper merged commit 635d781 into main Mar 28, 2024
11 checks passed
@0xFirekeeper 0xFirekeeper deleted the firekeeper/thirdweb-pay branch March 28, 2024 02:41
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.

1 participant