<p>If you look at the source of Ledger, you will see that it reexports CurrencySymbol from the Value module, so yes, they are the same:</p>
<pre><code>module Ledger (
    module Export,
    AssetClass,
    CurrencySymbol,
    TokenName,
    Value,
    Ada
    ) where

import Ledger.Blockchain as Export
import Ledger.Index as Export
import Ledger.Orphans ()
-- We manually re-export 'Plutus.V1.Ledger.Scripts' so we can include some
-- extra instances
import Ledger.Address as Export
import Ledger.Contexts as Export
import Ledger.Crypto as Export
import Ledger.Scripts as Export
import Ledger.Tx as Export
import Ledger.Value as Export (noAdaValue)
import Plutus.V1.Ledger.Ada (Ada)
import Plutus.V1.Ledger.Interval as Export
import Plutus.V1.Ledger.Orphans ()
import Plutus.V1.Ledger.Slot as Export
import Plutus.V1.Ledger.Time as Export
import Plutus.V1.Ledger.TxId as Export
import Plutus.V1.Ledger.Value (AssetClass, CurrencySymbol, TokenName, Value)
</code></pre>

CC BY-SA 4.0
2022-02-08T03:43:25.590Z
2022-02-08T04:55:26.583Z
2022-02-08T04:55:26.583Z
Mihai Codescu
<p>I'm a bit confused about <code>CurrencySymbol</code> type. In the documentation it appears twice in 2 modules: <code>Plutus.V1.Ledger.Value</code> (first image) and <code>Ledger</code>. (second image)</p>
<p>Are they the same type? When import each?</p>
<p>Thanks in advance!</p>
<p><a href="https://i.sstatic.net/ouE7P.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ouE7P.png" alt="enter image description here" /></a></p>
<p><a href="https://i.sstatic.net/srK4v.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/srK4v.png" alt="enter image description here" /></a></p>

<plutus><plutus-pioneer-program><haskell>
What's the difference between Ledger.CurrencySymbol and Plutus.V1.Ledger.Value.CurrencySymbol?
# What's the difference between Ledger.CurrencySymbol and Plutus.V1.Ledger.Value.CurrencySymbol?

(Asked by: username_0 on 2022-02-07)

I'm a bit confused about `CurrencySymbol` type. In the documentation it appears twice in 2 modules: `Plutus.V1.Ledger.Value` (first image) and `Ledger`. (second image)

Are they the same type? When import each?

Thanks in advance!

[![enter image description here](https://i.sstatic.net/ouE7P.png)](https://i.sstatic.net/ouE7P.png)

[![enter image description here](https://i.sstatic.net/srK4v.png)](https://i.sstatic.net/srK4v.png)

**Tags:** plutus, plutus-pioneer-program, haskell

---

## 1 answers

### Answer by username_1 on 2022-02-08. Score: 3 | Accepted answer

If you look at the source of Ledger, you will see that it reexports CurrencySymbol from the Value module, so yes, they are the same:
module Ledger (
    module Export,
    AssetClass,
    CurrencySymbol,
    TokenName,
    Value,
    Ada
    ) where

import Ledger.Blockchain as Export
import Ledger.Index as Export
import Ledger.Orphans ()
-- We manually re-export 'Plutus.V1.Ledger.Scripts' so we can include some
-- extra instances
import Ledger.Address as Export
import Ledger.Contexts as Export
import Ledger.Crypto as Export
import Ledger.Scripts as Export
import Ledger.Tx as Export
import Ledger.Value as Export (noAdaValue)
import Plutus.V1.Ledger.Ada (Ada)
import Plutus.V1.Ledger.Interval as Export
import Plutus.V1.Ledger.Orphans ()
import Plutus.V1.Ledger.Slot as Export
import Plutus.V1.Ledger.Time as Export
import Plutus.V1.Ledger.TxId as Export
import Plutus.V1.Ledger.Value (AssetClass, CurrencySymbol, TokenName, Value)


---

