- May 11, 2020
-
-
Amaury Martiny authored
* fix: Allow balance transfer value as string * Add eraPeriod * Add backwards compatibility * Change comments * Change default to 64 * Generate docs
-
- Apr 30, 2020
-
-
Amaury Martiny authored
* Add polkadot example * fix: Use ss58 from chain properties * docs * Remove some functions from docs * Add comment
-
- Apr 27, 2020
-
-
Amaury Martiny authored
* fix: Add options parameter to all methods * Add comments * Docs * no docs on example * Small tweaks
-
- Apr 01, 2020
-
-
Amaury Martiny authored
* fix(deps): Update @polkadot/api to v1.9-stable * docs * Remove useless comment
-
- Mar 31, 2020
-
-
Amaury Martiny authored
`democracy.vote` and `democracy.proxyVote` now take a `AccountVote` object as input, instead of the simple `Vote`
-
- Mar 30, 2020
-
-
Amaury Martiny authored
* chore(deps-dev): bump @amaurymartiny/config from 1.0.11 to 1.1.0 Bumps [@amaurymartiny/config](https://github.com/amaurymartiny/config) from 1.0.11 to 1.1.0. - [Release notes](https://github.com/amaurymartiny/config/releases) - [Changelog](https://github.com/amaurymartiny/config/blob/master/CHANGELOG.md) - [Commits](https://github.com/amaurymartiny/config/compare/v1.0.11...v1.1.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Run yarn lint --fix Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
-
- Mar 17, 2020
-
-
Amaury Martiny authored
* refactor: Use registry.createType * Update polkadot/api
-
- Mar 16, 2020
-
-
joe petrowski authored
-
Amaury Martiny authored
* fix: Add options to createSignedTx and createSigningPayload * docs * Add badge on README * typo
-
- Mar 12, 2020
-
-
Amaury Martiny authored
* fix: Export methods as per doc * Add tutorial * Add README * Add spacing * Fix lint * docs * Remove example * Remove console.log * Remove mention in README
-
- Mar 10, 2020
-
-
Amaury Martiny authored
* Add staking and democracy * Add vesting * Add setController * docs * Use github actions again (it's faster) * Change on * Better comments * Docs * Update src/methods/democracy/openProxy.ts Co-Authored-By: joe petrowski <[email protected]> * Update src/methods/staking/setController.ts Co-Authored-By: joe petrowski <[email protected]> * docs * docs (again) Co-authored-by: joe petrowski <[email protected]>
-
- Feb 26, 2020
-
-
Amaury Martiny authored
* chore(deps): Update to latest @polkadot/api * Update docs
-
- Feb 12, 2020
-
-
Axel Chalon authored
-
- Feb 06, 2020
-
-
Amaury Martiny authored
* fix: Use again Capitalized enum in payee * Docs
-
- Jan 31, 2020
-
-
Amaury Martiny authored
* feat: Add chill and validate in staking * feat: Add session setKeys * FIx lint and test * Update src/methods/staking/chill.ts Co-Authored-By: joe petrowski <[email protected]> * Update src/methods/staking/validate.ts Co-Authored-By: joe petrowski <[email protected]> * Run yarn docs * Perbill * Docs Co-authored-by: joe petrowski <[email protected]>
-
- Jan 21, 2020
-
-
Amaury Martiny authored
* fix: Add default values for tip and validityPeriod * Add comment * Fix CI * Generate docs * Fix links
-
- Jan 15, 2020
-
-
Amaury Martiny authored
* feat: Add bondExtra and withdrawUnbonded * Update comments * Generate docs
-
- Jan 03, 2020
-
-
joe petrowski authored
* update api to 0.100.0 * fix import and docs
-
- Jan 02, 2020
-
-
Amaury Martiny authored
BREAKING CHANGE: - Instead of importing methods (like `bond`, `balanceTransfer`) directly from the root, the package exposes a `methods` object in the root, and this object contains all available methods organized by pallet: ```diff - import { bond, balanceTransfer } from '@amaurymartiny/txwrapper'; + import { methods } from '@amaurymartiny/txwrapper'; - bond(...); - balanceTransfer(...); + methods.staking.bond(...); + methods.balances.tranfer({dest: '...', value: }, {blockHash: '0x...'}); + methods.balances.transferKeepAlive(...); ``` - All the methods under `methods.*.*` take now 2 arguments: the first one is the actual args specific to the tx method, and the second one is `BaseTxInfo`, common to all transactions ```typescript methods.staking.nominate({target: ['F1...']}, {blockHash: '0x..', ...}); ``` - `balances::transfer` arguments has been renamed from `{to, amount}` to `{dest, value}`, to reflect the rust codebase: ```typescript methods.balances.transfer({dest: '5....', value: 100}, {blockHash: '0x..', ...}); ```
-
- Dec 30, 2019
-
-
joe petrowski authored
* add staking functions first commit * fix nominate test and run linter * use yarn docs * move UnsignedTransaction into ./utils to enable generic tx construction * update docs for UnsignedTransaction move * rename TxInfo and TEST_TX_INFO to specify that they are for balance transfer * move TxInfo into interfaces to reduce duplicate code * make decode somewhat generic * rename util/interfaces to util/types * add encodings to tests
-
- Dec 06, 2019
-
-
Amaury Martiny authored
* feat: Generic `decode` also decodes unsigned * dpcs * Don't expose decode* * decode doesn't decode signingPayload
-
- Dec 05, 2019
-
-
Amaury Martiny authored
-
Amaury Martiny authored
-
- Dec 03, 2019
-
-
Amaury Martiny authored
* fix: Fix keepAlive * feat: Add decodeUnsignedTx * Generate docs * Export new functions
-
Amaury Martiny authored
-
- Dec 02, 2019
-
-
Amaury Martiny authored
* Use Kusama everywhere * Refactor: No metadataRpc in createSignedTx * Configurable era * Regenerate docs * Fix test
-
- Nov 29, 2019
-
-
Amaury Martiny authored
-
Amaury Martiny authored
-