current position：Home>How to write a smart contract for access control IOT devices?
How to write a smart contract for access control IOT devices?
2022-02-03 20:56:11 【Q & A of Denglian community】
Take the answer 1：
The contract does not have the ability to access external devices , Only external devices can access the contract .
Preparation of contract , Look at the documentation ：https://learnblockchain.cn/docs/solidity
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
The sidebar is recommended
- After downloading the truss again, the problem of Solc compiling environment will not be prompted, but the output error will be displayed. Why?
- The wallet can be connected to metamask and Ganache to obtain balance, but the balance connected to get is 0
- How to use private key offline signature to initiate a contract call transaction?
- Why does nonce in eth trading have to be continuous? I think it's bigger than the current one. Please solve your doubts???
- When the third parameter is passed, the web console reports an error and votes for the third candidate. Metamask is not approved, but it is OK to delete the third parameter "Jose".
- How does solidity calculate the square root of a number?
- What's the use of solidity contract address?
- How to ensure that the information collected by each node is consistent in the generation of a block?
- How to use different users to call contract functions in truffle console
- How to use the call, callcode, and delegatecall functions called by the solidity contract?
guess what you like
How to assign and deploy constructor parameters in geth console?
How to use the keyword "solid payable"?
How to construct offline transaction for bitcoin isolation address
Ganache installation problem
The "gas deduction" function appears in the "solid require" function?
How does a smart contract receive Ethernet?
Metamask transfer error
Etherscan has been blocked. What alternative blockchain browser is available?
Bitcoin 6 block confirmation problem
When mining with code, why do you have to convert it into JSON format and sort it when hashing?
- How to use the etheric currency allocated by Ethereum Genesis block
- The voting code runs on Remix. The constructor version is compatible. The code and error information are attached. Please have a look.
- The geth node is killed
- About Web3 JS installation problem???
- How to deploy truss to remote private chain
- Is there a size limit for the storage of Ethereum contract accounts?
- How can Ethereum contract accounts prevent disclosure of their own information?
- How to use delegatecall and what is its specific function?
- An error occurred when golang implemented the offline signature (cold signature) transaction of eth transaction
- Ask a question about the use of anonymous event in solidity
- How do erc20 tokens upload icons?
- Fabric 2.0 compile make error solution!
- How to do Merkle hash for the block hash of two sub chains
- Check the Ethereum source code and find that the precompiled contract ecrecover has a devil number
- How can smart contracts receive various token transfers from others?
- When I changed the compiled version of solidity
- After using the truss test command, an error is reported. How to solve it?
- The token contract of geth private chain deployment is successful, but the totalsupply is 0 and there is no other initialization information. The contract looks like it has not taken effect
- The Syntax version of Ethereum DAPP development practical video tutorial?
- Remix deployment contract failed
- This tap is combined with demo and can't be compiled. What's wrong and how to change it.
- When truffle compiles the contract, it gets stuck all the time and can't climb over the wall
- The version problem of Ethereum DAPP development actual combat video tutorial?
- About the syntax of the solid version?
- How to realize the flexible query of blockchain?
- Introduction and of nodes
- Where are the 12.5 bitcoin payment addresses?
- Hello, everyone. I'm a novice. Please take care of me.
- [job opportunities] there are two open source projects in the community that lack audit
- ethers-v4. Why does min.js report this error
- Bitcoin balance query
- The road printing agreement is hiring!
- Use ethers JS failed to generate Wallet
- What about pure Xiaobai
- An error is reported when deploying Ethereum locally
- Solid error
- Taking DAPP pethop as an example, metamask needs to pay eth when adopting. How can I modify the code?
- When deploying fabric on multiple machines, the order node has opened port 7050. But peer0org1 cannot connect to the order node.
- I'm in rinkeby IO deployment contract, and then query the error report~
- Smart contract data migration solution?