Skip to content

Instantly share code, notes, and snippets.

View nnnkit's full-sized avatar
🎯
Focusing

Ankit nnnkit

🎯
Focusing
View GitHub Profile
@nnnkit
nnnkit / problems.md
Last active November 25, 2020 14:20
Codewars Collections

Create a fixed cap asset on Avalanche

  • Network Used: Fuji
  • Asset Name (NFT): Dongo (DONG)
  • Asset Id: AKsMEz39WENE7YxUfPPGMT3vh1MYHZiQ6T5X3hEt2tKpZQVEv
  • Account Address: X-fuji1k4z6laq6fulg60qwzlawc997uaek8cgudxwe3a

Transfer to another account:

Minted To: X-fuji19z4est4wr266z2sh8tx0axgjdjve0rrp7nw88s

@nnnkit
nnnkit / create-a-fixed-cap-asset.md
Created November 18, 2020 16:07
Create a Fixed-Cap Asset on Avalanche

Create a fixed cap asset on Avalanche

Network Used: Fuji Asset Name: X Bitcoin (BTX) Asset Id: PnDN4MWFk2vzbzEoa9VuMHuDiMgZ9HTySVrmQZi5eUiX6Z8Fv Account Address: X-fuji1k4z6laq6fulg60qwzlawc997uaek8cgudxwe3a Asset Balance: 9989600

Transfer to another account:

import React from 'react';
import ReactDOM from 'react-dom';
function Display(props) {
return (
<div>
<img width='100' src={props.avatar_url} alt={props.login} />
<ul>
<li>{props.location}</li>
<li>{props.name}</li>
function add(a,b){
return 21;
}
@nnnkit
nnnkit / async.js
Created January 15, 2019 04:40
Async-Await
const makeRequest = () =>
getJSON()
.then(data => {
console.log(data)
return "done"
})
makeRequest()
@nnnkit
nnnkit / webpack.config.js
Created January 5, 2019 10:42
Webpack Config For Code Splitting
const path = require("path");
const webpack = require("webpack");
const HTMLGen = require("html-webpack-plugin");
module.exports = {
mode: "development",
entry: "./src/index.js",
output: {
path: path.resolve(__dirname, "dist"),
filename: "[name].bundle.js",
@nnnkit
nnnkit / quiz.js
Created January 5, 2019 10:42
Webpack Config For Code Splitting
{
"info": {
"title": "Git Commands Level 1",
"description": "This quiz tests your basic knowledge of Git commands.",
"tags": ["git"]
},
"questions": [
{
"question": "Which command is used to check the state of your local repository since your last commit?",
"options": ["git check", "git status", "git commit", "git diff"],
@nnnkit
nnnkit / webpack.config.js
Created January 5, 2019 10:42
Webpack Config For Code Splitting
const path = require("path");
const webpack = require("webpack");
const HTMLGen = require("html-webpack-plugin");
module.exports = {
mode: "development",
entry: "./src/index.js",
output: {
path: path.resolve(__dirname, "dist"),
filename: "[name].bundle.js",
@nnnkit
nnnkit / webpack.config.js
Created January 5, 2019 10:42
Webpack Config For Code Splitting
const path = require("path");
const webpack = require("webpack");
const HTMLGen = require("html-webpack-plugin");
module.exports = {
mode: "development",
entry: "./src/index.js",
output: {
path: path.resolve(__dirname, "dist"),
filename: "[name].bundle.js",