Open shenkeyao opened 2 years ago
Switch to a builder API similar to ethers.rs, then get rid of build_transfer.
ethers.rs
build_transfer
E.g., For transfer we'll have:
wallet.transfer(asset).to(address, amount).from(address)
wallet.transfer(asset).to(address, amount)
See detailed API proposal in #67
Switch to a builder API similar to
ethers.rs
, then get rid ofbuild_transfer
.E.g., For transfer we'll have:
wallet.transfer(asset).to(address, amount).from(address)
to transfer from a specific address.wallet.transfer(asset).to(address, amount)
to transfer from all addresses.