텔레그램의 TON Network(The Open Network)는 눈가리고 아웅하고 있음
- TON은 모든 state와 tx 실행의 기록을 담당하는 하나의 Masterchain과 컨트랙트 배포와 실제 tx 실행을 담당하는 다수의 Workchain으로 구성되어있음
- Workchain은 최대 2^32 개로 생성할 수 있다고함
- 또한 하나의 Workchain은 2^60 개의 샤드로 분리하여 처리가능함 (샤드는 데이터의 묶음으로 보면 됨)
- 그러나 현재 Workchain은 1개만 작동하고 있음
- TON 네트워크에서 체인은 id가 있는데, Masterchain은 -1, Workchain의 id는 0임
- 만약 id가 1인 Workchain이 생성된다면 0인 Workchain과는 별개의 네트워크라고 보면됨
TON supports multiple workchains - which one should I use in my code?
According to TON whitepaper, the TON blockchain network supports multiple chains.
What's the differences between these and which workchain should I use when deploying contracts or reading data from