# How to use v1 account for v2 actions?

**URL:** https://forum.duniter.org/t/how-to-use-v1-account-for-v2-actions/10838
**Category:** Support
**Tags:** sr25519, ed25519
**Created:** [16 March 2023 17:53 UTC](https://forum.duniter.org/t/how-to-use-v1-account-for-v2-actions/10838 "2023-03-16T17:53:50Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Moul](https://forum.duniter.org/user_avatar/forum.duniter.org/moul/32/9145_2.png) [@Moul](https://forum.duniter.org/u/Moul)
#### Post date: [16 March 2023 17:53 UTC](https://forum.duniter.org/t/how-to-use-v1-account-for-v2-actions/10838/1 "2023-03-16T17:53:50Z")

</div>

> [@ĞDev runtime 401](https://forum.duniter.org/t/gdev-runtime-401/10769/16):
>
> d’y avoir ajouté ton mnemonic Ğecko (avec le bon chemin de dérivation si nécessaire, je ne sais plus où on en est de ce point de vue).

For the vote, I would be stuck at this step, since I don’t know how to add my credentials to polkadot.js extension. Ğecko is a non-go for me. Can it be done from Tikka?

> [@ĞDev runtime 401](https://forum.duniter.org/t/gdev-runtime-401/10769/16):
>
> > [@Verify a runtime -- permission problems](https://forum.duniter.org/t/verify-a-runtime-permission-problems/10835/5):
> >
> > I am having an issue with the permissions:
> 
> You have to read messages [5](https://forum.duniter.org/t/gdev-runtime-401/10769/5) and [6](https://forum.duniter.org/t/gdev-runtime-401/10769/6), this issue remains to be fixed. A `chmod` is necessary.

Of course, I read them before. You mean that it is to be fixed? How did you guys overcome it?

---

<div class="post-metadata">

### Author: ![tuxmain](https://forum.duniter.org/user_avatar/forum.duniter.org/tuxmain/32/6423_2.png) [@tuxmain](https://forum.duniter.org/u/tuxmain)
#### Post date: [16 March 2023 19:01 UTC](https://forum.duniter.org/t/how-to-use-v1-account-for-v2-actions/10838/2 "2023-03-16T19:01:33Z")

</div>

> [@Moul](#):
>
> For the vote, I would be stuck at this step, since I don’t know how to add my credentials to polkadot.js extension. Ğecko is a non-go for me. Can it be done from Tikka?

I just added the `tech-vote` command in gcli ([x86\_64 build here](https://txmn.tk/g1/duniterv2/)):

`gcli --secret "my mnemonic" tech-vote <hash> <index> <0|1>`

I can try to add another method to pass the secret if you don’t have a mnemonic.

---

<div class="post-metadata">

### Author: ![Moul](https://forum.duniter.org/user_avatar/forum.duniter.org/moul/32/9145_2.png) [@Moul](https://forum.duniter.org/u/Moul)
#### Post date: [16 March 2023 19:17 UTC](https://forum.duniter.org/t/how-to-use-v1-account-for-v2-actions/10838/3 "2023-03-16T19:17:44Z")

</div>

Thanks for the command!  
But the mnemonic is from a different format than v1 format.  
How did you convert your v1 credentials (mnemonic) to v2 mnemonic?  
I’ll try implement it if this feature doesn’t exists yet.

---

<div class="post-metadata">

### Author: ![vit](https://forum.duniter.org/user_avatar/forum.duniter.org/vit/32/2775_2.png) [@vit](https://forum.duniter.org/u/vit)
#### Post date: [16 March 2023 19:56 UTC](https://forum.duniter.org/t/how-to-use-v1-account-for-v2-actions/10838/4 "2023-03-16T19:56:06Z")

</div>

> [@Moul](#):
>
> How did you convert your v1 credentials (mnemonic) to v2 mnemonic?

First you have to look at the account address used in the Technical committee.  
If it is your V1 account in V2 address. You can not vote. You must have a v2 account with an english mnemonic in the TC member list. Also, if you have a french mnemonic, Polkadot will not understand it.

You do not need to be a member to vote.  
The address for me in the TC is a V2 root account with an english mnemonic. No identity. It is fine.

---

<div class="post-metadata">

### Author: ![Moul](https://forum.duniter.org/user_avatar/forum.duniter.org/moul/32/9145_2.png) [@Moul](https://forum.duniter.org/u/Moul)
#### Post date: [16 March 2023 21:39 UTC](https://forum.duniter.org/t/how-to-use-v1-account-for-v2-actions/10838/5 "2023-03-16T21:39:34Z")

</div>

Thanks, I see you are all not using your Ğ1 accounts.  
I’ll create a new one for ĞDev then.  
Then, we will be able to set my address in the Technical Committee and on my node \o/

My issue is that we can’t get v2 seed (English mnemonic) out of v1 credentials.  
They are kind of lost, we get a `Keypair` object in `py-substrate-interface`.  
Where we have the mnemonic from freshly created v2 `Keypair`.  
We can transfer money from our v1 wallets to v2 wallets, but regarding member pubkey, I don’t see how to solve that yet.

---

<div class="post-metadata">

### Author: ![tuxmain](https://forum.duniter.org/user_avatar/forum.duniter.org/tuxmain/32/6423_2.png) [@tuxmain](https://forum.duniter.org/u/tuxmain)
#### Post date: [16 March 2023 22:07 UTC](https://forum.duniter.org/t/how-to-use-v1-account-for-v2-actions/10838/6 "2023-03-16T22:07:10Z")

</div>

I added seed support in gcli: (v1 and v2 compatible)

`gcli -S seed -s <seedhex> ...`

(`-s` can also be omitted, then the seed will be asked from stdin)

---

<div class="post-metadata">

### Author: ![Moul](https://forum.duniter.org/user_avatar/forum.duniter.org/moul/32/9145_2.png) [@Moul](https://forum.duniter.org/u/Moul)
#### Post date: [17 March 2023 09:00 UTC](https://forum.duniter.org/t/how-to-use-v1-account-for-v2-actions/10838/7 "2023-03-17T09:00:31Z")

</div>

> [@Moul](#):
>
> We can transfer money from our v1 wallets to v2 wallets, but regarding member pubkey, I don’t see how to solve that yet.

Right, allowing to pass `sedheex` to clients we are developing for Ğ1, as you did in Ğcli. (Un)fortunately, polkadot.js doesn’t support it, so we have to implement all the features in our clients in the meantime in order to be able to use them.

---

<div class="post-metadata">

### Author: ![HugoTrentesaux](https://forum.duniter.org/user_avatar/forum.duniter.org/hugotrentesaux/32/6396_2.png) [@HugoTrentesaux](https://forum.duniter.org/u/HugoTrentesaux)
#### Post date: [17 March 2023 11:28 UTC](https://forum.duniter.org/t/how-to-use-v1-account-for-v2-actions/10838/8 "2023-03-17T11:28:20Z")

</div>

> [@Moul](#):
>
> I see you are all not using your Ğ1 accounts

The problem is that even Ed25519 is well managed by Substrate, only Sr25519 is available in Polkadotjs app. From there, two options:

- you choose to keep your identity on your Ed25519 key and use tools compatible with it like `gcli`
- you migrate your identity to a Sr25519 key and then use this new key to sign documents

For Ğ1 migration, I think we will have enough tooling to perform all the operation from legacy Ed25519 keys, but for ĞDev, it would be more convenient to migrate your identity because at the development stage, we rely a lot on Polkadotjs app.

I would totally understand your choice to keep Ed25519 keys, but then we would have to implement new features more quickly in `gcli`or in `silkaj`.

Also keep in mind that both methods (mnemonic / salt+password) are valid to generate both kind of keys.
