-
Notifications
You must be signed in to change notification settings - Fork 95
Adding support for EVM view and function calls #517
Conversation
default: '100000000000000' | ||
}) | ||
.option('amount', { | ||
desc: 'Number of tokens to attach', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In NEAR or yoctoNEAR
I noticed that this fails: |
@ilblackdragon I'm getting Have also tried: and
as well as changing the |
Looks like |
# Conflicts: # bin/near-cli.js # package.json # yarn.lock
Shoot, I'm trying this again on Pet Shop. The For instance: will error with:
Looking into this now. |
# Conflicts: # yarn.lock
Note: we are going to hold off on merging this until we've resolved this issue: |
# Conflicts: # package.json # yarn.lock
* Adding support for EVM view and function calls. * Move things around a bit in eth-call * Fix linter * evm-call renaming: evmAccounts » nearEvmAccountId, contractName » evmContractName * specify gas as "NEAR gas" in evm-call * correct search/replace mistake key evmAccountId for NearProvider added back * standardize arg names, log args better, unique names for scheduleEVMFunctionCall * package.json: latest version for near-api-js and near-web3-provider * update yarn.lock file * readme: add evm-view/evm-call Co-authored-by: Mike Purvis <mikedotexe@gmail.com>
Example usage
For any EVM call you need to specify:
View call:
Schedule a transaction: