- Actualizar yum
$ sudo yum update -y
- abrir una terminal de root
$ sudo -i
pragma solidity ^0.4.23; | |
contract ArgumentsTest { | |
function noArgs () view public returns (address) { | |
return msg.sender; | |
} | |
function singleArg(uint16 foo) view public returns (address) { | |
return msg.sender; |
C:\Users\fantasma\Desktop\darq-debug>.\node_modules\.bin\truffle console | |
truffle(development)> debug 0xe773a9874e509e26cec7b89bb56dacac1efb7d6661b20b388fc4810b2f1791cc | |
Compiling .\contracts\Fibonacci.sol... | |
Compiling .\contracts\Migrations.sol... | |
Gathering transaction data... | |
redux-saga error: uncaught at session.saga | |
at session.saga | |
TypeError: Cannot destructure property `sourcePath` of 'undefined' or 'null'. |
[ | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "creator", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} |
pragma solidity ^0.4.20; | |
import "./AccessControl.sol"; | |
import "../node_modules/openzeppelin-solidity/contracts/ownership/Ownable.sol"; | |
contract EducationToken is Ownable{ | |
string public name; | |
string public description; |
pragma solidity ^0.4.18; | |
contract Faucet { | |
address public owner; | |
address public owner2; | |
bool public available; | |
mapping (address => bool) fundedAccounts; | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>test</title> | |
</head> | |
<body> |
Based on the docs found here
$ lsblk # Nitro based output
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nvme0n1 259:0 0 8G 0 disk
├─nvme0n1p1 259:1 0 8G 0 part /
└─nvme0n1p128 259:2 0 1M 0 part
nvme2n1 259:4 0 40G 0 disk /home/ec2-user/data
Preparing for web development using WSL, I have taken from other sources and condensed it to save some time. This intends to be a quick setup guide, if you want and in-depth explanation go ahead and open the links at the bottom. I do not intend to take credit from them, links will be at the bottom.
How to enable this feature