Skip to content

How to create an account via smart contract? #159

Closed Answered by horsefacts
romeobuilderotti asked this question in Q&A
Discussion options

You must be logged in to vote

You can call IdGateway.register to create an ID and KeyGateway.add to add a signer public key.

Depending on how you intend to interact with the protocol, you may want to register this account to a fresh address. If you want to use Warpcast, you'll need to import the seed phrase of the account that owns your FID, so it's a good idea to use a single purpose address rather than a shared wallet you use for other types of transactions.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sds
Comment options

Answer selected by sds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants