Hello,
Account 1 (the one in NNS)
I have an internet identity created (based on Yubikey) and see one account address in NNS (nns.ic0.app). I also transferred some ICP token from Coinbase exchange to this account. That all worked fine.
Account 2 (the
dfx ledger account-id
one in local dfx created project)
I also followed Network deployment :: Internet Computer (dfinity.org) and created a local project with default developer identity (based on auto generated PEM key) plus associated ledger account address. But that account is newly created with the project and has no ICP token.
These 2 different type of accounts both have address and can hold ICP. I’m new to the dfx and get confused with following questions.
- Can we change local dfx project to use different ledger account (e.g., the account address from NNS that has ICP)?
- I already transferred some ICP from my NNS account to the local project’s ledger account but subnets are not available to deploy public apps. How do we login NNS using local project’s ledger account to init transactions to transfer ICP back to other account? That local ledger account does not have Internet Identity associated and I’m not sure how to login NNS to manage the ICP it holds.
Any suggestions are much appreciated. Thank you.