Let's look at how the App.js file is written:
- First, let's look at the following dependencies, which have to be imported:
import React, { Component } from 'react';import StellarSdk from 'stellar-sdk';import Nav from './Components/Nav';import Description from './Components/Description';import Container from './Components/Container';import USD from './Components/USD';var concat = require('concat-stream');const requestObj = require('request');const DBServer = 'localhost:3600';
From the preceding code, we can make the following observations:
- We import the React object and the StellarSdk into our app.
- The StellarAsk is used to create the USD asset interface for our app. Nav, Description, and Container are the navigation ...