# Use mnemonic in @openzeppelin/test-environment

**URL:** <https://forum.openzeppelin.com/t/use-mnemonic-in-openzeppelin-test-environment/2664>\
**Category:** Support\
**Created:** [April 15, 2020, 6:36am UTC](https://forum.openzeppelin.com/t/use-mnemonic-in-openzeppelin-test-environment/2664 "2020-04-15T06:36:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ezynda3](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/ezynda3/32/2105_2.png) [@ezynda3](https://forum.openzeppelin.com/u/ezynda3)\
**Post date:** [April 15, 2020, 6:36am UTC](https://forum.openzeppelin.com/t/use-mnemonic-in-openzeppelin-test-environment/2664/1 "2020-04-15T06:36:26Z")

</div>

Before I would use “truffle test” and launch a ganache-cli instance manually with a set mnemonic because my tests relied on the addresses being the same everytime.

**💻 Environment**  
I use truffle with @openzeppelin/test-environment installed

**📝Details**  
I want to know if there is an example of configuring a mnemonic so that tests run with the exact same addresses everytime.

**🔢 Code to reproduce**  
None

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [April 15, 2020, 6:45am UTC](https://forum.openzeppelin.com/t/use-mnemonic-in-openzeppelin-test-environment/2664/2 "2020-04-15T06:45:33Z")

</div>

Hi @ezynda3,

Welcome to the community forum 👋 Thanks for posting the question here.

In the current version there doesn’t appear to be an option to configure the mnemonic for the accounts being used: [https://docs.openzeppelin.com/test-environment/0.1/getting-started#configuration](https://docs.openzeppelin.com/test-environment/0.1/getting-started#configuration)

Additional features are being added as part of [OpenZeppelin Test Environment – Roadmap Q2 2020](https://forum.openzeppelin.com/t/openzeppelin-test-environment-roadmap-q2-2020/2557)

I will have to come back to you if this is an option.

---

<div class="post-metadata">

**Author:** ![ezynda3](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/ezynda3/32/2105_2.png) [@ezynda3](https://forum.openzeppelin.com/u/ezynda3)\
**Post date:** [April 15, 2020, 6:55am UTC](https://forum.openzeppelin.com/t/use-mnemonic-in-openzeppelin-test-environment/2664/3 "2020-04-15T06:55:31Z")

</div>

Ok. Thanks for your help!

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [April 20, 2020, 1:52am UTC](https://forum.openzeppelin.com/t/use-mnemonic-in-openzeppelin-test-environment/2664/4 "2020-04-20T01:52:53Z")

</div>

Hi @ezynda3,

This isn’t an option currently.

@ylv-io (the project owner) has created an open issue for this: [https://github.com/OpenZeppelin/openzeppelin-test-environment/issues/86](https://github.com/OpenZeppelin/openzeppelin-test-environment/issues/86)
