Open sczembor opened 3 months ago
@CommonDrum
Hi, I have some objections about this point - Casper Events Support. Not sure it will be easy to implement
Subscribe to relevant message topics emitted by contracts and handle these events within your application's logic
because the application will need to store some state about the installed contracts. I know we can rely on sidecar here but as current version of Fondant doesn't use it I can't say how far we can go with this functionality.
Casper 2.0 Fondant
Dependency Upgrade:
casper-node
,casper-client
,cctl
and any other relevant tools.Data Parsing:
AddressableEntity:
AccountHash
andContractHash
with the unifiedKey::AddressableEntity
.EntityKindTag
(Account or SmartContract) to specify the type of theAddressableEntity
.AddressableEntity
format.Casper Events Support:
Casper Client Command Updates:
get-account
command withget-entity
to retrieve information about an addressable entity (account or contract).get-deploy
command withget-transaction
to retrieve details about a specific transaction.put-deploy
command withput-txn
to submit a new transaction to the network.casper-js-sdk Updates:
Testing: