Skip to content

Instantly share code, notes, and snippets.

View Man-Jain's full-sized avatar
🏖️
Working from home

Manank Patni Man-Jain

🏖️
Working from home
View GitHub Profile
@Man-Jain
Man-Jain / pool.sh
Last active November 14, 2022 14:34
#!/bin/bash
apt-get install -y nodejs
apt-get install -y npm
npm install -g yarn
git clone https://github.com/KYVENetwork/node.git
cd node
yarn
yarn setup
wget -O /root/arweave.json $LINK_ARWEAVE_WALLET
{
"data": "aa"
}
pragma solidity ^0.5.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/GSN/Context.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/SafeMath.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
pragma solidity ^0.5.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/ownership/Ownable.sol";
/// @title Factory Contract for creating Uniswap Market for Tokens
/// @author Manank Patni
/// @notice The contract creates a uniswap factory taking token as input and also add inital liquidity
/// @dev Interface for ERC20 Token

Hedera Composer Tutorial

Hedera provides a very accessible way for users to connect with and perform transactions on their favorite apps. This comes in the form of Composer, which is a browser extension of Hashing Systems. Composer provides users with a non-custodial crypto wallet from which users can easily manage their HBAR, making transactions, interacting with smart contracts, and buy Hashing Name Service domains, etc.

Note that it is currently available on only Google Chrome.

Composer also gives their developers an easy way to test their dapps on mainnet and testnet. They are making it a smooth experience to develop dapps on Hedera Platform.

You can learn more about how to get started with Composer here

Introduction

  1. What's new with the Metamask plugin
  • Permission System :- users are forced to consent to some truly excessive permissions
  • Plugin System :- important innovations are happening all around us, from scaling strategies, to new smart contract protocols, and many of these require interacting with a user’s accounts, and running a persistent script
  1. How this improves the extension