mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
8a53abc32f6ec6c7d50cd182492d6fb511b86704
» node
> ripple = require('ripple-lib')
Error: Cannot find module 'babel-core/polyfill'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/Users/alan/Projects/ripple-connect/node_modules/ripple-lib/dist/npm/index.js:23:3)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
#ripple-lib
A JavaScript API for interacting with Ripple in Node.js and the browser
###Features
- Connect to a rippled server in JavaScript (Node.js or browser)
- Issue rippled API requests
- Listen to events on the Ripple network (transaction, ledger, etc.)
- Sign and submit transactions to the Ripple network
##Getting Started
Install ripple-lib using npm:
$ npm install ripple-lib
Then see the documentation and code samples
##Running tests
- Clone the repository
cdinto the repository and install dependencies withnpm installnpm testornpm test --coverage(istanbulwill create coverage reports in coverage/lcov-report/`)
##Generating Documentation
The continuous integration tests require that the documentation stays up-to-date. If you make changes the the JSON schemas, fixtures, or documentation sources, you must update the documentation by running npm run docgen.
##More Information
Description
A JavaScript/TypeScript API for interacting with the Xahau Ledger in Node.js and the browser
Languages
TypeScript
97.4%
JavaScript
2.6%

