팩토리
팩토리는 자체적으로 컴파일된 컨트랙트를 저장하고 하위 계정(sub-account)에 배포하는 것을 자동화하는 스마트 컨트랙트입니다.
다음과 같은 두 가지의 팩토리의 예시가 있습니다.
정보
In this page we will focus on the Donation factory, to learn more about the token factory visit its repository.
일반 팩토리
일반 팩토리는 다음과 같은 컨트랙트 팩토리를 제공합니다.
- 자신의 하위 계정을 생성하고 컨트랙트를 배포합니다 (
create_factory_subaccount_and_deploy
). update_stored_contract
메서드를 사용하여 저장된 컨트랙트를 변경할 수 있습니다.
- 🦀 Rust
- deploy.rs
- manager.rs
Loading...
Loading...