2 releases

0.1.3 Mar 27, 2023
0.1.2 Mar 17, 2023
0.1.1 Mar 15, 2023
0.1.0 Mar 10, 2023

#11 in #smart-contract

Download history 15/week @ 2024-03-30 1/week @ 2024-04-06 107/week @ 2024-04-20

89 downloads per month

MIT license

28KB
520 lines

Warp contracts

warp-contracts crate is an inherent part of Warp SDK. This library allows for smooth integration with Warp implementation of SmartWeave protocol.

Feature Yes/No
Sandboxing
Foreign contract read
Foreign contract view
Foreign contract write
Arweave.utils Soon
Evolve
Logging from contract
Transaction data (1)
Block data (2)
Contract data (3)
Gas metering

Legend:

  • Soon - the technology is already there, we just need to find some time to add the missing features :-)
  • (1) - access current transaction data (id, owner, etc.)
  • (2) - access current block data (indep_hash, height, timestamp)
  • (3) - access current contract data (id, owner)

Dependencies

~1.3–3MB
~60K SLoC