Follow us on: Twitter | Facebook | Telegram | Say hi to us at: hello@web3together.com
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...
How to Bitcoin by CoinGecko
The Basics of Bitcoins and Blockchains by Antony Lewis
Grokking Bitcoin by Kalle Rosenbaum
The Bitcoin Standard by Saifedean Ammous
Mastering Bitcoin by Andreas M. Antonopoulos
Introduction to Digital Currencies by University of Nicosia
Blockchain: Foundations and Use Cases by ConsenSys Academy
Blockchain and Money by MIT
Token Economy: How the Web3 reinvents the Internet by Shermin Voshmgir
Mastering Ethereum: Building Smart Contracts and DApps by Andreas M. Antonopoulos
Blockchain in Action by Bina Ramamurthy
Hands-On Smart Contract Development with Solidity and Ethereum by Kevin Solorio, Randall Kanna, David H. Hoover
Building Ethereum Dapps by Roberto Infante
Solidity, Blockchain, and Smart Contract Course by freeCodeCamp.org
Learn Solidity basics by HashLips
Ethereum and Solidity: The Complete Developer's Guide by Stephen Grider
How to DeFi: Beginner by CoinGecko
How to DeFi: Advanced by CoinGecko
DeFi and the Future of Finance by Campbell R. Harvey, Ashwin Ramachandran, Joey Santoro
Decentralized Finance (DeFi): The Wall Street Era is Over by DEFIYIELD App
Decentralized Finance MOOC by The University of California at Berkeley
Introduction to Decentralized Finance (DeFi) by University of Nicosia
Decentralised Finance: Blockchain, Ethereum, and The Future of Banking by RMIT University
The NFT Handbook by Matt Fortnow, QuHarrison Terry
Fork it ( https://github.com/web3together/web3together/fork )
Create your feature branch (git checkout -b my-new-feature)
Commit your changes (git commit -am 'Add some feature')
Push to the branch (git push origin my-new-feature)
Create a new Pull Request
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 community. 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
physical appearance
race
age
religion
anything else you can think of
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.
This guide is prepared by @BunHouth.
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 language. It is influenced by C++, Python and JavaScript, and is designed to target the Ethereum Virtual Machine (EVM).
web3.js is a collection of libraries that allow you to interact with a local or remote ethereum node using HTTP, IPC or WebSocket.
Operating system: OSX or Linux(Ubuntu, Cenos, ...etc)
Software: node js(npm, yarn) or python
Ubuntu
OSX
Reference generate blank project
Structures:
/contracts: store original codes of the smart contract. We will place our HelloWorld.sol file here.
/migrations: deploy the smart contract in the “contracts” folder.
/test: test codes for your smart contract, support both JavaScript and Solidity.
truffle.js: configuration document.
truffle-config.js: configuration of deployment.
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.
Create 2_deploy_contracts.js
under migrations folders. Truffle is run following order
Copy and past the following deploying content into the “2_deploy_contracts.js”.
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.
Start Ganache Local network and run following command on other tab or new terminal
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(rinkeby)
Additional dependency
Add following content into network sections. reference
RPC Service
🎉Congrats! The “Web3Together” smart contract has been successfully deployed to Ganache.