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
👆 Check the comprehensive documentation and API reference for `WitRandomness` contracts. You will find numerous examples and guides on deriving multiple random numbers from a single seed, and details on setting up your own randomization infrastructure to eliminate reliance on third-party providers.
Copy file name to clipboardExpand all lines: docs/intro/why-witnet-rocks/witnet-the-oracle-making-physical-infrastructure-trustless-and-verifiable.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,3 @@
1
-
---
2
-
draft: true
3
-
---
4
-
5
1
# Witnet: The Oracle Making Physical Infrastructure Trustless and Verifiable
6
2
7
3
[<markstyle="background-color:purple;">**DePIN**</mark>](#user-content-fn-1)[^1] <markstyle="background-color:purple;">projects live or die by the reliability and verifiability of real-world data.</mark> Whether you’re coordinating sensors, devices, hardware operators, bandwidth providers, geolocation proofs, or energy contributors, you need an oracle that can’t be gamed, censored, or controlled by a central actor. **That’s where Witnet stands apart.**
Copy file name to clipboardExpand all lines: docs/smart-contracts/guides/solidity-contracts/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# 📖 Solidity Contracts
2
2
3
-
From a Solidity contract developer's point of view, this Guide describes the interfaces, events, data structures and enums to be aware of when trying to exploit any of the public-domain [appliances](appliances/) built on top of the [Witnet Solidity Bridge framework](../../../smart-contracts-developers-v2/wit-oracle/building-data-requests.md), build your own custom data feeds, or interact at a lower level with other [core artifacts](core/) of the framework.
3
+
From a Solidity contract developer's point of view, this Guide describes the interfaces, events, data structures and enums to be aware of when trying to exploit any of the public-domain [appliances](appliances/) built on top of the Witnet Solidity Bridge framework, build your own custom data feeds, or interact at a lower level with other [core artifacts](core/) of the framework.
4
4
5
5
::: tip
6
6
All described artifacts herewith, as well as the special implementations adapted to the intricacies of some of the supported EVM-compatible chains, can be found as an open-source public repository on [**Github**](https://github.com/witnet/witnet-solidity-bridge), as published by the **Witnet Foundation**.
Copy file name to clipboardExpand all lines: docs/smart-contracts/guides/solidity-wizard.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# 🧙 Solidity Wizard
2
2
3
-
The [**Witnet Solidity SDK**](../../smart-contracts-developers-v2/wit-oracle/parameterized-templates.md) package bundles the _**Solidity Wizard**_ tool that will ease the path when trying to programmatically interact with the **Wit/Oracle blockchain** from your own smart contracts.
3
+
The **Witnet Solidity SDK** package bundles the _**Solidity Wizard**_ tool that will ease the path when trying to programmatically interact with the **Wit/Oracle blockchain** from your own smart contracts.
4
4
5
5
By answering a series of questions, and based on your actual needs, the _**Solidity Wizard**_ will create a customized Solidity contract that inherently implements multiple helper methods for either posting data queries to the Wit/Oracle blockchain, estimating minimum required fees, or checking current status of previously posted queries.
6
6
@@ -27,7 +27,7 @@ Now, depending on whether you wish to rely on the [_**WitOracle**_](solidity-con
27
27
28
28
### Run the Solidity Wizard
29
29
30
-
First, install the [**Witnet Solidity SDK package**](../../smart-contracts-developers-v2/wit-oracle/parameterized-templates.md) into your project, if not done yet:
30
+
First, install the **Witnet Solidity SDK package** into your project, if not done yet:
31
31
32
32
```bash
33
33
$ npm install --save-dev witnet-solidity
@@ -48,7 +48,8 @@ If willing to fetch data from a selection of data sources on the Internet, you w
48
48
49
49
These artifacts contain all required information for the Wit/oracle blockchain to know where to extract and transform data from. They also describe how to aggregate data when extracted from multiple sources, and how to reduce values revealed by the multiple witnessing nodes on the Wit/oracle blockchain.
50
50
51
-
Building, testing and deploying [_WitnetRequest_](solidity-contracts/core/witnetrequest.md) and [_WitnetRequestTemplate_](solidity-contracts/core/witnetrequesttemplate.md) artifacts can be easily done by using the [**Radon Scripting toolkit**](radon-scripting.md)[.](../../smart-contracts-developers-v2/wit-oracle/parameterized-templates.md)
51
+
Building, testing and deploying [_WitnetRequest_](solidity-contracts/core/witnetrequest.md) and [_WitnetRequestTemplate_](solidity-contracts/core/witnetrequesttemplate.md) artifacts can be easily done by using the **Radon Scripting toolkit**
@@ -117,7 +118,8 @@ Two internal methods can be used for this:
117
118
118
119
### Decoding data query results
119
120
120
-
Decoding can be easily done in Solidity. You will find different helper methods depending on whether you opted for reading query results from the [_WitnetOracle_](solidity-contracts/core/witnetoracle.md) storage, or getting query results directly delivered to your smart contract. Please, have a look to [**Decoding results guide**](../../smart-contracts-developers-v2/wit-oracle/decoding-results.md) as to learn how to decode query successful results, and query resolution errors as well.
121
+
Decoding can be easily done in Solidity. You will find different helper methods depending on whether you opted for reading query results from the [_WitnetOracle_](solidity-contracts/core/witnetoracle.md) storage, or getting query results directly delivered to your smart contract.
122
+
<!-- Please, have a look to [**Decoding results guide**](../../smart-contracts-developers-v2/wit-oracle/decoding-results.md) as to learn how to decode query successful results, and query resolution errors as well. -->
121
123
122
124
### Tesing contracts produced by the Solidity Wizard
0 commit comments