mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 20:05:50 +00:00
JS get started: more edits per feedback
This commit is contained in:
@@ -7,6 +7,7 @@ if (typeof module !== "undefined") {
|
||||
|
||||
// Example credentials
|
||||
const wallet = xrpl.Wallet.fromSeed("sn3nxiW7v8KXzPzAqzyHXbSSKNuN9")
|
||||
console.log(wallet.address) // rMCcNuTcajgw7YTgBy1sys3b89QqjUrMpH
|
||||
|
||||
// Connect -------------------------------------------------------------------
|
||||
async function main() {
|
||||
|
||||
@@ -35,7 +35,7 @@ To follow this tutorial, you should have some familiarity with writing code in J
|
||||
|
||||
## Install with npm
|
||||
|
||||
Start a new project by creating an empty folder, then change into that folder and use [NPM](https://www.npmjs.com/) to install the latest version of xrpl.js:
|
||||
Start a new project by creating an empty folder, then move into that folder and use [NPM](https://www.npmjs.com/) to install the latest version of xrpl.js:
|
||||
|
||||
```sh
|
||||
npm install xrpl
|
||||
|
||||
Reference in New Issue
Block a user