Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Alexander Praetorius
@serapath
Alexander Praetorius
@serapath

How to learn more about solidity and get help?

Alexander Praetorius
@serapath
pragma solidity >=0.4.0 <0.7.0;

contract Coin {

  address public minter;
  mapping (address => uint) public balances;
  constructor() public { minter = msg.sender; }
  event Sent(address from, address to, uint amount);

  function send (address receiver, uint amount) public {
    require(amount <= balances[msg.sender], "Not enough funds.");
    balances[msg.sender] -= amount;
    balances[receiver] += amount;
    emit Sent(msg.sender, receiver, amount);
  }

  function mint (address receiver, uint amount) public {
    require(msg.sender == minter);
    require(amount < 1e60);
    balances[receiver] += amount;
  }

}
Alexander Praetorius
@serapath
0x8199CA3F33b2907E1ab1d5DeFAD8be5D3Bc0b12A
pragma solidity >=0.4.0 <0.7.0;

contract SimpleStorage {

    uint8 storedData;

    function set(uint8 x) public {
        storedData = x;
    }

    function get() public view returns (uint8) {
        return storedData;
    }

}
simple storage 0x1F0Ffd03fE9BA2Ff78a2Fbe053eC288cf9065fFf
Alexander Praetorius
@serapath

regular learning event (solidity, ...)

https://www.meetup.com/WizardAmigos/events/bzrnjryzpbpb/
Alexander Praetorius
@serapath
Alexander Praetorius
@serapath
Josh Hu
@joshhu
what is the URL of played ?
thank
Alexander Praetorius
@serapath
0x51F205B8678837F01482021fDe81e3336866BDa2
Fiona
@fionataeyang
0xA6Be81Fc1593d2574196A42458e6eb26B02b147e
Alexander Praetorius
@serapath

0x52AC0dD78A354193E166a4DF611b633019BcC634

pragma solidity >=0.4.0 <0.7.0;
contract Coin {
  address public minter;
  mapping (address => uint) public balances;
  constructor() public { minter = msg.sender; }
  event Sent(address from, address to, uint amount);
  // Sends an amount of existing coins
  // from any caller to an address
  function send (address receiver, uint amount) public {
    balances[msg.sender] -= amount;
    // short for: balances[msg.sender] = balances[msg.sender] - amount;
    balances[receiver] += amount;
    // short for: balances[receiver] = balances[receiver] + amount;
    emit Sent(msg.sender, receiver, amount);
    // arguments (`from`,`to`,`amount`) to track transactions
  }
  // Sends an amount of newly created coins to an address
  // Can only be called by the contract creator
  function mint (address receiver, uint amount) public {
    balances[receiver] += amount;
    // short for: balances[receiver] = balances[receiver] + amount;
  }
}
Alexander Praetorius
@serapath
Paul Ayling
@PaulAyling
HI is this the wizard Amigos room for the event that is happening in Chiang Mia
Can anyone answer questions on the event that is happening in Chiang Mia
WHat is the correct person - channel to ask these questions to?
Alexander Praetorius
@serapath
Hey @PaulAyling :-)
Yes it is
This channel is absolutely fine.
It is our main channel, because it allows to highlight programming syntax and has a good github integration.
Some people who are new to programming are more familiar with facebook or telegram, which is why we maintain that too, but this channel is definitely the main one.
You can learn around t he clock, but otherwise we are usually in Maya Shopping Center - The CAMP (5th floor) every day from 2pm - 8pm
Still, it's all free and a community effort, so keep that in mind when comparing it to professional boot camps which charge a lot of money, so organizers and teachers get paid. We don't get paid but try to build a community of like minded folks who are interested in our topics and we try to help them into a self organized, self employed entrepreneurial open source developer career, where they can earn while they learn and partner up with like minded peers :-)
DiscoPylon
@DiscoPylon
Im doing the "Hyper Modular Web Component Development", in video 2 (the setup) it would be nice if links to the different resources would be in the info tab.
Alexander Praetorius
@serapath
oh, yes, that makes a lot of sense
thx. yes totally. i'm so sorry :D
if you go through the videos, you could just copy/paste all the links for each video here in the chat and i can then update the workshop :-)
thx for the feedback @DiscoPylon
DiscoPylon
@DiscoPylon
the second video:
Alexander Praetorius
@serapath
thx :-) i'll add those links
Dhananjay Sood
@DhananjaySood
@DhananjaySood
Hello everyone
i need some help related windows 8.1
if someone would like to help me out?
actually there is a issue in system properties that unable to see ram and proccessor installed, its showing not available? what could be the problem?
Alexander Praetorius
@serapath
i see... hmm, we are good in helping with p2p, web, browser, solidity (blockchain/ethereum) related questions.
we can help a bit with some system related questions, but that sounds very windows/microsoft specific.
I personally don't know the answer to that one. sorry :-)
Dhananjay Sood
@DhananjaySood
No issues
Well i figured it out that its the problem of windows.
Alexander Praetorius
@serapath
@DhananjaySood have we met before? :-) I don't recognize your avatar? are you in thailand at the moment? :-)
Andrew Stanger
@mcplums
https://capturetheether.com/ <- game where there are smart contract bugs to find!
Alexander Praetorius
@serapath
0x664f17B8462430a35dB4E78c682d3EAd7dBC616F
Alexander Praetorius
@serapath
pragma solidity >=0.4.0 <0.7.0;

contract Coin {

  address public minter;
  mapping (address => uint) public balances;
  constructor() public { minter = msg.sender; }
  event Sent(address from, address to, uint amount);

  function send (address receiver, uint amount) public {
    require(amount <= balances[msg.sender], "Not enough funds.");
    balances[msg.sender] -= amount;
    balances[receiver] += amount;
    emit Sent(msg.sender, receiver, amount);
  }

  function mint (address receiver, uint amount) public {
    require(msg.sender == minter);
    require(amount < 1e60);
    balances[receiver] += amount;
  }

}
Alexander Praetorius
@serapath
9e15236904a7cda09d9da36ae81e81e96893c6024f925957a2165c74d5dd0a13