BLOGPOST
tesla visual

Made with love️ for blockchain community by humans from MVP Workshop

Contact us at

[email protected]

All Rights reserved 2022 c 3327

WTF is Token Engineering?

Ok, we are not trying to reinvent the wheel; just showing you the tools for the ultimate wheel creation. 

In Web3, we have tokenized decentralized systems that anyone can participate in. Like any other, these systems must have rules and limitations to function correctly and according to their purpose. That is why they have their own economies to incentivize participants towards a specific goal. These economies are called Token Economies, as Token is the medium by which transactions happen, and behavior is incentivized. It can cover various functions of money: medium of exchange, store of value, or unit of account. It can represent anything in the confines of the Web3 tokenized system. 

 “Tokens represent a part of the state of any crypto economic system and can be seen as their atomic unit.” - Shermin Voshmgir and Michael Zargham.

But the question here is: How to design these tokenized ecosystems? How to analyze the said design and simulate it? Is the Systems Thinking approach to design enough? 

This is where the emerging Token Engineering field comes into play. Well, it’s emerging since 2018 heh.

Token engineering is a cross-disciplinary field that draws from systems, electrical, and robotics engineering practices. It also draws from Behavioral and Ecological Economics, AI, and Optimization. Its goal is to create reliable systems that work under varying circumstances and tokenomic systems that are exploit-proof. 

Considering the events that happened this spring (lots of project economies failed, coins tanked, etc.), you can probably guess that good simulation-tested economy design in the future will be even more significant than in previous years. By simulation tested, we mean creating the mathematical models representing the project and observing how the project’s economy performs in various/random situations.  

Taking into account the attention span of an average blog reader, we will skip covering the steps in the Token Engineering process and showcase the three tools that caught our attention. 

If you are interested in reading the comprehensive research that covers the whole process, read our paper here!!!

Machinations

Machinations is a browser-based tool to design and balance game systems. This tool has seen use from game designers, consultants, developers, and analysts. Token Engineers can also use this tool in designing Crypto Economic systems in stages, from System Mapping to Evaluation and improvements on the running system. Machinations shines in pre-production.

Using Machinations, Token Engineer can:

  • Map systems in an interactive diagram
  • Set parameters that define resource flow
  • Plot and analyze the results in real-time using the chart option
  • Simulate outcomes for one player journey or stochastically using batch plays
  • Export outcomes in CSV
  • Export design parameters to Google Sheets

Even though its main focus is on game design, Token Engineers can use machinations for all the Token Engineering process stages. 

Below you will find a basic diagram created in machinations that represents the flow of an overly simplified AMM system:

Note : This is a lightweight AMM design done in Machinations .  Machinations is a very easy tool to pick up. You can check the design here.

Learn more about Machinations: https://machinations.io/docs/ 

cadCAD

cadCAD is the package most often used in designing, testing, and validating complex systems through simulation. It is a go-to tool for designing and validating token systems and is widely used by Token Engineers. It supports Monte Carlo methods, A/B testing, and parameter sweeping. cadCad can model systems from agent-based modeling to system dynamic modeling. It can easily be integrated with other Python modules and data science workflows. Token Engineers can use cadCAD for all the Token Engineering process stages.

Learn more about cadCad: https://www.cadcad.education/ 

TokenSPICE

TokenSPICE is an EVM Agent-Based Token Simulator written in Python, which simulates tokenized ecosystems via an agent-based approach, with EVM “in the loop”.

Ethereum Virtual Machine (EVM) is a computation engine that acts like a decentralized computer with millions of executable projects. It acts as the virtual machine, which is the bedrock of Ethereum’s entire operating structure.

TokenSPICE has been mainly used in later stage analysis and for verifying and tuning the system designs. It can be used in Token Engineering flows to design, adjust and verify tokenized ecosystems.

Agent-based modeling focuses on the individual active components of a system. Agents in tokenSPICE can be DAOs, unique users, and other protocols, making it a versatile tool.

If the engineer wants to model on the smart contract code directly and skip the equations set up like cadCad, then the tokenSPICE is the tool of choice.

This tool uses Brownie, which treats smart contracts as classes, making it easier to run simulations. It also requires less work upfront in contrast to cadCad. Write the contracts in Solidity, then simulate with tokenSPICE.

Learn more about TokenSPICE: Introducing TokenSPICE. EVM Agent-based Token Simulator for… | by Trent McConaghy 

Alternatives?

Interested in alternatives for these tools? 

You can see the list of possible tools for system modeling with tokens, and their strengths and weaknesses here

Conclusion

In this article we covered:

  • What is Token Engineering and the importance of the field.
  • Machinations - a browser-based tool to design and balance game systems. 
  • cadCAD - a tool used in designing, testing, and validating complex systems through simulation.
  • TokenSPICE - an EVM Agent-Based Token Simulator written in Python, which simulates tokenized ecosystems via an agent-based approach. 

Token Engineering as a field is still young, and the community around it is still tiny. However, the quality of tools available is exceptional. The tools range from general game design tools (Machinations) and general system design tools (cadCad) to specialized tools like tokenSPICE. The only missing piece of the puzzle are the Token Engineers, who will focus on mastering these tools to provide valuable insights into both designing and validating crypto-economic systems.

That’s all, folks! We presented the tools used in Token Engineering and gave you some context. P.S. Token Economies are not going to design themselves. 😉 

SHARE

COMMENTS (0)

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

You may also find this interesting:

ML meets Blockchain: The Clash of Buzzwords

Blockchain technology and ZK proofs may be the last missing puzzle pieces for creating trustless and secure decentralized machine learning networks. This complex symphony of technologies opens the door for accessing knowledge from private databases, such as hospitals or government databases, without leaking information while still providing verifiable models and predictions.  Intro Machine learning has […]

By Aleksandar Veljkovic
December 1, 2022
Layer Hack: zkSync’s Account Abstraction

About Layer Hack Encode Club hosted a great hackathon focused on Layer 2 scaling solutions - Layer Hack. The hackathon lasted for nearly a month (Oct. 17 - Nov. 13), and was sponsored by AltLayer, Boba Network, Metis, and zkSync - each sponsor had their track with its own topic.  Out of those four tracks, […]

By Milos Bojinovic
November 24, 2022
Smart pointer: Rust vs C++

In the previous blog post, we got the idea about the ownership concept and how the Rust compiler works. This blog post will acquaint us with smart pointers and basic concepts to write safe and clean programs. It will be shown through examples in parallel in C++ and Rust. Even if you are not familiar […]

By Marija Mijailovic
November 17, 2022
User (de)centric design in Web3

All in all, it's just another “de” in the world Decentralization, democracy, DeFi, dex, degen…🙈 Web3 is hyping us all, and somehow, we keep adding the prefix “de” as a common Web3 good to all of it. As a product manager, user research came to my attention early in my career. When I joined Web3 […]

By Dragana Koprivica
November 9, 2022
Let’s geek out together!
Would you love to work with us on Web3-related experiments and studies?
Drop us a message