forked from vxyagr/loka_canister
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.txt
16 lines (6 loc) · 925 Bytes
/
test.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
dfx deploy loka --argument '(record{admin = principal "2zosz-ithna-3dqa4-crx3i-2gy7e-o3rkp-fa6wk-mczsu-3h7bi-poiym-hae"})' --network ic
dfx deploy nft --argument '(principal "2zosz-ithna-3dqa4-crx3i-2gy7e-o3rkp-fa6wk-mczsu-3h7bi-poiym-hae")' --network ic
dfx deploy controller --argument '(record{admin = principal "2zosz-ithna-3dqa4-crx3i-2gy7e-o3rkp-fa6wk-mczsu-3h7bi-poiym-hae";hashrate=0.035; electricity = 0.035; miningSiteIdparam = 1 ; siteName = "jakarta-1"; totalHashrate =4000.0 ;})' --network ic
dfx canister call (nft name) setMinter '(principal "7wncc-gaaaa-aaaam-ab2hq-cai")' --network ic
dfx canister call lbtc icrc1_transfer "(record { to = record { owner = principal \"7wncc-gaaaa-aaaam-ab2hq-cai\";}; amount = 10_000_000_000;})" --network ic
dfx canister call loka addMiningSite '("Jakarta", "jakarta-1", 0.035,0.035,4000,"7rmew-lyaaa-aaaam-ab2ha-cai", "7wncc-gaaaa-aaaam-ab2hq-cai")' --network ic