File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -281,6 +281,14 @@ cargo near build
281
281
282
282
Builds a NEAR smart contract along with its [ ABI] ( https://github.com/near/abi ) (while in the directory containing contract's Cargo.toml).
283
283
284
+ If you have problems/errors with schema/ABI during build that you cannot figure out quick, you can skip/circumvent them with:
285
+
286
+ ``` sh
287
+ cargo near build non-reproducible-wasm --no-abi
288
+ ```
289
+
290
+ And return to figuring how to resolve problems with generating ABI of your contract later.
291
+
284
292
``` sh
285
293
cargo near create-dev-account
286
294
```
Original file line number Diff line number Diff line change 54
54
//!
55
55
//! ### Compiling to WASM
56
56
//!
57
- //! Install cargo near in case if you don't have it:
57
+ //! Install ` cargo- near` in case if you don't have it:
58
58
//! ```bash
59
59
//! cargo install --locked cargo-near
60
60
//! ```
61
61
//!
62
- //! Build your contract for the NEAR blockchain:
62
+ //! More installation methods on [cargo-near](https://github.com/near/cargo-near)
63
+ //!
64
+ //! Builds a NEAR smart contract along with its [ABI](https://github.com/near/abi) (while in the directory containing contract's Cargo.toml):
63
65
//!
64
66
//! ```bash
65
67
//! cargo near build
66
68
//! ```
67
69
//!
70
+ //! If you have problems/errors with schema/ABI during build that you cannot figure out quick, you can skip/circumvent them with:
71
+ //!
72
+ //! ```bash
73
+ //! cargo near build non-reproducible-wasm --no-abi
74
+ //! ```
75
+ //!
76
+ //! And return to figuring how to resolve problems with generating ABI of your contract later.
77
+ //!
68
78
//! ### Running Unit Tests
69
79
//!
70
80
//! Use the following testing setup:
You can’t perform that action at this time.
0 commit comments