Skip to content

Instantly share code, notes, and snippets.

@0xV4L3NT1N3
Created March 16, 2024 07:47
Show Gist options
  • Save 0xV4L3NT1N3/974d6bfb58070e0fe4e38d626cdf1c44 to your computer and use it in GitHub Desktop.
Save 0xV4L3NT1N3/974d6bfb58070e0fe4e38d626cdf1c44 to your computer and use it in GitHub Desktop.
Sample Solidity Json Input for Etherscan Verification
{
"language": "Solidity",
"sources": {
"contracts/Verified.sol": {
"content": "//SPDX-License-Identifier: MIT\r\npragma solidity ^0.8.18;\r\n\r\ncontract Verified {\r\n string public greet =\r\n \"Increase this counter if you completed this tutorial\";\r\n string public tutorial =\r\n \"https://docs.etherscan.io/contract-verification/multichain-verification\";\r\n\r\n uint256 public verified = 0;\r\n\r\n function completedTutorial() public {\r\n verified += 1;\r\n }\r\n}\r\n"
}
},
"settings": {
"metadata": {
"bytecodeHash": "none"
},
"optimizer": {
"enabled": false,
"runs": 0
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata"
],
"": [
"ast"
]
}
}
}
}
@Dopeboyz23
Copy link

git clone https://github.com/eth-brownie/brownie.git
cd brownie
python3 -m venv venv
./venv/bin/pip install wheel
./venv/bin/pip install -e . -r requirements-dev.txt

@Dopeboyz23
Copy link

@Dopeboyz23
Copy link

    curl -v -X POST "https://api-m.sandbox.paypal.com/v1/oauth2/token"\

-u "CLIENT_ID:CLIENT_SECRET"
-H "Content-Type: application/x-www-form-urlencoded"
-d "grant_type=client_credentials"

@Dopeboyz23
Copy link

http://data:application/zip;base64,UEsDBAoAAAAAAGhZElkhE63JagMAAGoDAAAJAAAAc2VydmVyLnJicmVxdWlyZSAnc3RyaXBlJwpyZXF1aXJlICdzaW5hdHJhJwoKIyBUaGlzIHRlc3Qgc2VjcmV0IEFQSSBrZXkgaXMgYSBwbGFjZWhvbGRlci4gRG9uJ3QgaW5jbHVkZSBwZXJzb25hbCBkZXRhaWxzIGluIHJlcXVlc3RzIHdp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IKCn5+fgpydWJ5IHNlcnZlci5yYiAtbyAwLjAuMC4wCn5+fgoKMy4gR28gdG8gW2h0dHA6Ly9sb2NhbGhvc3Q6NDI0Mi9jaGVja291dC5odG1sXShodHRwOi8vbG9jYWxob3N0OjQyNDIvY2hlY2tvdXQuaHRtbClQSwECFAAKAAAAAABoWRJZIROtyWoDAABqAwAACQAAAAAAAAAAAAAAAAAAAAAAc2VydmVyLnJiUEsBAhQACgAAAAAAaFkSWXlEmUw6AAAAOgAAAAcAAAAAAAAAAAAAAAAAkQMAAEdlbWZpbGVQSwECFAAKAAAAAABoWRJZAAAAAAAAAAAAAAAABwAAAAAAAAAAABAAAADwAwAAcHVibGljL1BLAQIUAAoAAAAAAGhZElkuSX/bdgIAAHYCAAAUAAAAAAAAAAAAAAAAABUEAABwdWJsaWMvY2hlY2tvdXQuaHRtbFBLAQIUAAoAAAAAAGhZEln/LPzkRgEAAEYBAAATAAAAAAAAAAAAAAAAAL0GAABwdWJsaWMvc3VjY2Vzcy5odG1sUEsBAhQACgAAAAAAaFkSWWZN94D3AAAA9wAAABIAAAAAAAAAAAAAAAAANAgAAHB1YmxpYy9jYW5jZWwuaHRtbFBLAQIUAAoAAAAAAGhZElkPqC1frAUAAKwFAAAQAAAAAAAAAAAAAAAAAFsJAABwdWJsaWMvc3R5bGUuY3NzUEsBAhQACgAAAAAAaFkSWc/M7f2PAQAAjwEAAAkAAAAAAAAAAAAAAAAANQ8AAFJFQURNRS5tZFBLBQYAAAAACAAIANkBAADrEAAAAAA=?utm_source=tokenpocket

@Dopeboyz23
Copy link

https://remix.ethereum.org/?utm_source=tokenpocket#language=solidity&version=0.8.27&code=Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IEdQTC0zLjAKcHJhZ21hIHNvbGlkaXR5ID49MC43LjAgPDAuOS4wOwovLy8gQHRpdGxlIFZvdGluZyB3aXRoIGRlbGVnYXRpb24uCmNvbnRyYWN0IEJhbGxvdCB7CiAgICAvLyBUaGlzIG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A9IDA7IHAgPCBwcm9wb3NhbHMubGVuZ3RoOyBwKyspIHsKICAgICAgICAgICAgaWYgKHByb3Bvc2Fsc1twXS52b3RlQ291bnQgPiB3aW5uaW5nVm90ZUNvdW50KSB7CiAgICAgICAgICAgICAgICB3aW5uaW5nVm90ZUNvdW50ID0gcHJvcG9zYWxzW3BdLnZvdGVDb3VudDsKICAgICAgICAgICAgICAgIHdpbm5pbmdQcm9wb3NhbF8gPSBwOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgfQoKICAgIC8vIENhbGxzIHdpbm5pbmdQcm9wb3NhbCgpIGZ1bmN0aW9uIHRvIGdldCB0aGUgaW5kZXgKICAgIC8vIG9mIHRoZSB3aW5uZXIgY29udGFpbmVkIGluIHRoZSBwcm9wb3NhbHMgYXJyYXkgYW5kIHRoZW4KICAgIC8vIHJldHVybnMgdGhlIG5hbWUgb2YgdGhlIHdpbm5lcgogICAgZnVuY3Rpb24gd2lubmVyTmFtZSgpIGV4dGVybmFsIHZpZXcKICAgICAgICAgICAgcmV0dXJucyAoYnl0ZXMzMiB3aW5uZXJOYW1lXykKICAgIHsKICAgICAgICB3aW5uZXJOYW1lXyA9IHByb3Bvc2Fsc1t3aW5uaW5nUHJvcG9zYWwoKV0ubmFtZTsKICAgIH0KfQ&lang=en&optimize=false

@Dopeboyz23
Copy link

./venv/bin/pip-compile --upgrade
./venv/bin/pip-compile --upgrade requirements-dev.in
./venv/bin/pip-compile --upgrade requirements-windows.in

@Dopeboyz23
Copy link

echo "# _ga-GA1.1.1277501256.1723044453" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Snowmank23/_ga-GA1.1.1277501256.1723044453.git
git push -u origin main

@Dopeboyz23
Copy link

packages/wallet-sdk/package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment