|
před 4 měsíci | |
---|---|---|
.. | ||
api | před 9 měsíci | |
program | před 9 měsíci | |
tests | před 9 měsíci | |
.gitignore | před 9 měsíci | |
Cargo.toml | před 4 měsíci | |
README.md | před 9 měsíci | |
cicd.sh | před 9 měsíci | |
package.json | před 9 měsíci | |
pnpm-lock.yaml | před 9 měsíci | |
tsconfig.json | před 9 měsíci |
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