···11-# Sandbox Guide
11+# Bluesky Developer Sandbox Guide
2233-Welcome to the atproto federation sandbox!
33+Welcome to the atproto federation developer sandbox!
4455This is a completely separate network from our production services that allows us to test out the federation architecture and wire protocol.
6677-**🐉 Beware of dragons!**
77+The federation sandbox environment is an area set up for exploration and testing of the technical components of the AT Protocol distributed social network. It is intended for developers and self-hosters to test out data availability in a federated environment.
8899-This hasn’t been production tested yet. It seems to work pretty well, but who knows what’s lurking under the surface. Have patience with us as we prep for federation.
99+To maintain a positive and productive developer experience, we've established a Code of Conduct that outlines our expectations and guidelines. This sandbox environment is initially meant to test the technical components of federation.
10101111-On that note, please give us feedback either in [Issues](https://github.com/bluesky-social/atproto/issues) (actual bugs) or [Discussions](https://github.com/bluesky-social/atproto/discussions) (higher-level questions/discussions) on the [atproto repo](https://github.com/bluesky-social/atproto).
1111+Given that this is a testing environment, we will be defederating from any instances that do not abide by these guidelines, or that cause unnecessary trouble, and will not be providing specific justifications for these decisions.
1212+1313+# AT Protocol Sandbox Environment Guidelines
1414+1515+Using the sandbox environment means you agree to adhere to our Guidelines. Please read the following carefully:
1616+1717+## Post responsibly
1818+1919+The sandbox environment is intended to test infrastructure, but user content may be created as part of this testing process. Content generation can be automated or manual, but it should adhere to the Bluesky Community Guidelines (link)
2020+2121+Do not post content that requires active moderation or violates the [Bluesky Community Guidelines](https://blueskyweb.xyz/support/community-guidelines)
2222+2323+## Keep the emphasis on testing
2424+2525+We’re striving to maintain a sandbox environment that fosters learning and technical growth. We will defederate with instances that recruit users without making it clear that this is a test environment.
2626+2727+## Do limit account creation
2828+2929+We don't want any one server using a majority of the resources in the sandbox. To keep things balanced, to start, we’re only federating with Personal Data Servers (PDS) with up to 1000 accounts. However, we may change this if needed.
3030+3131+## Don’t expect persistence or uptime
3232+3333+We will routinely be wiping the data on our infrastructure. This is intended to reset the network state and to test sync protocols. Accounts and content should not be mirrored or migrated between the sandbox and real-world environments.
3434+3535+## Don't advertise your service as being "Bluesky"
3636+3737+This is a developer sandbox and is meant for technical users. Do not promote your service as being a way for non-technical users to use Bluesky.
3838+3939+## Other
4040+4141+* Do not mirror sandbox did:plcs to production
12421313-### Sandbox Rules
4343+## 🐉 Beware of dragons!
14441515-Please checkout the [Sandbox Rules](LINK_ME) before we get started. The gist is: this network is meant to test the technical underpinnings of federation. If you turn up technical problems for us, then you’re doing a great job. If you cause problems for us otherwise, we will defederate from you and will not give an explanation.
4545+This hasn’t been production tested yet. It seems to work pretty well, but who knows what’s lurking under the surface. Have patience with us as we prep for federation.
16461717-Do not:
4747+On that note, please give us feedback either in [Issues](https://github.com/bluesky-social/atproto/issues) (actual bugs) or [Discussions](https://github.com/bluesky-social/atproto/discussions) (higher-level questions/discussions) on the [atproto repo](https://github.com/bluesky-social/atproto).
18481919-- post content that requires active moderation or violates the [Bluesky Community Guidelines](https://blueskyweb.xyz/support/community-guidelines)
2020-- advertise your service as being “Bluesky” or “production atproto network” - this is a sandbox and is meant for technical users
2121-- create a service with more than 1000 accounts on it
2222-- mirror sandbox did:plcs to production
23492450### Routine wipes
2551···29553056When we wipe data, we will be wiping it on all services (BGS, App View, PLC). We will also mark any existing DIDs as “invalid” & will refuse to index those accounts in the next epoch of the network to discourage users from attempting to “rollover” their accounts across wipes.
31573232-# The Sandbox Network
5858+# Learn more about atproto federation
33593434-This is a parallel network to production Bluesky where we can test out the federation architecture and wire protocol.
3535-3636-You can check out a high-level view of federation [here](https://blueskyweb.xyz/blog/5-5-2023-federation-architecture).
6060+Check out the [high-level view of federation](https://blueskyweb.xyz/blog/5-5-2023-federation-architecture).
37613838-You can dive deeper into atproto [here](https://atproto.com/docs).
6262+Dive deeper with the [atproto docs](https://atproto.com/docs).
39634064## Network Services
41654242-We are running three services: PLC, BGS, Bluesky App View
6666+We are running three services: PLC, BGS, Bluesky "App View"
43674468### PLC
4569···759976100# The PDS
771017878-The PDS (personal data server) is where users host their social data such as posts, profiles, likes, and follows. The goal of the sandbox is to federate many PDS together, so we hope you’ll run your own.
102102+The PDS (Personal Data Server) is where users host their social data such as posts, profiles, likes, and follows. The goal of the sandbox is to federate many PDS together, so we hope you’ll run your own.
7910380104We’re not actually running a Bluesky PDS in sandbox. All of the team’s sandbox accounts are self-hosted.
81105···8310784108### Getting started
851098686-For complete instructions on getting your PDS set up, check out the [README](https://github.com/bluesky-social/pds/blob/main/README.md).
110110+For complete instructions on getting your PDS set up, check out the [README](./README.md).
871118888-To access your account, you’ll log in with the client of your choice in the exact same way that you log into production Bluesky, for instance the [Bluesky web client](https://bsky.app/). When you do so, please provide the url of *your PDS* as the service that you wish to log in to.
8989-9090-Invites on your PDS are required by default - to generate your first invite code, please run:
9191-9292-```bash
9393-# PDS_HOSTNAME & PDS_ADMIN_PASSWORD both come from your pds.env file
9494-9595-curl -X POST https://<PDS_HOSTNAME>/xrpc/com.atproto.server.createInviteCode \
9696- -u "admin:<PDS_ADMIN_PASSWORD>" \
9797- -H "Content-Type: application/json" \
9898- -d '{"useCount": 1}'
9999-```
112112+To access your account, you’ll log in with the client of your choice in the exact same way that you log into production Bluesky, for instance the [Bluesky web client](https://app.bsky-sandbox.dev/). When you do so, please provide the url of *your PDS* as the service that you wish to log in to.
100113101114### Auto-updates
102115···122135123136📣 This is a sandbox version of a **public broadcast protocol** - please do not share sensitive information.
124137125125-🤝 Help each other out! Respond to issues & discussions, chat in Matrix/Discord, etc.138138+🤝 Help each other out! Respond to issues & discussions, chat in Matrix/Discord, etc.