|
há 9 meses atrás | |
---|---|---|
.. | ||
api | há 9 meses atrás | |
program | há 9 meses atrás | |
tests | há 9 meses atrás | |
.gitignore | há 9 meses atrás | |
Cargo.toml | há 9 meses atrás | |
README.md | há 9 meses atrás | |
cicd.sh | há 9 meses atrás | |
package.json | há 9 meses atrás | |
pnpm-lock.yaml | há 9 meses atrás | |
tsconfig.json | há 9 meses atrás |
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