jingyufanclub / xrpl-for-dogs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XRPL for Dogs

XRPL for Dogs is a mobile app built with React Native and XRPL.js to turn your experiences of meeting cute dogs on the street into unique NFTs.

Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step before proceeding. You will need a free developer account with Piñata and an XRP Wallet.

Step 1: Enter environment variables

Fill in your Pinata token, Pinata gateway (or use the public gateway), and XRP wallet seed in the .env.development file.

PINATA_BASE_URL=https://api.pinata.cloud/pinning
PINATA_PRIVATE_GATEWAY=
PINATA_TOKEN=
PUBLIC_GATEWAY=https://ipfs.io/ipfs
WALLET_SEED=
XRPL_NETWORK=wss://s.altnet.rippletest.net:51233/

Step 2: Start the Metro Server

You will need to start Metro, the JavaScript bundler that ships with React Native. To start Metro, run the following command from the root of your React Native project:

npm start

Step 3: Start the App

Let Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your iOS or Android app:

# for iOS
npm run ios

# for Android
npm run android

About


Languages

Language:TypeScript 65.2%Language:Java 17.6%Language:Objective-C 5.6%Language:Ruby 5.4%Language:JavaScript 4.6%Language:Objective-C++ 1.8%