Who’s the Best On-chain Diplomat?
Are you ready to become an on-chain diplomat? We're excited to announce that we're hosting a treaty idea competition to give you the opportunity to contribute to the first version of Treaty. We’ll be granting both cash rewards and exclusive NFTs for the winners!
For the next few days, you can submit your treaty ideas in our Discord "Treaty Idea Competition" channel and discuss them with other aspiring diplomats. Our team will also be participating in the discussions to help you refine your ideas and answer any question.
We've created a template for you to present your ideas:
- What's the name of the treaty?
- What does this treaty do?
- What are the conditions for joining the treaty? Does the deployer have to whitelist players first?
- What kind of interactions can players make with your treaty? Ex: In the embargo agreement, only the deployer can set up the
- Does it use any approval function? If so, how does it work?
- Where did you take the inspiration from?
- Why should people use your treaty?
We've already published several articles to explain Treaty and provided an overview of our game rules, so you have all the information you need to come up with innovative and exciting treaty ideas. The possibilities are endless, so let your imagination run wild. Just keep in mind that as this is the first version of the game, it's important to keep it simple so that more players can understand how it works.
As a refresher, you have the power to design treaties that control and enforce the actions of all signers. For example, the Embargo Agreement is a treaty that aims to ban signers from trading with a specific nation. To achieve this, we put up a
sanctionList in the contract. Only the deployer of the treaty can modify this list using the functions
removeFromSanctionList. Additionally, you have access to the game's engine and game-related contracts, such as ERC20 token contracts for resources like Crystal, Food, Horseman, Warrior, Slinger and Guard. This means you can design treaties that oversee any specific aspect of the game. For example, the Embargo Agreement uses the
approveTransfer function (there’s many more that follow the approve - functionName pattern) to ensure that signers cannot transact with nations on the sanction list.
We've provided a list of all approval functions that you can use in your treaty designs, which you can find in our open-sourced contracts. Our technical overview also does a great job explaining how they work.
Remember, a treaty, or what we also like to call user-generated logic (UGL), can be whatever you want it to be. Take inspiration from DeFi protocols if not real-life politics or history. We've even included a simple OTC treaty in the first version of the game for you to check out.
The submission window will close in a few days. Then we’ll handpick the best treaties that are implementable for this version. For developers, submitting the code of your treaty in a link is highly encouraged (although not required)! Winners are guaranteed with $150 USD.
Now that you've received a crash course in on-chain diplomacy, it's time to put your skills to the test. We can't wait to read your creative and strategic treaties that can shape the future of the game!
Don’t forget to join our Discord here!