Create resource account #362
-
To create a resource account I need the SEED can it be everything? for example an email? Also I don't understand the create-resource-account-and-publish-package function, does it mean that I create a contract and after I execute that function in order to publish that contract under the address of that resources account? In that case after how can I get the signature of that resource account? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
seed just needs to be unique per deployer account, it creates a deterministic mapping from (deployer_address, seed) => resource_account_address. so you cant publish two packages from the same deployer with the same seed
sure, thats unique
yes, that function creates a resource account, and publishes a package in that resource account
the vm calls you can also retrieve and store the signer_cap in
|
Beta Was this translation helpful? Give feedback.
seed just needs to be unique per deployer account, it creates a deterministic mapping from (deployer_address, seed) => resource_account_address. so you cant publish two packages from the same deployer with the same seed
sure, thats unique
yes, that function creates a resource account, and publishes a package in that resource account
the vm calls
init_module
once when the module…