litewallet

package
v0.0.0-...-da2935b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 6 Imported by: 0

README

###too large could not be uploaded to github, use internal downloading server instead: iOS framwork:vagrant@192.168.1.176:/home/vagrant/mobile_frameworks/framework.tar.gz Android: vagrant@192.168.1.176:/home/vagrant/mobile_frameworks/

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CosmosBroadcastTransferTx

func CosmosBroadcastTransferTx(rootDir, node, chainID, txString, broadcastMode string) string

func CosmosCreateAccount

func CosmosCreateAccount(rootDir, name, password, seed string) string

CosmosCreateAccount create account

func CosmosDelegate

func CosmosDelegate(rootDir, node, chainID, delegatorName, password, delegatorAddr, validatorAddr, delegationCoinStr, feeStr, broadcastMode string) string

CosmosDelegate delegate

func CosmosGetAccount

func CosmosGetAccount(rootDir, node, chainID, addr string) string

CosmosGetAccount get account info

func CosmosGetAllDelegations

func CosmosGetAllDelegations(rootDir, node, chainID, delegatorAddr string) string

CosmosGetAllDelegations get all delegations from the delegator

func CosmosGetAllUnbondingDelegations

func CosmosGetAllUnbondingDelegations(rootDir, node, chainID, delegatorAddr string) string

CosmosGetAllUnbondingDelegations get all unbonding delegations from a specific delegator

func CosmosGetAllValidators

func CosmosGetAllValidators(rootDir, node, chainID string) string

CosmosGetAllValidators get all the validators

func CosmosGetBondValidators

func CosmosGetBondValidators(rootDir, node, chainID, delegatorAddr string) string

CosmosGetBondValidators Get bonded validators

func CosmosGetDelegationRewards

func CosmosGetDelegationRewards(rootDir, node, chainID, delegatorAddr, validatorAddr string) string

CosmosGetDelegationRewards get a delegation reward between delegator and validator

func CosmosGetDelegationShares

func CosmosGetDelegationShares(rootDir, node, chainID, delegatorAddr, validatorAddr string) string

CosmosGetDelegationShares get a specific delegation shares

func CosmosGetDelegtorRewardsShares

func CosmosGetDelegtorRewardsShares(rootDir, node, chainId, delegatorAddr string) string

func CosmosGetValSelfBondShares

func CosmosGetValSelfBondShares(rootDir, node, chainID, validatorAddr string) string

func CosmosQueryQueryTxsWithTags

func CosmosQueryQueryTxsWithTags(rootDir, node, chainID, addr string, page, limit int) string

func CosmosQueryTx

func CosmosQueryTx(rootDir, node, chainId, txHash string) string

CosmosQueryTx query the tx result by txHash generated via async broadcast

func CosmosRecoverKey

func CosmosRecoverKey(rootDir, name, password, seed string) string

CosmosRecoverKey recover key

func CosmosTransfer

func CosmosTransfer(rootDir, node, chainId, fromName, password, toStr, coinStr, feeStr, broadcastMode string) string

CosmosTransfer transfer

func CosmosTransferB4send

func CosmosTransferB4send(rootDir, node, chainID, fromName, password, toStr, coinStr, feeStr string) string

func CosmosUnbondingDelegation

func CosmosUnbondingDelegation(rootDir, node, chainID, delegatorName, password, delegatorAddr, validatorAddr, Ubdshares, feeStr, broadcastMode string) string

CosmosUnbondingDelegation for unbond delegation shares from specific validator

func CosmosUpdateKey

func CosmosUpdateKey(rootDir, name, oldpass, newpass string) string

CosmosUpdateKey update password

func CosmosWithdrawDelegationReward

func CosmosWithdrawDelegationReward(rootDir, node, chainID, delegatorName, password, delegatorAddr, validatorAddr, feeStr, broadcastMode string) string

CosmosWithdrawDelegationReward Withdraw rewards from a specific validator

func CosmosWithdrawDelegatorAllRewards

func CosmosWithdrawDelegatorAllRewards(rootDir, node, chainID, delegatorName, password, delegatorAddr, feeStr, broadcastMode string) string

func CreateMnemonic

func CreateMnemonic(lang string) string

CreateMnemonic create mnemonic for account creation

func CreateSeed

func CreateSeed() string

CreateSeed create the seed(mnemonic) for the account generation

func EthCreateAccount

func EthCreateAccount(rootDir, name, password, seed string) string

EthCreateAccount From here, Eth wallet part start

func EthGetAccount

func EthGetAccount(node, addr string) string

func EthGetErc20Account

func EthGetErc20Account(node, addr, tokenAddr string) string

func EthGetNonceAt

func EthGetNonceAt(rootDir, node, fromName, password string) int64

EthGetNonceAt provide the nonce at the latest block

func EthRecoverAccount

func EthRecoverAccount(rootDir, name, password, seed string) string

func EthSpeedTransferERC20

func EthSpeedTransferERC20(rootDir, node, fromName, password, toAddr, tokenAddr, tokenValue, gasPrice string, GasLimit, pendingNonce int64) string

func EthSpeedTransferETH

func EthSpeedTransferETH(rootDir, node, fromName, password, toAddr, gasPrice, amount string, GasLimit, pendingNonce int64) string

func EthTransferETH

func EthTransferETH(rootDir, node, name, password, toAddr, gasPrice, amount string, gasLimit int64) string

func EthTransferErc20

func EthTransferErc20(rootDir, node, name, password, toAddr, tokenAddr, tokenValue, gasPrice string, gasLimit int64) string

func QOSAccountCreate

func QOSAccountCreate(password string) string

QOSAccountCreate QOS wallet part begin from here

func QOSAccountCreateFromSeed

func QOSAccountCreateFromSeed(mncode string) string

func QOSAccountRecover

func QOSAccountRecover(mncode, password string) string

QOSAccountRecover for AccountRecovery

func QOSAcutionAd

func QOSAcutionAd(articleHash, privatekey, coinsType, coinAmount, qscchainid string) string

QOSAcutionAd acutionAd 竞拍广告 articleHash //广告位标识 privatekey //用户私钥 coinsType //竞拍币种 coinAmount //竞拍数量 qscchainid //chainid

func QOSAdvertisersFalse

func QOSAdvertisersFalse(privatekey, coinsType, coinAmount, qscchainid string) string

QOSAdvertisersFalse for AdvertisersFalse

func QOSAdvertisersTrue

func QOSAdvertisersTrue(privatekey, coinsType, coinAmount, qscchainid string) string

QOSAdvertisersTrue for AdvertisersTrue

func QOSAesDecrypt

func QOSAesDecrypt(key, cipherText string) string

func QOSAesEncrypt

func QOSAesEncrypt(key, plainText string) string

func QOSBroadcastTransferTxToQSC

func QOSBroadcastTransferTxToQSC(txstring, broadcastModes string) string

QOSBroadcastTransferTxToQSC 提交到联盟链上

func QOSCommHandler

func QOSCommHandler(funcName, privatekey, args, qscchainid string) string

func QOSCommitResultCheck

func QOSCommitResultCheck(txhash, height string) string

QOSCommitResultCheck for QOSCommitResultCheck

func QOSCreateSignedTransfer

func QOSCreateSignedTransfer(addrto, coinstr, privkey, chainid string) string

QOSCreateSignedTransfer for QOSCreateSignedTransfer

func QOSExtract

func QOSExtract(privatekey, coinsType, coinAmount, qscchainid string) string

QOSExtract for Extract

func QOSGetBlance

func QOSGetBlance(addrs string) string

func QOSGetBlanceByCointype

func QOSGetBlanceByCointype(addrs, cointype string) string

func QOSGetTx

func QOSGetTx(tx string) string

QOSGetTx for GetTx

func QOSJQInvestAd

func QOSJQInvestAd(QOSchainId, QSCchainId, articleHash, coins, privatekey string) string

func QOSPubAddrRetrieval

func QOSPubAddrRetrieval(priv string) string

QOSPubAddrRetrieval for PubAddrRetrieval

func QOSQueryAccount

func QOSQueryAccount(addr string) string

QOSQueryAccount for QOSQueryAccount

func QOSSetBlockchainEntrance

func QOSSetBlockchainEntrance(sh, mh string)

QOSSetBlockchainEntrance for IP input

func QOSTransferRecordsQuery

func QOSTransferRecordsQuery(chainid, addr, cointype, offset, limit string) string

func QSCKVStoreGet

func QSCKVStoreGet(k string) string

QSCKVStoreGet for QSCKVStoreGet

func QSCKVStoreSet

func QSCKVStoreSet(k, v, privkey, chain string) string

QSCKVStoreSet for QSCKVStoreset

func QSCQueryAccount

func QSCQueryAccount(addr string) string

QSCQueryAccount for QSCQueryAccount

func QSCtransferSend

func QSCtransferSend(addrto, coinstr, privkey, chainid string) string

QSCtransferSend for QSCtransferSend

func WalletAddressCheck

func WalletAddressCheck(addr string) string

WalletAddressCheck for different chains

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL