Skip to content

anthonymq/stock-inventory-dfn

Repository files navigation

DFINITY-Vue

https://sdk.dfinity.org/docs/developers-guide/tutorials/explore-templates.html

DFX_VERSION=0.6.26 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"
dfx start
dfx deploy
ou
dfx canister create --all
dfx build
dfx canister install --all -m reinstall
dfx deploy main --argument "(principal \"$(dfx identity get-principal)\")"
                --argument "(principal \"$(dfx identity get-principal)\")"
dfx canister call main my_role
(you should be owner)

\\ to give access to a new user, you need is Principal
dfx canister call main assign_role "(principal \"PRINCIPAL\", opt variant{authorized})"

About

Stock management on the Internet Computer (Dfinity)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published