|
vor 9 Monaten | |
---|---|---|
.. | ||
api | vor 9 Monaten | |
program | vor 9 Monaten | |
tests | vor 9 Monaten | |
.gitignore | vor 9 Monaten | |
Cargo.toml | vor 9 Monaten | |
README.md | vor 9 Monaten | |
cicd.sh | vor 9 Monaten | |
package.json | vor 9 Monaten | |
pnpm-lock.yaml | vor 9 Monaten | |
tsconfig.json | vor 9 Monaten |
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