Skip to content

Instantly share code, notes, and snippets.

@bLd75
bLd75 / tokyo.json
Created March 6, 2024 12:00
Tokyo chain specs
This file has been truncated, but you can view the full file.
{
"name": "Tokyo",
"id": "paseo",
"chainType": "Live",
"bootNodes": [
"/ip4/51.91.105.142/tcp/30333/ws/p2p/12D3KooWLSN6kpEN6Y4gS9SibZwYXAA4mY9tw4JudyoReXzdEmYx",
"/ip4/78.31.71.230/tcp/30333/ws/p2p/12D3KooWCzkHcPvH1moqKAffKQAc7tADzpfR3s32GYx6QubXuVT1",
"/ip4/65.108.46.114/tcp/30333/ws/p2p/12D3KooWGmSNtNJPbcyxrbwb8i6cS5vuJvDiJdXqpXkMqXXrGkgX",
"/dns/tokyo-bootnode-01.astar.network/tcp/443/wss/p2p/12D3KooWLSN6kpEN6Y4gS9SibZwYXAA4mY9tw4JudyoReXzdEmYx",
"/dns/tokyo-bootnode-02.astar.network/tcp/443/wss/p2p/12D3KooWCzkHcPvH1moqKAffKQAc7tADzpfR3s32GYx6QubXuVT1",
require('dotenv').config();
const fs = require('fs');
const readline =require('readline');
const {TwitterApi} = require('twitter-api-v2');
const { TwitterApiV2Settings } = require('twitter-api-v2');
const { ApiPromise, WsProvider } = require('@polkadot/api');
const csv = require('jquery-csv');
TwitterApiV2Settings.debug = true;
const client = new TwitterApi({
// Fetch the replies of a tweet
const needle = require('needle');
require('dotenv').config();
const url = `https://api.twitter.com/2/tweets/search/recent`;
// Need to have Twitter bearer token
const bearerToken = process.env.BEARER_TOKEN;
const addrLength = 49;
// Required imports
const { ApiPromise, WsProvider } = require('@polkadot/api');
const { Keyring } = require('@polkadot/keyring');
const { cryptoWaitReady, decodeAddress, checkAddress, signatureVerify } = require('@polkadot/util-crypto');
const { types } = require('@open-web3/orml-type-definitions');
const fs = require('fs');
async function main () {
//variables
// Required imports
const { ApiPromise, WsProvider } = require('@polkadot/api');
const { Keyring } = require('@polkadot/keyring');
const { decodeAddress } = require('@polkadot/util-crypto');
const fs = require('fs');
const prompt = require('prompt');
async function main () {
// Initialise the provider to connect to the node
@bLd75
bLd75 / gist:da95a8c51716fa4e23807fc35fb9f68d
Created March 12, 2023 18:28
polkadot-bldnodes - discarding proposal context
2023-03-12T20:47:30+04:00 2023-03-12 16:47:30 💤 Idle (40 peers), best: #14616243 (0xd628…1704), finalized #14616241 (0x479b…ceaf), ⬇ 855.2kiB/s ⬆ 836.3kiB/s
2023-03-12T20:47:34+04:00 2023-03-12 16:47:34 ✨ Imported #14616244 (0xac45…d383)
2023-03-12T20:47:35+04:00 2023-03-12 16:47:35 💤 Idle (40 peers), best: #14616244 (0xac45…d383), finalized #14616241 (0x479b…ceaf), ⬇ 1.3MiB/s ⬆ 1.2MiB/s
2023-03-12T20:47:40+04:00 2023-03-12 16:47:40 💤 Idle (40 peers), best: #14616244 (0xac45…d383), finalized #14616241 (0x479b…ceaf), ⬇ 1.6MiB/s ⬆ 1.3MiB/s
2023-03-12T20:47:45+04:00 2023-03-12 16:47:45 💤 Idle (40 peers), best: #14616244 (0xac45…d383), finalized #14616242 (0xf18c…eb02), ⬇ 780.7kiB/s ⬆ 1.0MiB/s
2023-03-12T20:47:46+04:00 2023-03-12 16:47:46 ✨ Imported #14616245 (0xa880…794d)
2023-03-12T20:47:50+04:00 2023-03-12 16:47:50 💤 Idle (40 peers), best: #14616245 (0xa880…794d), finalized #14616242 (0xf18c…eb02), ⬇ 974.0kiB/s ⬆ 1.1MiB/s
2023-03-12T20:47:55+04:00 2023-03-12 16:47:55 💤 Idle (40 peers), best: #14616245 (0xa880…
@bLd75
bLd75 / MyCryptoProfile.md
Created November 6, 2022 09:08
MyCryptoProfile.md

Linking my account bLd75 on GitHub with my address 5C5iy1aK49mbgR2s6AcDzX7Gt1KwgocmmpfbpqpXs7hwGEdC on Substrate in mycryptoprofile.io, and the challenge code is: d8fc463df662c84bc44e3d32bdf3b205. #LitentryVerifyMyAddress

### Keybase proof
I hereby claim:
* I am bld75 on github.
* I am bld759 (https://keybase.io/bld759) on keybase.
* I have a public key ASCTgdXdIwWHwYepqEZG85gd7ZaXII1tzEXifYsv29FIxQo
To claim this, I am signing this object:
@bLd75
bLd75 / ShidenGM_20220913.txt
Last active September 14, 2022 08:19
Shiden sends GM to OGs
Connected to chain GM Parachain with address gMYSDNsd5RLockDooxYNEZBNTz2ACjhDiS8cMo2JFTbV5yqsd
sending GM to gMWdQNeErwg3EtouKkLhqUxjPJrKEiadzrcJZXcmaLdsTyuPV hell yeah!
sending GM to gMZFoj8q1BzTSdSXiECiNqwNZQ144gomH4ZSV9XgfNEHA3zBf hell yeah!
sending GM to gMXiQCMi7Tqh3pnc8wdqXTRKRFA6X4rvcZE1kzJUfaKLgmSaG hell yeah!
sending GM to gMZmJqcti5W4MgF526fRLVvbP9Z5qX5mDEQyhzqfYV1Ma3jye hell yeah!
sending GM to gMVBJTRfuvhr76jY6HoY8HiNdGpYmsEp2Gpe4cCxSB3sgXte5 hell yeah!
sending GM to gMU4ZtPepLrrUAChEDECi55wRr9Y3XM1mCUfyft6CRqDvRnqX hell yeah!
sending GM to gMUqTbKdYi8s6RwDdgMTBVdN2xwi4QzVWtj4KMTTSJ72t2VAY hell yeah!
sending GM to gMVowHyY4oHTeJJ9goK3S7ZvxwAy3RPWLmbkkZhmw1W64aTWz hell yeah!
sending GM to gMUEJ4bcxzSmpwY1dUiDDMEGYJwG3xiypB8bf9wKAsLWcEJ1C hell yeah!