ripplelib
Version:
A JavaScript API for interacting with Ripple in Node.js and the browser
24 lines (23 loc) • 587 B
JavaScript
/**
* Ripple ledger namespace prefixes.
*
* The Ripple ledger is a key-value store. In order to avoid name collisions,
* names are partitioned into namespaces.
*
* Each namespace is just a single character prefix.
*/
;
module.exports = {
account: 'a',
dirNode: 'd',
generatorMap: 'g',
nickname: 'n',
rippleState: 'r',
offer: 'o', // Entry for an offer.
ownerDir: 'O', // Directory of things owned by an account.
bookDir: 'B', // Directory of order books.
contract: 'c',
skipList: 's',
amendment: 'f',
feeSettings: 'e'
};