Skip to content

Commit c6c61e0

Browse files
committed
docs(contracts): rename and clarify WASM contract support
1 parent 2beefc1 commit c6c61e0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/contracts.md renamed to docs/wasm-contracts.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# Smart Contracts on Subtensor
1+
# WebAssembly Smart Contracts
22

33
## Overview
44

5-
Subtensor now supports smart contract functionality through the integration of `pallet-contracts`, enabling developers to deploy and execute WebAssembly (WASM) smart contracts on the network. Contracts are written in [ink!](https://use.ink/), a Rust-based embedded domain-specific language (eDSL) for writing smart contracts on Substrate-based chains.
5+
Subtensor now supports WebAssembly (WASM) smart contract functionality through the integration of `pallet-contracts`, enabling developers to deploy and execute WASM smart contracts on the network. Contracts are written in [ink!](https://use.ink/), a Rust-based embedded domain-specific language (eDSL) for writing smart contracts on Substrate-based chains. For compatibility, WASM contracts can also be compiled from Solidity using [Solang](https://github.com/hyperledger-solang/solang).
6+
7+
> [!NOTE]
8+
> If you're looking for information on EVM contracts, please see the documentation: https://docs.learnbittensor.org/evm-tutorials
69
710
## Getting Started
811

@@ -81,7 +84,7 @@ Chain extension functions that modify state return error codes as `u32` values.
8184

8285
### Call Filter
8386

84-
For security, contracts can only dispatch a limited set of runtime calls:
87+
For security, contracts can only directly dispatch a limited set of runtime calls:
8588

8689
**Whitelisted Calls:**
8790
- `Proxy::proxy` - Execute proxy calls

0 commit comments

Comments
 (0)