# Participants in participants.json

**URL:** <https://forum.canton.network/t/participants-in-participants-json/2051>\
**Category:** App Development\
**Created:** [February 5, 2021, 4:46pm UTC](https://forum.canton.network/t/participants-in-participants-json/2051 "2021-02-05T16:46:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonid\_Rozenberg](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/leonid_rozenberg/32/48_2.png) [@Leonid\_Rozenberg](https://forum.canton.network/u/Leonid_Rozenberg)\
**Post date:** [February 5, 2021, 4:46pm UTC](https://forum.canton.network/t/participants-in-participants-json/2051/1 "2021-02-05T16:46:55Z")

</div>

In the participants.json file specified for describing roles and their access tokens for [Daml Script](https://docs.daml.com/daml-script/index.html#using-daml-script-in-distributed-topologies), there is a `default_participant` specified. Under what cases is this user used within a script? What are good defaults for this user?

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [February 5, 2021, 5:01pm UTC](https://forum.canton.network/t/participants-in-participants-json/2051/2 "2021-02-05T17:01:29Z")

</div>

There are two cases where the default participant will be used:

1. You perform a per-party operation (e.g., `submit`, `query`, …) and there is no party → participant mapping in participant config for this party.
2. You perform a per-participant operation and you did not specify a participant (`allocateParty`) or you specified a participant (`allocatePartyOn`) but you did not specify that participant name in your participant config.

There is also a third option here combining the two: you perform a per-party operation and there is a party → participant mapping but the participant name you’re mapping to is not in your participant config.

Now all of that might sound a bit convoluted so let me try to summarize it: The default participant as a fallback whenever no other participant has been specified directly or indirectly (via a party → participant mapping).
