-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.txt
More file actions
34 lines (17 loc) · 1.61 KB
/
Copy pathtest.txt
File metadata and controls
34 lines (17 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
alcohol subway bind copper lottery other apart lion harvest rough fall near
near create-account greeting.nayneshrathod.testnet
near create-account greeting.nayneshrathod.testnet --masterAccount nayneshrathod.testnet --initialBalance 10
yarn add asbuild
yarn asb
near dev-deploy
near dev-deploy build/release/assemblyscriptcontract.wasm
near deploy --contractName=greeting.nayneshrathod.testnet --keyPath=/home/gitpod/.near-credentials/testnet/greeting.nayneshrathod.testnet.json --wasmFile=/workspace/AssemblyScriptContract/build/release/assemblyscriptcontract.wasm
near call greeting.nayneshrathod.testnet getGreeting '{"accountId": "greeting.nayneshrathod.testnet"}' --accountId nayneshrathod.testnet
near call greeting.nayneshrathod.testnet setGreeting '{"greeting": "Hello World"}' --accountId nayneshrathod.testnet
near call greeting.nayneshrathod.testnet getGreeting '{"accountId": "nayneshrathod.testnet"}' --accountId nayneshrathod.testnet
---------------------------------------------------------------
yarn asb
near deploy --contractName=greeting.nayneshrathod.testnet --keyPath=/home/gitpod/.near-credentials/testnet/greeting.nayneshrathod.testnet.json --wasmFile=/workspace/AssemblyScriptContract/build/release/assemblyscriptcontract.wasm
near call greeting.nayneshrathod.testnet getGreeting '{"accountId": "greeting.nayneshrathod.testnet"}' --accountId nayneshrathod.testnet
near call greeting.nayneshrathod.testnet setGreeting '{"greeting": "Hello World"}' --accountId nayneshrathod.testnet
near call greeting.nayneshrathod.testnet getGreeting '{"accountId": "nayneshrathod.testnet"}' --accountId nayneshrathod.testnet