This "create-account" program is written using Steel, a framework for writing onchain programs.
Error
- Custom defined errors.Consts
– Program constants.Instruction
– Declared instructions.Initialize
– Initialize the account creation.New Account
– Link account and the struct that stores unique user ID.Compile your program:
pnpm build
Run unit and integration tests:
pnpm test
Do both together:
pnpm build-and-test