@cybercongress/cyber-js
v0.4.3
Published
Cyber SDK
Downloads
3,546
Keywords
Readme
soft3.js
Cyber client API library
Modules support:
| Module | Messages | Signing | Queries | |-------------- |----------------------------------------------------------------------------------------------------------------------------------- |-------------------------------------------------------------------------------------------------------- |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Graph | - MsgCyberlink | - cyberlink- motif- linkchain | - graphStats | | Rank | | | - search- backlinks- rank- karma- isLinkExist- isAnyLinkExist- negentropy | | Bandwidth | | | - load- price- accountBandwidth | | Resources | - MsgInvestmint | - investmint | - resourcesParams | | Grid | - MsgCreateRoute- MsgEditRoute- MsgEditRouteName- MsgDeleteRoute | - createEnergyRoute- editEnergyRoute- deleteEnergyRoute- editEnergyRouteName | - energyParams- sourceRoutes- destinationRoutes- destinationRoutedEnergy- sourceRoutedEnergy- route- routes | | Wasm | - MsgClearAdmin- MsgExecuteContract- MsgMigrateContract- MsgStoreCode- MsgInstantiateContract- MsgUpdateAdmin | - upload- instantiate- updateAdmin- clearAdmin- migrate- execute- executeArray | - getCodes- getCodeDetails- getContracts- getContract- getContractCodeHistory- queryContractRaw- queryContractSmart | | Bank | - MsgSend | - sendTokens | - getBalance- getAllBalances- totalSupply | | Auth | | | - getAccount | | Liquidity | - MsgSwapWithinBatch- MsgDepositWithinBatch- MsgWithdrawWithinBatch- MsgCreatePool | - swapWithinBatch- depositWithinBatch- withdwawWithinBatch- createPool | - liquidityParams- pool- pools | | Governance | - MsgDeposit- MsgVote- MsgSubmitProposal | - voteProposal- submitProposal- depositProposal | - govParams- proposals- proposal- deposits- deposit- tally- votes- vote | | Distribution | - MsgWithdrawDelegatorReward | - withdrawRewards- withdrawAllRewards | - distributionParams- communityPool- delegationRewards- delegationTotalRewards- delegatorValidatorsDistribution- delegatorWithdrawAddress- validatorCommission- validatorOutstandingRewards- validatorSlashes | | Staking | - MsgDelegate- MsgBeginRedelegate- MsgUndelegate | - delegateTokens- redelegateTokens- undelegateTokens | - stakingParams- delegation- delegatorDelegations- delegatorUnbondingDelegations- delegatorValidator- delegatorValidators- historicalInfo- stakingPool- redelegations- unbondingDelegation- validator- validatorDelegations- validators- validatorUnbondingDelegations | | Gov | - MsgVote- MsgSubmitProposal- MsgDeposit | - voteProposal- submitProposal- depositProposal | | | IBC | - MsgTransfer | - sendIbcTokens | - allDenomTraces- denomTrace | | Authz | | | | | Relayer | | | |
Usage:
yarn
yarn get-proto
yarn define-proto
yarn postdefine-proto
yarn build
yarn lint-fix