PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo-express/node_modules/bitgo/src/v2/coins
Просмотр файла: txrp.js
var Xrp = require('./xrp');
var _ = require('lodash');
var Txrp = function() {
// this function is called externally from BaseCoin
// replace the BaseCoin prototype with the local override prototype, which inherits from BaseCoin
// effectively, move the BaseCoin prototype one level away
this.__proto__ = Txrp.prototype;
};
Txrp.prototype.__proto__ = Xrp.prototype;
Txrp.prototype.getChain = function() {
return 'txrp';
};
module.exports = Txrp;
Выполнить команду
Для локальной разработки. Не используйте в интернете!