From d33a99d866590482093d5789cb3102541318eb75 Mon Sep 17 00:00:00 2001 From: GigaHierz Date: Tue, 5 Nov 2024 02:14:42 +0700 Subject: [PATCH 1/4] - remove android studio guide - add standalone app to wallet list --- docs/developer/build-on-minipay/overview.mdx | 8 +- .../prerequisites/android-studio-setup.mdx | 74 ------------------- docs/general/using-celo/wallets.md | 13 +++- docs/learn/Celo-payments.md | 4 +- sidebars.js | 5 -- yarn.lock | 20 +---- 6 files changed, 23 insertions(+), 101 deletions(-) delete mode 100644 docs/developer/build-on-minipay/prerequisites/android-studio-setup.mdx diff --git a/docs/developer/build-on-minipay/overview.mdx b/docs/developer/build-on-minipay/overview.mdx index b1172a7e4c..7018010f9e 100644 --- a/docs/developer/build-on-minipay/overview.mdx +++ b/docs/developer/build-on-minipay/overview.mdx @@ -9,10 +9,10 @@ description: A guide for building on MiniPay and Celo. Welcome to the MiniPay wallet integration guide. [MiniPay](https://www.opera.com/products/minipay) is one of the fastest growing wallets that was built out by Opera on Celo that seeks to create a simple user experience to use DApps. MiniPay is available as a standalone app and inside the Opera Mini browser on Android phones thereby allowing DApp developers to tap into a distribution of 100M users on integration. -This guide provides information on how to develop and test your dapp for MiniPay. +This guide provides information on how to [develop](create-your-minipay-dapp-using-the-celo-composer-minipay-template) and [test](#test-your-dapp-inside-minipay) your dApp for MiniPay. :::info -Install the new [MiniPay standalone app](https://play.google.com/store/apps/details?id=com.opera.minipay) now! πŸŽ‰ πŸ“₯ +Install the new [MiniPay standalone app](https://play.google.com/store/apps/details?id=com.opera.minipay) now! πŸŽ‰ πŸ“₯ ::: ### Get Started with Building on MiniPay @@ -52,6 +52,10 @@ To test your dApp, request test tokens from the Celo [faucet](https://faucet.cel #### 4. Test your dApp inside MiniPay +:::warning +It is not possible anymore to test MiniPay in the Android Studio Emmulator! +::: + 1. Open the MiniPay app on your phone and navigate to settings. Open MiniPay dApp test page - -#### Now you can follow the steps to [install MiniPay](http://docs.celo.org/developer/build-on-minipay/overview#installing-minipay) on the device! diff --git a/docs/general/using-celo/wallets.md b/docs/general/using-celo/wallets.md index 4b08b21b32..603c60a23f 100644 --- a/docs/general/using-celo/wallets.md +++ b/docs/general/using-celo/wallets.md @@ -16,10 +16,21 @@ Celo-optimized wallets provide built-in support for Celo and make use of its uni How to Get Started with MiniPay: -1. **Download Opera Mini**: Get the Opera Mini browser for free from the Google Play Store. +1. **Download Opera Mini**: Get the Opera Mini browser for free from the Google Play Store. 2. **Create an Account**: Open the browser, go to MiniPay, and follow the prompts to create an account, with your google mail address and your phone number. (It will only be shown in the countries that it's live in, meaning where on and off-ramp providers are integrated.) 3. **Explore dApps**: Use the built-in dApp discovery page to find and interact with various Celo-based applications. +### MiniPay (standalone) + +[MiniPay](https://play.google.com/store/apps/details?id=com.opera.minipay) is a stablecoin-based non-custodial wallet now also available as a standalone dapp. It enables instant transactions using a phone number and provides easy access to dApps directly within the browser, all while consuming less than 2MB of data. + +How to Get Started with MiniPay: + +1. **Download Opera Mini**: Get the Opera Mini browser for free from the Google Play Store. +2. **Create an Account**: Open the browser, go to MiniPay, and follow the prompts to create an account, with your google mail address and your phone number. (It will only be shown in the countries that it's live in, meaning where on and off-ramp providers are integrated.) +3. **Explore dApps**: Use the built-in dApp discovery page to find and interact with various Celo-based applications. + + ### Valora [Valora](https://valora.xyz/) is a mobile wallet optimized for the Celo blockchain. It enables users to exchange and securely store digital assets on a mobile phone. ​​Valora supports both Celo and other Ethereum networks. diff --git a/docs/learn/Celo-payments.md b/docs/learn/Celo-payments.md index 585205b072..513151df93 100644 --- a/docs/learn/Celo-payments.md +++ b/docs/learn/Celo-payments.md @@ -20,7 +20,9 @@ Powered by a platform algorithmic native stable coins, Celo Dollars (cUSD), Celo ## Supporting Wallets -- Valora [iOS](https://vlra.app/webappstore) [Android](https://vlra.app/webplaystore)) +- Valora + - [iOS](https://vlra.app/webappstore) + - [Android](https://vlra.app/webplaystore)) ## Requirements diff --git a/sidebars.js b/sidebars.js index d4d1afca40..c6819c5bd7 100644 --- a/sidebars.js +++ b/sidebars.js @@ -157,11 +157,6 @@ const sidebars = { type: "category", label: "Prerequisites", items: [ - { - type: "doc", - label: "Android Studio Setup", - id: "developer/build-on-minipay/prerequisites/android-studio-setup", - }, { type: "doc", label: "Ngrok Setup", diff --git a/yarn.lock b/yarn.lock index d7d1a346f1..12c4645a33 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11147,16 +11147,7 @@ streamx@^2.15.0, streamx@^2.20.0: optionalDependencies: bare-events "^2.2.0" -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string-width@^4.1.0, string-width@^4.2.0: +"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -11205,14 +11196,7 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== From a8213b908f051a82d1fbf635b1ce9f05ef5f114f Mon Sep 17 00:00:00 2001 From: GigaHierz Date: Tue, 5 Nov 2024 19:17:47 +0700 Subject: [PATCH 2/4] fix broken hook --- docs/developer/build-on-minipay/overview.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer/build-on-minipay/overview.mdx b/docs/developer/build-on-minipay/overview.mdx index 7018010f9e..8825e98609 100644 --- a/docs/developer/build-on-minipay/overview.mdx +++ b/docs/developer/build-on-minipay/overview.mdx @@ -9,7 +9,7 @@ description: A guide for building on MiniPay and Celo. Welcome to the MiniPay wallet integration guide. [MiniPay](https://www.opera.com/products/minipay) is one of the fastest growing wallets that was built out by Opera on Celo that seeks to create a simple user experience to use DApps. MiniPay is available as a standalone app and inside the Opera Mini browser on Android phones thereby allowing DApp developers to tap into a distribution of 100M users on integration. -This guide provides information on how to [develop](create-your-minipay-dapp-using-the-celo-composer-minipay-template) and [test](#test-your-dapp-inside-minipay) your dApp for MiniPay. +This guide provides information on how to [develop](2-create-your-minipay-dapp-using-the-celo-composer-minipay-template) and [test](#test-your-dapp-inside-minipay) your dApp for MiniPay. :::info Install the new [MiniPay standalone app](https://play.google.com/store/apps/details?id=com.opera.minipay) now! πŸŽ‰ πŸ“₯ From b554e76ef52224f2d7b9d17ab18f74a892a70e41 Mon Sep 17 00:00:00 2001 From: GigaHierz Date: Tue, 5 Nov 2024 19:21:41 +0700 Subject: [PATCH 3/4] fix broken hook --- docs/developer/build-on-minipay/overview.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/developer/build-on-minipay/overview.mdx b/docs/developer/build-on-minipay/overview.mdx index 8825e98609..cdeea28447 100644 --- a/docs/developer/build-on-minipay/overview.mdx +++ b/docs/developer/build-on-minipay/overview.mdx @@ -9,7 +9,7 @@ description: A guide for building on MiniPay and Celo. Welcome to the MiniPay wallet integration guide. [MiniPay](https://www.opera.com/products/minipay) is one of the fastest growing wallets that was built out by Opera on Celo that seeks to create a simple user experience to use DApps. MiniPay is available as a standalone app and inside the Opera Mini browser on Android phones thereby allowing DApp developers to tap into a distribution of 100M users on integration. -This guide provides information on how to [develop](2-create-your-minipay-dapp-using-the-celo-composer-minipay-template) and [test](#test-your-dapp-inside-minipay) your dApp for MiniPay. +This guide provides information on how to [develop](#create-minipay-dapp) and [test](#test-your-dapp-inside-minipay) your dApp for MiniPay. :::info Install the new [MiniPay standalone app](https://play.google.com/store/apps/details?id=com.opera.minipay) now! πŸŽ‰ πŸ“₯ @@ -38,7 +38,7 @@ To ensure your dApp operates correctly within the MiniPay environment, follow th - **Install the [MiniPay standalone app](https://play.google.com/store/apps/details?id=com.opera.minipay):** Download the app from the PlayStore on your Android device. [ Download MiniPay](https://play.google.com/store/apps/details?id=com.opera.minipay) - **Create an Account:** Set up your MiniPay account by following the on-screen instructions using your Google account and phone number before proceeding with dApp testing. -#### 2. Create Your MiniPay dApp Using the Celo Composer MiniPay Template +#### 2. Create Your MiniPay dApp Using the Celo Composer MiniPay Template {#create-minipay-dapp} Follow the [Quickstart Guide](/build/quickstart.md) for an end-to-end dApp setup and deployment. From f9fe3a86c7227e60726d66793fbed99d8f704ebf Mon Sep 17 00:00:00 2001 From: GigaHierz Date: Wed, 6 Nov 2024 00:53:16 +0700 Subject: [PATCH 4/4] fix broken hook --- docs/developer/build-on-minipay/overview.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/developer/build-on-minipay/overview.mdx b/docs/developer/build-on-minipay/overview.mdx index cdeea28447..dc90c58bc3 100644 --- a/docs/developer/build-on-minipay/overview.mdx +++ b/docs/developer/build-on-minipay/overview.mdx @@ -9,7 +9,7 @@ description: A guide for building on MiniPay and Celo. Welcome to the MiniPay wallet integration guide. [MiniPay](https://www.opera.com/products/minipay) is one of the fastest growing wallets that was built out by Opera on Celo that seeks to create a simple user experience to use DApps. MiniPay is available as a standalone app and inside the Opera Mini browser on Android phones thereby allowing DApp developers to tap into a distribution of 100M users on integration. -This guide provides information on how to [develop](#create-minipay-dapp) and [test](#test-your-dapp-inside-minipay) your dApp for MiniPay. +This guide provides information on how to [develop](#2-create-your-minipay-dapp-using-the-celo-composer-minipay-template) and [test](#4-test-your-dapp-inside-minipay) your dApp for MiniPay. :::info Install the new [MiniPay standalone app](https://play.google.com/store/apps/details?id=com.opera.minipay) now! πŸŽ‰ πŸ“₯ @@ -38,7 +38,7 @@ To ensure your dApp operates correctly within the MiniPay environment, follow th - **Install the [MiniPay standalone app](https://play.google.com/store/apps/details?id=com.opera.minipay):** Download the app from the PlayStore on your Android device. [ Download MiniPay](https://play.google.com/store/apps/details?id=com.opera.minipay) - **Create an Account:** Set up your MiniPay account by following the on-screen instructions using your Google account and phone number before proceeding with dApp testing. -#### 2. Create Your MiniPay dApp Using the Celo Composer MiniPay Template {#create-minipay-dapp} +#### 2. Create Your MiniPay dApp Using the Celo Composer MiniPay Template Follow the [Quickstart Guide](/build/quickstart.md) for an end-to-end dApp setup and deployment.