|
9 ماه پیش | |
---|---|---|
.. | ||
api | 9 ماه پیش | |
program | 9 ماه پیش | |
tests | 9 ماه پیش | |
.gitignore | 9 ماه پیش | |
Cargo.toml | 9 ماه پیش | |
README.md | 9 ماه پیش | |
cicd.sh | 9 ماه پیش | |
package.json | 9 ماه پیش | |
pnpm-lock.yaml | 9 ماه پیش | |
tsconfig.json | 9 ماه پیش |
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