Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Conversation

@andrew-fleming
Copy link
Contributor

This PR is a tmp working example to support EthAccount txs through Nile. In order to setup an EthAccount:

  1. Deploy normal account
  2. Compile and declare EthAccount
  3. Deploy EthAccount through regular account
    • pass eth address as arg
  4. In accounts..json, manually set the passed eth_address as the key and the EthAccount deployment address i.e.
{
  "<ETH_ADDRESS>": {
    "address": "<DEPLOYED_ETHACCOUNT_ADDRESS>,
    "index": 0,
    "alias": "<ETH_ACCOUNT_PRIVATE_KEY>"
  }
}
  1. Send a tx with eth-send and the private key alias i.e. nile eth-send PKEY my_contract increase_balance 123

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant