Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
199 commits
Select commit Hold shift + click to select a range
e3036a7
Merge pull request #19 from panacloud-modern-global-apps/mateen
warishasan Sep 21, 2021
a689345
add new article
ziaukhan Sep 28, 2021
5a4cf0c
add solana step
ziaukhan Sep 28, 2021
8998e0a
update step 00
ziaukhan Oct 3, 2021
b7360bc
update step00 again
ziaukhan Oct 3, 2021
ef97bc5
update step01
ziaukhan Oct 3, 2021
c8340ba
add hardhat step 00
ziaukhan Oct 3, 2021
4dedcd7
add hardhat step 01
ziaukhan Oct 3, 2021
8d4305c
add typechain
ziaukhan Oct 3, 2021
5a08127
removed files
ziaukhan Oct 3, 2021
08fdd77
add hardhat step 02
ziaukhan Oct 4, 2021
ac5e01f
major changes
ziaukhan Oct 4, 2021
0548ff2
add step 04
ziaukhan Oct 4, 2021
372e194
add events
ziaukhan Oct 4, 2021
6f64ca1
update readme
ziaukhan Oct 4, 2021
a79b7ef
update test
ziaukhan Oct 4, 2021
d7c1b19
update
ziaukhan Oct 4, 2021
66c41e1
bugs removed
ziaukhan Oct 4, 2021
0d6e0a1
update test
ziaukhan Oct 4, 2021
e37923d
updated
ziaukhan Oct 4, 2021
982d8dd
minor error
ziaukhan Oct 4, 2021
5b7d2a3
test update
ziaukhan Oct 4, 2021
c14274f
test corrected
ziaukhan Oct 4, 2021
a58f794
added more tests
ziaukhan Oct 4, 2021
b8466b8
update deployment
ziaukhan Oct 5, 2021
5252178
add step 05
ziaukhan Oct 6, 2021
5274d07
update readme
ziaukhan Oct 6, 2021
d8d5828
add video in readme
ziaukhan Oct 6, 2021
b18bb99
removed video
ziaukhan Oct 6, 2021
898db8a
Update README.md
nomanhaq Oct 7, 2021
9bfc67b
add step 06
ziaukhan Oct 15, 2021
2cbe5aa
Merge branch 'main' of https://github.com/panacloud-modern-global-app…
ziaukhan Oct 15, 2021
8b0a834
add step 07
ziaukhan Oct 15, 2021
6de2172
update test
ziaukhan Oct 15, 2021
de810e1
Updated Step 6 to added testing with forked network to test with chai…
zeeshanhanif Oct 16, 2021
7783bb4
Step 6 - updated readme file to add instruction to test contracts wit…
zeeshanhanif Oct 16, 2021
9933da9
change is command
nomanhaq Oct 16, 2021
7444349
changes in command for deployment
nomanhaq Oct 16, 2021
b0e1fd6
search contract
nomanhaq Oct 16, 2021
2c2235d
Step 7 -- Fixed testing of fund transfer and failure of transaction
zeeshanhanif Oct 17, 2021
e664be0
Merge remote-tracking branch 'origin/main' into main
zeeshanhanif Oct 17, 2021
054da3c
Step 7 -- updated links
zeeshanhanif Oct 17, 2021
bdfb3f2
add step 08
ziaukhan Oct 18, 2021
e4672ad
Merge branch 'main' of https://github.com/panacloud-modern-global-app…
ziaukhan Oct 18, 2021
9c0f604
add developer documentation
ziaukhan Oct 18, 2021
4cca181
add step 09
ziaukhan Oct 19, 2021
5a20181
Merge branch 'main' of https://github.com/panacloud-modern-global-app…
ziaukhan Oct 19, 2021
e017c7d
add address restrictions
ziaukhan Oct 19, 2021
87263b8
update test.ts
ziaukhan Oct 19, 2021
a253066
Merge branch 'main' of https://github.com/panacloud-modern-global-app…
ziaukhan Oct 19, 2021
5e9a8b5
update test.ts
ziaukhan Oct 19, 2021
2dfaba7
add step 10
ziaukhan Oct 19, 2021
3c7868d
Fixed Test for Step 10 to test return values of Transaction function
zeeshanhanif Oct 19, 2021
a5caff3
Step 10 -- added references for testing of state-changing functions
zeeshanhanif Oct 19, 2021
cbe2f4b
update test
ziaukhan Oct 19, 2021
3bda52d
update deploy
ziaukhan Oct 20, 2021
a911bcd
add link
ziaukhan Oct 20, 2021
2d5f1f2
add step 11
ziaukhan Oct 21, 2021
75d96c6
add projects
ziaukhan Oct 21, 2021
eebb13c
add step 12
ziaukhan Oct 22, 2021
87c5b04
update readme
ziaukhan Oct 22, 2021
b3b1a96
removed minor bug
ziaukhan Oct 22, 2021
525f4a2
add step13
ziaukhan Oct 24, 2021
d0119b9
add web3 directory
ziaukhan Oct 24, 2021
cbcea86
add additional tutorials
ziaukhan Oct 26, 2021
399473c
add step 14
ziaukhan Oct 26, 2021
08918aa
Merge branch 'main' of https://github.com/panacloud-modern-global-app…
ziaukhan Oct 26, 2021
1b0c5bc
update readme
ziaukhan Oct 26, 2021
8b2d592
add new step 14
ziaukhan Oct 27, 2021
59a9412
removed old step 14
ziaukhan Oct 28, 2021
e644c71
update readme
ziaukhan Oct 28, 2021
e67d11a
add video
ziaukhan Oct 29, 2021
b920198
minor readme update
ziaukhan Oct 29, 2021
1ad4dc8
add template link
ziaukhan Oct 29, 2021
d3fb5e9
add book link
ziaukhan Oct 29, 2021
b6eac97
add chap 2
ziaukhan Oct 31, 2021
cef5efb
add step 5 new
ziaukhan Nov 1, 2021
7318e88
renamed steps
ziaukhan Nov 1, 2021
e008ca9
minor changes
ziaukhan Nov 1, 2021
664c795
add new step 06
ziaukhan Nov 2, 2021
b5da4c4
add solidity tutorial
ziaukhan Nov 2, 2021
2f70289
add step 7 new
ziaukhan Nov 3, 2021
545e54a
Merge branch 'main' of https://github.com/panacloud-modern-global-app…
ziaukhan Nov 3, 2021
c064824
updated numbering
ziaukhan Nov 3, 2021
2fe2c0b
changed numbering
ziaukhan Nov 6, 2021
cc84188
reorganized repo
ziaukhan Nov 8, 2021
6b54f9b
update readme
ziaukhan Nov 8, 2021
8f8bec0
delete gnosis safe step
ziaukhan Nov 8, 2021
f0ca7ac
Merge branch 'main' of https://github.com/panacloud-modern-global-app…
ziaukhan Nov 8, 2021
7b56b69
corrected spelling mistake
ziaukhan Nov 8, 2021
8590ada
add defi prediction article
ziaukhan Nov 8, 2021
70e530d
add video image
ziaukhan Nov 9, 2021
adf7d02
add video image
ziaukhan Nov 9, 2021
e04d6dc
add wsj video
ziaukhan Nov 17, 2021
9b24499
add videos for first class
ziaukhan Jan 3, 2022
9e945d1
Added typing in contract deployment script
zeeshanhanif Jan 9, 2022
b46d6c2
Merge remote-tracking branch 'origin/main' into main
zeeshanhanif Jan 9, 2022
3342652
For fresh typescript project
nomanhaq Jan 9, 2022
6b1654c
add class 2
ziaukhan Jan 11, 2022
0ff1fb1
add class 3
ziaukhan Jan 17, 2022
1d667c1
add step 19
ziaukhan Jan 17, 2022
d4d382f
Merge branch 'main' of https://github.com/panacloud-modern-global-app…
ziaukhan Jan 17, 2022
4ed77d3
add crypto article
ziaukhan Jan 17, 2022
76e302b
add promising project for 2022
ziaukhan Jan 18, 2022
985c55e
add defi road ahead
ziaukhan Jan 24, 2022
2cfb5f8
add defi 2.0
ziaukhan Jan 24, 2022
0d1f861
add more defi 2.0
ziaukhan Jan 24, 2022
171d32a
add class 3 part 2
ziaukhan Jan 26, 2022
f660729
Added Example of Enum, Struct, mapping and ethers
zeeshanhanif Jan 29, 2022
4d704f8
add class 4
ziaukhan Feb 4, 2022
85b324f
Added fallback and receive functions
nomanhaq Feb 5, 2022
a61967a
update fallback functions
ziaukhan Feb 5, 2022
512ddb2
Added Example of functions, modifiers, receive and fallback
zeeshanhanif Feb 5, 2022
8bc4798
add class 5
ziaukhan Feb 9, 2022
9201e6f
Updated examples for withdrawal pattern and new keyword
zeeshanhanif Feb 13, 2022
1117c3d
add class 6
ziaukhan Feb 26, 2022
9e2d730
Added examples for inheritance, interface, library
zeeshanhanif Feb 28, 2022
88771d8
Merge remote-tracking branch 'origin/main' into main
zeeshanhanif Mar 3, 2022
2705ad6
add class 7
ziaukhan Mar 5, 2022
0d8cfd9
updated step name from step04 to step04A
zeeshanhanif Mar 6, 2022
c4880c9
Added step04B
zeeshanhanif Mar 6, 2022
b8b95e9
Updated step 05 name to step05A
zeeshanhanif Mar 10, 2022
c28ebaf
Fixed error in step4B
zeeshanhanif Mar 12, 2022
1c777db
Step5B basic structure
zeeshanhanif Mar 12, 2022
3ccfaab
add class 8
ziaukhan Mar 12, 2022
07a193b
Updated Step4B with ABI Encoded Examples
zeeshanhanif Mar 14, 2022
0b0a704
Merge remote-tracking branch 'origin/main' into main
zeeshanhanif Mar 14, 2022
ff2e48b
Added Step 5B
zeeshanhanif Mar 16, 2022
9ad9ad5
add class 9
ziaukhan Mar 26, 2022
320e50c
add class 9 english youtube video
ziaukhan Mar 26, 2022
50ab7a8
renamed step06 to step06A
ziaukhan Mar 28, 2022
0020add
add initial project
ziaukhan Mar 28, 2022
d52e6dc
add token supply article
ziaukhan Mar 29, 2022
dee1040
add official docs
ziaukhan Mar 29, 2022
3f380b1
extend from ERC20PresetMinterPauser
ziaukhan Mar 29, 2022
de8ed84
minor update
ziaukhan Mar 29, 2022
f6f7c64
added minting tests
ziaukhan Mar 29, 2022
8f7a6b1
Addition of Typescript NPM commands
nomanhaq Mar 29, 2022
945e4a3
add class 10 videos
ziaukhan Mar 29, 2022
c1b246e
add project 1
ziaukhan Mar 30, 2022
e3d3706
minor correction
ziaukhan Mar 30, 2022
348794a
corrected spelling
ziaukhan Mar 30, 2022
e71398b
update project 1
ziaukhan Mar 30, 2022
46e2733
update command
ziaukhan Mar 31, 2022
6db6b69
Merge branch 'main' of https://github.com/panacloud-modern-global-app…
ziaukhan Mar 31, 2022
0fec8b4
add payable link
ziaukhan Mar 31, 2022
618d455
add payable example
ziaukhan Mar 31, 2022
f47b4eb
add deploy script
ziaukhan Mar 31, 2022
caf3f93
Merge branch 'main' of https://github.com/panacloud-modern-global-app…
ziaukhan Mar 31, 2022
e10db59
updated deployment instructions
ziaukhan Apr 1, 2022
d917150
add types of crowdsale
ziaukhan Apr 1, 2022
1b8c82f
add crowdsale strategy
ziaukhan Apr 2, 2022
fa1c058
add class 11
ziaukhan Apr 2, 2022
ad8d1a0
add crowdsale
ziaukhan Apr 7, 2022
4d2b4d7
Merge branch 'main' of https://github.com/panacloud-modern-global-app…
ziaukhan Apr 7, 2022
93fca8c
crowdsale code update
ziaukhan Apr 8, 2022
4cf3436
update deploy.js
ziaukhan Apr 8, 2022
6910d83
fixed the function call of token.MINTER_ROLE()
zeeshanhanif Apr 8, 2022
463f488
update deploy code
ziaukhan Apr 9, 2022
c1eddc1
add class 11
ziaukhan Apr 9, 2022
31bb70c
renamed step
ziaukhan Apr 10, 2022
77a3851
Merge branch 'main' of https://github.com/panacloud-modern-global-app…
ziaukhan Apr 10, 2022
543a134
update readme
ziaukhan Apr 10, 2022
7bbd4ba
started working on step08A
ziaukhan Apr 13, 2022
6b162e3
Extracted token id from events
zeeshanhanif Apr 13, 2022
d6c78f2
add
ziaukhan Apr 13, 2022
fe540d6
update readme
ziaukhan Apr 14, 2022
1cc1803
Added gitignore in step06B
zeeshanhanif Apr 30, 2022
5f0384b
Added Step08B ERC1155 Token
zeeshanhanif May 3, 2022
a3b7329
Added Step08C ERC1155 Token Fractions
zeeshanhanif May 3, 2022
b1e98f2
started step 20
ziaukhan May 28, 2022
f7bc46d
add usa and uk
ziaukhan May 28, 2022
57e5bfc
add nft in step 20
ziaukhan May 28, 2022
02fe42e
finalized the options in step 20
ziaukhan May 28, 2022
9984f64
add semi fungiable
ziaukhan May 28, 2022
b6338d4
update article
ziaukhan May 28, 2022
50a210a
add opensea
ziaukhan May 28, 2022
4ea6e4a
add usa token link
ziaukhan May 28, 2022
7e0db09
add faq
ziaukhan May 28, 2022
d0e00de
add video
ziaukhan May 28, 2022
bae3ab2
change video sequence
ziaukhan May 28, 2022
d301413
update readme
ziaukhan May 28, 2022
10f8df7
add private public partnership
ziaukhan May 28, 2022
d13e444
infrastructure tokenization
ziaukhan May 28, 2022
f2160fe
add platform comparision
ziaukhan May 28, 2022
ac8ed74
add tzero
ziaukhan May 28, 2022
5a3b529
add construction tokenization platform
ziaukhan May 29, 2022
0eab0fa
add step 21
ziaukhan Jun 3, 2022
c452a3f
add step 22 and 23
ziaukhan Jun 4, 2022
7b3e3e2
add step 24
ziaukhan Jun 4, 2022
f233a8c
update 20 and add 21
ziaukhan Jun 7, 2022
dd0ccb3
update step 20
ziaukhan Jun 7, 2022
9d3ac73
add concept note
ziaukhan Jun 7, 2022
0f005b9
add book
ziaukhan Aug 9, 2022
fd2d666
add dapp learning repo
ziaukhan Aug 9, 2022
ebadc01
minor correction
ziaukhan Aug 9, 2022
6c9f4b3
add main ref
ziaukhan Aug 9, 2022
b9fd266
Merge branch 'main' of https://github.com/panaverse/defi-dapps-solidi…
ziaukhan Apr 17, 2023
2dfbde2
update
ziaukhan Apr 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
272 changes: 268 additions & 4 deletions README.md

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,16 @@ Reading Material:

[Address Table Tutorial](https://github.com/OffchainLabs/arbitrum-tutorials/tree/master/packages/address-table)


## Project 15: Digital asset portfolio Rebalancer


[Intermediate Solidity Tutorial | Building On DeFi Lego Bricks With Hardhat ](https://jamesbachini.com/intermediate-solidity-tutorial/)


## Project 16: Rent to Own Network

[Creating an Ethereum Token to Enable a Decentralized Rent-to-Own Network](https://towardsdatascience.com/creating-an-ethereum-token-to-enable-a-decentralized-rent-to-own-network-cc3786cf1142)



6 changes: 6 additions & 0 deletions step00_hardhat_helloworld/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
.env

#Hardhat files
cache
artifacts
45 changes: 45 additions & 0 deletions step00_hardhat_helloworld/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Basic Sample Hardhat Project

[Before starting development please go through the Ethereum Developer Documentation in detail](https://ethereum.org/en/developers/docs/)

Follow this Text Book:

[Solidity Programming Essentials: A guide to building smart contracts and tokens using the widely used Solidity language, 2nd Edition](https://www.amazon.com/Solidity-Programming-Essentials-building-contracts/dp/1803231181/ref=sr_1_2_sspa)

[We will follow this getting started page](https://hardhat.org/getting-started/)

Create a Project Directory

Make it an npm library:

npm init

npm install --save-dev hardhat

npx hardhat

Select to create a basic project from the menu

npm install --save-dev @nomiclabs/hardhat-waffle ethereum-waffle chai @nomiclabs/hardhat-ethers ethers

npx hardhat compile

npx hardhat test





This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts.

Try running some of the following tasks:

```shell
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help
```
22 changes: 22 additions & 0 deletions step00_hardhat_helloworld/contracts/Greeter.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "hardhat/console.sol";

contract Greeter {
string private greeting;

constructor(string memory _greeting) {
console.log("Deploying a Greeter with greeting:", _greeting);
greeting = _greeting;
}

function greet() public view returns (string memory) {
return greeting;
}

function setGreeting(string memory _greeting) public {
console.log("Changing greeting from '%s' to '%s'", greeting, _greeting);
greeting = _greeting;
}
}
21 changes: 21 additions & 0 deletions step00_hardhat_helloworld/hardhat.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
require("@nomiclabs/hardhat-waffle");

// This is a sample Hardhat task. To learn how to create your own go to
// https://hardhat.org/guides/create-task.html
task("accounts", "Prints the list of accounts", async (taskArgs, hre) => {
const accounts = await hre.ethers.getSigners();

for (const account of accounts) {
console.log(account.address);
}
});

// You need to export an object to set up your config
// Go to https://hardhat.org/config/ to learn more

/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: "0.8.4",
};
Loading