Skip to content

Conversation

@Lucianoottor
Copy link

This PR adds a Token Factory example to demonstrate cross-contract instantiation in ink! v6. It allows the deployment of multiple SimpleToken contract instances programmatically from a central factory contract.

Key Features

Factory Pattern: Implements a "Simple Factory" to manage the lifecycle of child contracts.

Cross-Contract Calls: Demonstrates how to use Ref and code_hash to instantiate contracts dynamically.

Storage: Tracks deployed contract addresses using StorageVec.

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.

1 participant