0.3.10 • Published 5 years ago
@logosnetwork/logos-webwallet-sdk v0.3.10
logos-webwallet-sdk
Creates Logos wallets without full nodes
Installation
npm i @logosnetwork/logos-webwallet-sdk
Visual Demo
Classes Documentation
Quick Examples
Sending Logos
const SDK = require('@logosnetwork/logos-webwallet-sdk')
const wallet = new SDK.Wallet({
password: 'password' // Make this strong
})
wallet.createAccount({
privateKey: '34F0A37AAD20F4A260F0A5B3CB3D7FB50673212263E58A380BC10474BB039CE4'
}).then((account) => {
account.createSendRequest([{
destination: 'lgs_3mjbkiwijkbt3aqz8kzm5nmsfhtrbjwkmnyeqi1aoscc46t4xdnfdaunerr6',
amount: '300000000000000000000000000000'
}])
})
Creating a Token
const SDK = require('@logosnetwork/logos-webwallet-sdk')
const wallet = new SDK.Wallet({
password: 'password' // Make this strong
})
wallet.createAccount({
privateKey: '34F0A37AAD20F4A260F0A5B3CB3D7FB50673212263E58A380BC10474BB039CE4'
}).then((account) => {
account.createTokenIssuanceRequest({
name: `UnitTestCoin`,
symbol: `UTC`,
totalSupply: '1000',
feeRate: '1',
issuerInfo: '{"decimals":0,"website":"https://github.com/LogosNetwork/logos-webwallet-sdk"}',
settings: {
issuance: true,
modify_issuance: true,
revoke: true,
modify_revoke: true,
freeze: true,
modify_freeze: true,
adjust_fee: true,
modify_adjust_fee: true,
whitelist: false,
modify_whitelist: true
},
controllers: [{
account: 'lgs_3e3j5tkog48pnny9dmfzj1r16pg8t1e76dz5tmac6iq689wyjfpiij4txtdo',
privileges: {
change_issuance: true,
change_modify_issuance: true,
change_revoke: true,
change_modify_revoke: true,
change_freeze: true,
change_modify_freeze: true,
change_adjust_fee: true,
change_modify_adjust_fee: true,
change_whitelist: true,
change_modify_whitelist: true,
issuance: true,
revoke: true,
freeze: true,
adjust_fee: true,
whitelist: true,
update_issuer_info: true,
update_controller: true,
burn: true,
distribute: true,
withdraw_fee: true,
withdraw_logos: true
}
}]
})
})
0.3.10
5 years ago
0.3.9
5 years ago
0.3.8
5 years ago
0.3.7
5 years ago
0.3.6
5 years ago
0.3.5
5 years ago
0.3.4
5 years ago
0.3.3
5 years ago
0.3.2
5 years ago
0.3.1
5 years ago
0.3.0
5 years ago
0.2.19
5 years ago
0.2.18
5 years ago
0.2.17
5 years ago
0.2.16
5 years ago
0.2.15
5 years ago
0.2.13
5 years ago
0.2.12
5 years ago
0.2.11
5 years ago
0.2.10
5 years ago
0.2.9
5 years ago
0.2.8
5 years ago
0.2.7
5 years ago
0.2.6
5 years ago
0.2.5
5 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.30
5 years ago
0.1.29
5 years ago
0.1.28
5 years ago
0.1.27
5 years ago
0.1.26
5 years ago
0.1.25
5 years ago
0.1.24
5 years ago
0.1.23
5 years ago
0.1.22
5 years ago
0.1.21
5 years ago
0.1.20
5 years ago
0.1.19
5 years ago
0.1.18
5 years ago
0.1.17
5 years ago
0.1.16
5 years ago
0.1.15
5 years ago
0.1.14
5 years ago
0.1.13
5 years ago
0.1.12
5 years ago
0.1.11
5 years ago
0.1.10
5 years ago
0.1.9
5 years ago
0.1.8
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
6 years ago