You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clone this repository locally or [**open it in gitpod**](https://gitpod.io/#/github.com/near-examples/multiple-cross-contract-calls). Then follow these steps:
129
+
Clone this repository locally. Then follow these steps:
127
130
128
-
### 0. Accounts for deploying contracts from these examples can be created by:
131
+
132
+
### 0. Test the Contract
133
+
Deploy your contract in a sandbox and simulate interactions from users.
129
134
130
135
```bash
131
-
# NEAR CLI
132
-
near create-account <target-account-id> --useFaucet
133
-
# near-cli-rs
134
-
near account create-account sponsor-by-faucet-service <target-account-id> autogenerate-new-keypair save-to-keychain network-config testnet create
136
+
cd contracts
137
+
cargo test --workspace
135
138
```
136
139
137
-
### 1. Install Dependencies
140
+
### 1. Examples' cli-s versions
141
+
142
+
Commands in each contract's `README` are valid for following versions of programs.
143
+
138
144
```bash
139
-
npm install
145
+
# NEAR CLI
146
+
❯ near --version
147
+
4.0.10
148
+
149
+
# near-cli-rs
150
+
❯ near --version
151
+
near-cli-rs 0.8.1
152
+
153
+
❯ cargo near --version
154
+
cargo-near-near 0.6.1
140
155
```
141
156
142
-
### 2. Test the Contract
143
-
Deploy your contract in a sandbox and simulate interactions from users.
157
+
### 2. Accounts for deploying contracts from these examples can be created by:
144
158
145
159
```bash
146
-
npm test
160
+
# NEAR CLI
161
+
near create-account <target-account-id> --useFaucet
162
+
# near-cli-rs
163
+
near account create-account sponsor-by-faucet-service <target-account-id> autogenerate-new-keypair save-to-keychain network-config testnet create
147
164
```
148
165
166
+
149
167
---
150
168
151
169
# Learn More
152
-
1. Learn more on each contract's [README](./contract/README.md).
0 commit comments