Create api object
var smart_api = require('./index.js');
var SmartApi = new smart_api({
host: 'http://192.168.1.125:8180'
});
Set keypair for signed api calls
SmartApi.setKeypair(StellarSdk.Keypair.fromSeed('SAANXP4M47WTOMQO6BSV5HQOZBJDF3LOR3WD4D2MOF452O7ESPJMDLET'));
Notice Check ./test/test.js for better implementation details. Api docs will be updated soon.
SmartApi.Wallets.create()
SmartApi.Wallets.update()
SmartApi.Wallets.updatePassword()
SmartApi.Wallets.notExist()
SmartApi.Admins.getList()
SmartApi.Admins.getList()
SmartApi.Admins.getList()
SmartApi.Admins.getList()
SmartApi.Admins.getList()
SmartApi.Admins.approve()
SmartApi.Admins.decline()
SmartApi.Admins.getList()
SmartApi.Admins.getForUser()
SmartApi.Admins.getForAgent()
SmartApi.Admins.getList()
SmartApi.Admins.getStatistics()
SmartApi.Admins.createStore()
SmartApi.Admins.getStores()
SmartApi.Admins.getOrder()
SmartApi.Admins.getStoreOrders()
SmartApi.Admins.getList()