Skip to content

Create an account feedback #1

Description

@SimiHunjan

Feedback items for create an account tutorial.

  • Q: Are we standardizing on using the ECDSA key for all tutorials?

Previous used ED25519 because that was the only key type that was supported. If so, we would need to update the portal guide to point to grabbing those keys for those users as well. We also need to consider updating other areas in tutorials/examples where use ED25519 keys and replace with ECDSA. The docs should provide consistency throughout unless maybe we are demonstrating a use case for a specific key type and its benefits.

const operatorKey = PrivateKey.fromStringECDSA(operatorKeyStr);

we should also call out the key type here so it is clear because portal displays both types of keys to be clear which one is being used:

const operatorKeyStr = process.env.OPERATOR_ACCOUNT_PRIVATE_KEY;

to something like

const operatorECSDAKeyStr = process.env.OPERATOR_ACCOUNT_ECDSA_PRIVATE_KEY;
  • Feedback: If we specifically need the hex encoded key in this statement then we should replace the following

Enter your operator account (ECDSA) private key

with

Enter your operator account (ECDSA) hex encoded private key

Feedback: I don't know what I have to answer this prompt

> 0x1a83c7c0fe90a1d24b8f5bcd3b074aecad834d7a9fbe130ea133eb4e01775300
Fetching:  https://testnet.mirrornode.hedera.com/api/v1/accounts?account.publickey=0x03a9228366eb335c791c1d2cb1da6b237688716198e543cd13fbb2803c4ca6b63a&balance=true&limit=1&order=desc
Enter a BIP-39 seed phrase
(enter blank value generate a new one at random)
> 
```

I provided by key and we tied the account to that key I am assuming from querying the public key of the private key. Not sure what I have to this for.


**Q: Is this the number of accounts or private keys being created off of the recovery phrase?**

```
Randomly-generated seed phrase:  rather water fish fury short rate evoke now glare fish harsh top
Enter a number of accounts to generate from your BIP-39 seed phrase
Default: "1"
(enter blank value to use default value)
> 
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions