arrow-left

All pages
gitbookPowered by GitBook
1 of 4

Loading...

Loading...

Loading...

Loading...

web3together-main

Follow us on: Twitterarrow-up-right | Facebookarrow-up-right | Telegramarrow-up-right | Say hi to us at: [email protected]envelope

Welcome to the Web3 Together community! Here you can connect with other developers and share knowledge about every part of blockchain development, including DeFi, NFTs, DAO, etc...

hashtag
Join the discussionsarrow-up-right 💬

hashtag
Resources

hashtag
Basic Introduction

hashtag
Books

  • by CoinGecko

  • by Antony Lewis

  • by Kalle Rosenbaum

hashtag
Courses

  • by University of Nicosia

  • by ConsenSys Academy

  • by MIT

hashtag
Videos

hashtag
Podcasts

hashtag
Links

hashtag
Web3 Decentralized Apps (dApps)

hashtag
General

  • by Shermin Voshmgir

  • by Andreas M. Antonopoulos

  • by Bina Ramamurthy

hashtag
Solidity

  • by buildspace

hashtag
DeFi

  • by CoinGecko

  • by CoinGecko

  • by Campbell R. Harvey, Ashwin Ramachandran, Joey Santoro

hashtag
NFT

  • by buildspace

  • by Matt Fortnow, QuHarrison Terry

hashtag
DAO

hashtag
Communities

hashtag
Links

