warp-contracts / warp

An implementation of the Arweave SmartWeave smart contracts protocol.
MIT License
159 stars 44 forks source link

feat: contract deployment via nested bundles #258

Closed ppedziwiatr closed 1 year ago

ppedziwiatr commented 2 years ago

Move to nested bundles when ar.io will be ready on their side. This should fix the confusion with "double" ids (the data-item id and the wrapped transaction id) in the current solution (https://github.com/warp-contracts/warp/blob/main/docs/BUNDLED_CONTRACT.md#how-it-works).

  1. verify how the arbundles library will affect the SDK bundle size and browser's compatibility. Worst case scenario - prepare our own, stripped down version.
  2. the signing process will be similar to the example here https://github.com/warp-contracts/gateway/blob/ppe/bundling-test/tools/bundle.js#L38
ppedziwiatr commented 1 year ago

duplicate