mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-17 20:35:41 +00:00
update links to ink! (#13819)
This commit is contained in:
@@ -106,14 +106,14 @@ Look for the `define_env!` macro invocation.
|
|||||||
|
|
||||||
This module executes WebAssembly smart contracts. These can potentially be written in any language
|
This module executes WebAssembly smart contracts. These can potentially be written in any language
|
||||||
that compiles to web assembly. However, using a language that specifically targets this module
|
that compiles to web assembly. However, using a language that specifically targets this module
|
||||||
will make things a lot easier. One such language is [`ink`](https://github.com/paritytech/ink)
|
will make things a lot easier. One such language is [`ink!`](https://use.ink)
|
||||||
which is an [`eDSL`](https://wiki.haskell.org/Embedded_domain_specific_language) that enables
|
which is an [`eDSL`](https://wiki.haskell.org/Embedded_domain_specific_language) that enables
|
||||||
writing WebAssembly based smart contracts in the Rust programming language.
|
writing WebAssembly based smart contracts in the Rust programming language.
|
||||||
|
|
||||||
## Debugging
|
## Debugging
|
||||||
|
|
||||||
Contracts can emit messages to the client when called as RPC through the `seal_debug_message`
|
Contracts can emit messages to the client when called as RPC through the `seal_debug_message`
|
||||||
API. This is exposed in ink! via
|
API. This is exposed in [ink!](https://use.ink) via
|
||||||
[`ink_env::debug_message()`](https://paritytech.github.io/ink/ink_env/fn.debug_message.html).
|
[`ink_env::debug_message()`](https://paritytech.github.io/ink/ink_env/fn.debug_message.html).
|
||||||
|
|
||||||
Those messages are gathered into an internal buffer and send to the RPC client.
|
Those messages are gathered into an internal buffer and send to the RPC client.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Benchmarks
|
# Benchmarks
|
||||||
|
|
||||||
This directory contains real world (ink!, solang) contracts which are used in macro benchmarks.
|
This directory contains real world ([ink!](https://use.ink), [solang](https://github.com/hyperledger/solang)) contracts which are used in macro benchmarks.
|
||||||
Those benchmarks are not used to determine weights but rather to compare different contract
|
Those benchmarks are not used to determine weights but rather to compare different contract
|
||||||
languages and execution engines with larger wasm modules.
|
languages and execution engines with larger wasm modules.
|
||||||
|
|
||||||
|
|||||||
@@ -66,8 +66,8 @@
|
|||||||
//!
|
//!
|
||||||
//! # Example
|
//! # Example
|
||||||
//!
|
//!
|
||||||
//! The ink! repository maintains an
|
//! The ink-examples repository maintains an
|
||||||
//! [end-to-end example](https://github.com/paritytech/ink/tree/master/examples/rand-extension)
|
//! [end-to-end example](https://github.com/paritytech/ink-examples/tree/main/rand-extension)
|
||||||
//! on how to use a chain extension in order to provide new features to ink! contracts.
|
//! on how to use a chain extension in order to provide new features to ink! contracts.
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
//! The Contract module is a work in progress. The following examples show how this Contract module
|
//! The Contract module is a work in progress. The following examples show how this Contract module
|
||||||
//! can be used to instantiate and call contracts.
|
//! can be used to instantiate and call contracts.
|
||||||
//!
|
//!
|
||||||
//! * [`ink`](https://github.com/paritytech/ink) is
|
//! * [`ink!`](https://use.ink) is
|
||||||
//! an [`eDSL`](https://wiki.haskell.org/Embedded_domain_specific_language) that enables writing
|
//! an [`eDSL`](https://wiki.haskell.org/Embedded_domain_specific_language) that enables writing
|
||||||
//! WebAssembly based smart contracts in the Rust programming language.
|
//! WebAssembly based smart contracts in the Rust programming language.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user