Skip to content

makevoid/counterparty_token_checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Counterparty Token Checker

Checks for available tokens from counterparty API, fill a words.txt wordlist with the token names you want to check!

Install:

gem install bundler
bundle

Usage:

open words.txt and put there all the words you want to check, separated by space, tab or newline (\n)

run

ruby counterparty_token_checker.rb

note: discards also words that starts with A, that are non-valid custom tokens

have fun!


You can achieve the same result with this curl command:

curl -s -X POST -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d '
  {
      "jsonrpc": "2.0",
      "id": 0,
      "method": "proxy_to_counterpartyd",
      "params": {
          "method": "get_issuances",
          "params": {
              "filters": {
                  "field": "asset",
                  "op": "==",
                  "value": "TOKEN"
              },
              "status": "valid"
          }
      }
  }' https://cw02.counterwallet.io/_api

You can see, in fact, my initial implementation, that was based on this snippet: https://github.com/makevoid/counterparty_token_checker/tree/055939b69b33dbc6b8869431bf3dd93f7a9cfd6f


Extra infos about token creation

How to register a Counterparty token, full process:

  • Create a Counterparty Wallet
  • Send some BTC in your wallet (a BTC fee of ~0.00025 btc, included tx costs, is needed for every token creation)
  • Go to Poloniex or to a similar exchange
  • Deposit some BTC, buy XCP (remember that every token you create costs 0.5XCP), withdraw them in Counterparty
  • In Counterparty do: Address Action > Create Token

About

Counterparty Tokens Availability Checker (via wordlist.txt)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages