Author Topic: Bitshares VM (BVM) interoperability with Solidity, Web3 etc.  (Read 1483 times)

0 Members and 1 Guest are viewing this topic.

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Got you, so for example if BTS Assets can be accessed using the standard ERC20 contract, the migration can be simplified.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline bytemaster

It would be as close as humanly possible to make migrating apps easy and to leverage all of their powerful dev tools.

There would be some BTS specific extensions that would give the EVM access to BTS state.  Likewise, there would be some state info from ETH that would not be exposed (such as mining difficulty).

So any smart contract that doesn't care about the chain it is running on should be fine.

It is kind of like targeting windows vs mac vs linux.  So long as you don't call OS specific system calls your app will be cross platform.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Hi,

Quick question, and most probably I got the wrong end of the stick so bear with me. If the plan is to create a BVM (or GVM or Plasma?), as per the mumble chat. Will this work the same as the EVM (or similarly).. So for example, will contracts have the same bytecode and could be compiled the same way? Will transactions will have the same parameter encoding / decoding?
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads