Skip to content

Conversation

@ltardivo
Copy link
Collaborator

@ltardivo ltardivo commented Sep 6, 2024

This PR introduces a new type for storing ES6 modules with the Bitcoin Computer. Now there are two different modes to store a module on the blockchain: taproot or multisig mode. The default mode is taproot. The mode can be changed by passing the option moduleStorageType into the constructor of the Computer class. In Taproot mode, the module is stored in a Taproot script. This is cheeper and it enables you to store larger Javascript programs in a module. The multisig mode stores the module in multisig scripts. This is more expensive but compatible with chains that do not support Taproot.

  • Add a parameter in the Computer object config to set up module storage type ('taproot' or 'multisig')
  • Add environment variable to configure the module storage type at NFT app
  • Add service configuration for synchronization process service on PEPE regtest dockerfile
  • Fix type on swap package
  • Updates documentation

This PR fixes #261

@ltardivo ltardivo requested a review from ClemensLey September 6, 2024 21:15
@ClemensLey
Copy link
Contributor

Great

@ClemensLey ClemensLey merged commit 087baed into main Sep 6, 2024
@ClemensLey ClemensLey deleted the feat/hybridModuleSystemType3 branch September 6, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Module system does not work with Pepecoin

3 participants