3 个版本 (破坏性更新)

0.4.0 2023年6月29日
0.2.5 2023年5月1日
0.1.0 2023年3月30日

#111 in #transfer

Download history 29/week @ 2024-03-11 24/week @ 2024-03-18 35/week @ 2024-03-25 65/week @ 2024-04-01 12/week @ 2024-04-08 18/week @ 2024-04-15 27/week @ 2024-04-22 13/week @ 2024-04-29 19/week @ 2024-05-06 35/week @ 2024-05-13 15/week @ 2024-05-20 36/week @ 2024-05-27 16/week @ 2024-06-03 21/week @ 2024-06-10 16/week @ 2024-06-17 30/week @ 2024-06-24

每月 87 次下载
9 个crate中使用(通过rosetta-client

MIT 许可证

18KB
327

此项目用于构建substrate链的交易。

PolkadotTransactionBuilder:

Its implementation of `TransactionBuilder` and implements the following methods:
1. `transfer`
2. `method_call`
3. `create_and_sign`

transfer:

Creates `PolkadotMetadataParams` for transfer call.

method_call:

Not implemented.

create_and_sign:

When `metadata` is created we use this call to create Ethereum Transaction and sign it. It takes following arguments.
`config`: chain sepecific config.
`metadata_params`: Metadata params which created metadata for this call.
`metadata`: Metadata required make transaction.
`secret_key`: wallet's secret key (used to sign the transaction).

It creates the transaction and signs it and then returns it in bytes.

依赖项

~12MB
~238K SLoC