hashtag
Contributing

  1. Fork it ( https://github.com/web3together/web3together/fork )

  2. Create your feature branch (git checkout -b my-new-feature)

  3. Commit your changes (git commit -am 'Add some feature')

Jack Tatar

  • by Saifedean Ammous

  • by Andreas M. Antonopoulos

  • by Kevin Solorio, Randall Kanna, David H. Hoover

  • by Roberto Infante

  • by freeCodeCamp.org

  • by HashLips

  • by Stephen Grider

  • by DEFIYIELD App

  • by The University of California at Berkeley

  • by University of Nicosia

  • by RMIT University

  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request

  • How to Bitcoinarrow-up-right
    The Basics of Bitcoins and Blockchainsarrow-up-right
    Grokking Bitcoinarrow-up-right
    Introduction to Digital Currenciesarrow-up-right
    Blockchain: Foundations and Use Casesarrow-up-right
    Blockchain and Moneyarrow-up-right
    Whiteboard Cryptoarrow-up-right
    Bitcoin 99arrow-up-right
    Finematicsarrow-up-right
    DAOn the Rabbit Holearrow-up-right
    On The Ledgerarrow-up-right
    Banklessarrow-up-right
    Decrypt Learnarrow-up-right
    KOOMPI AMA | Blockchain Seriesarrow-up-right
    Token Economy: How the Web3 reinvents the Internetarrow-up-right
    Mastering Ethereum: Building Smart Contracts and DAppsarrow-up-right
    Blockchain in Actionarrow-up-right
    Build a Web3 App on Ethereum with Solidity + Smart Contractsarrow-up-right
    Crypto Market Pool - Solidityarrow-up-right
    Solidity by Examplearrow-up-right
    How to DeFi: Beginnerarrow-up-right
    How to DeFi: Advancedarrow-up-right
    DeFi and the Future of Financearrow-up-right
    Generate your own epic NFT collection and ship a Web3 app to let friends mint themarrow-up-right
    The NFT Handbookarrow-up-right
    A beginner’s guide to DAOsarrow-up-right
    DAOs & Creators: Resources to Get Started Todayarrow-up-right
    Developer DAOarrow-up-right
    buildspacearrow-up-right
    Web3 Universityarrow-up-right
    DefiSummer: Designing Tokenomicsarrow-up-right
    Working in Web3: The Handbookarrow-up-right
    The Architecture of a Web 3.0 applicationarrow-up-right
    Cryptoassets: The Innovative Investor's Guide to Bitcoin and Beyond by Chris Burniskearrow-up-right
    The Bitcoin Standardarrow-up-right
    Mastering Bitcoinarrow-up-right
    Coin Bureauarrow-up-right
    Dapp Universityarrow-up-right
    EatTheBlocksarrow-up-right
    School of Blockarrow-up-right
    Patrick Collinsarrow-up-right
    Austin Griffitharrow-up-right
    Hands-On Smart Contract Development with Solidity and Ethereumarrow-up-right
    Building Ethereum Dappsarrow-up-right
    Solidity Examplesarrow-up-right
    Solidity, Blockchain, and Smart Contract Coursearrow-up-right
    Learn Solidity basicsarrow-up-right
    Ethereum and Solidity: The Complete Developer's Guidearrow-up-right
    Decentralized Finance (DeFi): The Wall Street Era is Overarrow-up-right
    Decentralized Finance MOOCarrow-up-right
    Introduction to Decentralized Finance (DeFi)arrow-up-right
    Decentralised Finance: Blockchain, Ethereum, and The Future of Bankingarrow-up-right
    Encode Clubarrow-up-right
    CryptoDevHubarrow-up-right
    Questbookarrow-up-right
    useWeb3arrow-up-right
    BanklessDAOarrow-up-right
    OdysseyDAOarrow-up-right
    SpeedRunEthereum.comarrow-up-right

    sessions

    CODE_OF_CONDUCT

    The Web3 Together community is a friendly, encouraging place for anyone aspiring to become a hireable web developer.

    This policy was adopted from the Scrimba communityarrow-up-right. This is a "living" 🌱 document, and subject to refinement and expansion in the future.

    The simple version:

    • be nice

    • be honest

    • be supportive

    The details:

    The Web3 Together community should be a safe place for everybody regardless of

    • gender, gender identity or gender expression

    • sexual orientation

    • disability

    As someone who is part of this community, you agree that:

    • We are collectively and individually committed to safety and inclusivity

    • We have zero tolerance for abuse, harassment, or discrimination

    • We respect people’s boundaries and identities

    If you are addressed for saying something that is found to be offensive, we ask you to:

    • Listen without interruption to what the person is saying

    • Do not attempt to disqualify what they have to say

    • Ask for tips / help with avoiding making the offence in the future

    ⚠️ Failing to follow the community guidelines as described in this document carries consequences. For minor infractions, you may be banned from the Web3 Together Discussion for 24 hours and issued a final warning. Upon repeat offences, or if the community believes you are not acting in good faith, you may be banned permanently.

    physical appearance
  • race

  • age

  • religion

  • anything else you can think of

  • Getting Started in Smart Contract Development with Solidity

    This guide is prepared by @BunHouth.

    hashtag
    Solidityarrow-up-right

    Solidity is an object-oriented, high-level language for implementing smart contracts. Smart contracts are programs which govern the behaviour of accounts within the Ethereum state. Solidity is a curly-bracket languagearrow-up-right. It is influenced by C++, Python and JavaScript, and is designed to target the Ethereum Virtual Machine (EVM).

    hashtag

    web3.js is a collection of libraries that allow you to interact with a local or remote ethereum node using HTTP, IPC or WebSocket.

    hashtag
    Setup Development

    hashtag
    Prerequisites

    • Operating system: OSX or Linux(Ubuntu, Cenos, ...etc)

    • Software: node js(npm, yarn) or python

    hashtag
    Install node js

    Ubuntu

    OSX

    hashtag
    Setup smart contract project

    hashtag
    Generate smart contract

    generate blank project

    Structures:

    1. /contracts: store original codes of the smart contract. We will place our HelloWorld.sol file here.

    2. /migrations: deploy the smart contract in the “contracts” folder.

    3. /test: test codes for your smart contract, support both JavaScript and Solidity.

    Step 2: Create HelloWeb3Together contract. There are two ways to create a new contract: Directly place HelloWeb3Together.sol” file under “contracts” folder. In the “web3together” folder, run command:

    Copy the following codes into HelloWeb3Together.sol”:

    Step 3: Compile “HelloWeb3Together” with the following command.

    This compiles the original code into Ethereum bytecode. If everything goes well, it will create .json file under build/contracts folder. Step 4: Deploy “HelloWeb3Together” contract.

    1. Create 2_deploy_contracts.js under migrations folders. Truffle is run following order

    2. Copy and past the following deploying content into the “2_deploy_contracts.js”.

    1. Modify truffle-config.js and add following content to network section. If you are using public chain or private chain please add many section as you want.

    1. Start Ganache Local network and run following command on other tab or new terminal

    1. Deploy smart contract to local network

    if contract already deploy and want to redeploy please add --reset option After run truffle migrate we will see deploy log in the same terminal. 6. Additional setup for deploy contract to public chain testnet()

    Additional dependency

    Add following content into network sections.

    RPC Service

    🎉Congrats! The “Web3Together” smart contract has been successfully deployed to Ganache.

    hashtag
    Running Smart Contract online tool

    truffle.js: configuration document.

  • truffle-config.js: configuration of deployment.

  • Web3arrow-up-right
    Install Trufflearrow-up-right
    Install Ganache Local Networkarrow-up-right
    Referencearrow-up-right
    rinkebyarrow-up-right
    referencearrow-up-right
    infuraarrow-up-right
    alchemyarrow-up-right
    build your ownarrow-up-right
    Remixarrow-up-right
    structure
     curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
     echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
     sudo apt-get update
     sudo apt-get install nodejs
     sudo apt install yarn
    brew install node
    brew install yarn
    npm install -g truffle
    npm install -g ganache-cli
    mkdir web3together && cd web3together
    truffle init
    truffle create contract Web3Together
    pragma solidity >=0.4.22 <0.9.0;
    
    contract HelloWeb3Together {
        function ping() public pure returns (string memory) {
            return ("Web3Together - https://github.com/web3together/web3together");
        }
    
        function clock() public view returns (uint) {
            return block.timestamp;
        }
    }
    
    truffle compile
    const HelloWeb3Together = artifacts.require("./HelloWeb3Together.sol");
    module.exports = (deployer) => {
      deployer.deploy(HelloWeb3Together);
    }
    development: {
         host: "127.0.0.1",
         port: 8545,
         network_id: "*",
    },
    ganache-cli
    truffle migrate
    yarn add @truffle/hdwallet-provider dotenv
        rinkeby: {
          provider: () => new HDWalletProvider("PrivateKeyToUnlockYourWallet", 'RPC_URL'),
          network_id: 4, //check here https://chainlist.org/
          gas: 5500000,
          confirmations: 2,
          timeoutBlocks: 200,
          skipDryRun: true,
        },