Skip to content

Instantly share code, notes, and snippets.

Basepaint Day 256 - Petra

Date: 04/20/2024

Petra, often referred to as the "Rose City" due to the color of the stone from which it is carved, offers a breathtaking visual experience. As you approach Petra, you are greeted by its iconic entrance, the Siq, a narrow gorge flanked by towering cliffs over 80 meters high. This meandering passage stretches for about 1.2 kilometers, with natural patterns and striations in the sandstone walls that are a canvas of shifting shadows and light.

Emerging from the Siq, you find yourself in front of the Treasury (Al-Khazneh), Petra’s most magnificent facade. Carved directly into the pink sandstone cliff face, the Treasury stands about 40 meters high, its ornate decoration glowing in the soft sunlight. The facade is a masterpiece of ancient architecture, featuring a combination of Hellenistic and native Nabatean elements. Intricate carvings of mythological figures and bas-reliefs add to its grandeur, creating a sense of awe and wonder.

Beyond the Treasury, Petra e

@aviexk
aviexk / AddressExample.sol
Created July 24, 2021 10:01
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.6+commit.11564f7e.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.1;
contract AddressExample {
address public myAddress;
function setAddress(address _myAddress) public {
myAddress = _myAddress;
}
@aviexk
aviexk / CollateralToken.sol
Created January 4, 2021 17:20
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.7.4+commit.3f05b770.js&optimize=false&runs=200&gist=
///SPDX-License-Identifier: MIT
pragma solidity ^0.7.3;
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.2.0-solc-0.7/contracts/token/ERC20/ERC20.sol';
contract CollateralToken is ERC20 {
constructor() ERC20("METH", "METH") {
_setupDecimals(0);
_mint(0x5B38Da6a701c568545dCfcB03FcB875f56beddC4, 100000); //tokenSponser
@aviexk
aviexk / CollateralToken.sol
Created December 26, 2020 13:06
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.12+commit.27d51765.js&optimize=false&runs=200&gist=
///SPDX-License-Identifier: MIT
pragma solidity ^0.7.3;
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.2.0-solc-0.7/contracts/token/ERC20/ERC20.sol';
contract CollateralToken is ERC20 {
constructor() ERC20("METH", "METH") {
_setupDecimals(0);
_mint(0x5B38Da6a701c568545dCfcB03FcB875f56beddC4, 100000); //tokenSponser

Keybase proof

I hereby claim:

  • I am aviekakkar on github.
  • I am aviexkakkar (https://keybase.io/aviexkakkar) on keybase.
  • I have a public key ASBw1Lh68cnV-Zbxx37ymYmMDg2LnccymJpsEZVr7MYSZgo

To claim this, I am signing this object:

Verifying my Blockstack ID is secured with the address 167zH57x5c5jy51XQDizRhQpRvLdnk9aiU https://explorer.blockstack.org/address/167zH57x5c5jy51XQDizRhQpRvLdnk9aiU