when is the child-chain's first block created?
code-brewer opened this issue · 3 comments
hi all. I am not familiar with plasma and need help on some concepts.
First question:
Does the first-block created at the moment that plasmat-contract deployed or at the point that first deposit() call from client ?
Second question:
Does there only one instance of plasmat-contract on root-chain event if there is multilple direct child-chain ?
I am probably not the best person to answer for this package, so anyone please correct me if I have some misunderstanding.
- In the implementation here, it can possibly be deposit or when operator submit the first block to the contract. However, it doesn't really matters when the first block is created.
- Usually it is one smart contract contract to one child chain. One to many seems to be possible but probably don't have any benefit (?)
So much appreciated to your comment. I asked these question because i'm blocked while trying to use this https://github.com/matterinc/PlasmaContract/blob/master/contracts/PlasmaParent.sol Plasma implementation. It seem to use array to store all child-chain, but i am not sure.
Did a quick look, it doesn't seem like to be multiple child-chain though. Can you point out where makes you feel like that?