ArweaveSdkEx.Wallet (arweave_sdk_ex v0.1.8)

Wallet Operations about Arweave!

Link to this section Summary

Link to this section Functions

Link to this function

get_id(sig_bytes)

Link to this function

get_raw_sig(tx_unsigned)

Link to this function

read_jwk_json_from_file(file_path)

Link to this function

sign_tx(node, data, tags, jwk_json, reward_coefficient)

Specs

sign_tx(String.t(), String.t(), map(), map(), integer()) ::
  {%ArweaveSdkEx.Tx{
     data: term(),
     data_root: term(),
     data_size: term(),
     format: term(),
     id: term(),
     last_tx: term(),
     owner: term(),
     quantity: term(),
     reward: term(),
     signature: term(),
     tags: term(),
     target: term()
   }, String.t()}

read_jwk_from_file > sign > ArweaveSdkEx.send

this func is same as sign(self) in arweave-python-client.

impl of verifier in python:

https://www.dlitz.net/software/pycrypto/api/2.6/Crypto.Signature.PKCS1_PSS-module.html