Search content
Sort by

Showing 20 of 58 results by c4pt
Post
Topic
Board Bitcoin Discussion
Re: Bitcoin Core 27.0 Released
by
c4pt
on 19/05/2024, 20:00:27 UTC
Post
Topic
Board Altcoin Discussion
Topic OP
patching stacks 2.0 framework layer 2 coin developers notes requires chainparams
by
c4pt
on 06/03/2024, 03:59:44 UTC
https://github.com/bitnet-io/patching-stacks-frameworks-altcoin-guides


SOME NOTES FOR COIN DEVELOPERS CURIOUS ABOUT DEPLOYING A LAYER 2 STACKS FRAMEWORK FOR THEIR COIN

https://twitter.com/Bitnet_io/status/1765125241142186065
https://explorer.bitnft.io
https://bitnft.io
https://bitexplorer.io
https://bitnet-io.org
https://github.com/bitnet-io


# patching-stacks-frameworks-altcoin-guides
dh weinberg (c4pt000) Bitnet IO founder and main developer

for each project

stacks-blockchain-api
stacks-core-node
stack-explorer
stack.js

npm install --force
modules must always be patched manually......hunt them down and change them with your chainparams.cpp from your coin
hex is always 0x and decimal is always the bare number

nano node_modules/bitcoinjs-lib/src/networks.js
```
25 = B and 22 is the p2sh hash in decimal
adjust to your network
https://github.com/bitnet-io/bitnet-core/blob/main/src/chainparams.cpp#L176-L182

25 = 0x19 in hex
22 = 0x16 in hex
158 = 0x9e in hex

https://github.com/bitnet-io/bitcoinjs-lib/blob/master/src/networks.js#L5-L14

p2pkh
p2sh
wif
'bc'
```

nano node_modules/c32check/lib/address.js
```
25 = B and 22 is the p2sh hash in decimal
adjust to your network
https://github.com/bitnet-io/bitnet-core/blob/main/src/chainparams.cpp#L176-L182
25 = 0x19 in hex
22 = 0x16 in hex
158 = 0x9e in hex

export const versions = {
  mainnet: {
    p2pkh: 25, // 'P'
    p2sh: 22, // 'M'
  },
  testnet: {
    p2pkh: 26, // 'T'
    p2sh: 21, // 'N'
  },
};

// address conversion : bitcoin to stacks
const ADDR_BITCOIN_TO_STACKS: Record<number, number> = {};
ADDR_BITCOIN_TO_STACKS[25] = versions.mainnet.p2pkh;         // keep this as 0 when using c32check for stacks.js node_modules
ADDR_BITCOIN_TO_STACKS[22] = versions.mainnet.p2sh;          // keep this as 5 when using c32check for stacks.js node_modules
ADDR_BITCOIN_TO_STACKS[111] = versions.testnet.p2pkh;
ADDR_BITCOIN_TO_STACKS[196] = versions.testnet.p2sh;

// address conversion : stacks to bitcoin
const ADDR_STACKS_TO_BITCOIN: Record<number, number> = {};
ADDR_STACKS_TO_BITCOIN[versions.mainnet.p2pkh] = 25;         // keep this as 0 when using c32check for stacks.js node_modules
ADDR_STACKS_TO_BITCOIN[versions.mainnet.p2sh] = 22;          // keep this as 5 when using c32check for stacks.js node_modules
ADDR_STACKS_TO_BITCOIN[versions.testnet.p2pkh] = 111;
ADDR_STACKS_TO_BITCOIN[versions.testnet.p2sh] = 196;

let prefix = bitcoinVersion.toString(16);
  if (prefix.length === 1) {
    prefix = `25${prefix}`;
  }


```
nano node_modules/c32check/lib/encoding.js
```
https://github.com/bitnet-io/c32check/blob/master/src/encoding.ts#L55-L58

here \u0000 = 0x00 in hex for my network its \u0019 where 0x19 is 25 in decimal for legacy B

  const zeroPrefix = new TextDecoder().decode(hexToBytes(inputHex)).match(/^\u0000*/);
  const numLeadingZeroBytesInHex = zeroPrefix ? zeroPrefix[0].length : 0;


  const zeroPrefix = new TextDecoder().decode(hexToBytes(inputHex)).match(/^\u0019*/);
  const numLeadingZeroBytesInHex = zeroPrefix ? zeroPrefix[0].length : 0;



```
nano node_modules/@stacks/transactions/dist/constants.js and dist/esm/constants.js (both files)

https://github.com/bitnet-io/stacks.js/blob/main/packages/transactions/src/constants.ts#L160-L189

```
SerializeP2PKH = 0x00,
  /** `MultiSigHashMode` — hash160(multisig-redeem-script), same as bitcoin's multisig p2sh */
  SerializeP2SH = 0x01,


my network

SerializeP2PKH = 0x19,
  /** `MultiSigHashMode` — hash160(multisig-redeem-script), same as bitcoin's multisig p2sh */
  SerializeP2SH = 0x16,


export enum AddressVersion {
  /** `P` — A single-sig address for mainnet (starting with `SP`) */
  MainnetSingleSig = 22,
  /** `M` — A multi-sig address for mainnet (starting with `SM`) */
  MainnetMultiSig = 20,
  /** `T` — A single-sig address for testnet (starting with `ST`) */


my network

export enum AddressVersion {
  /** `P` — A single-sig address for mainnet (starting with `SP`) */
  MainnetSingleSig = 25,
  /** `M` — A multi-sig address for mainnet (starting with `SM`) */
  MainnetMultiSig = 22,
  /** `T` — A single-sig address for testnet (starting with `ST`) */


```


FOR LEATHER WALLET PATCHING HERE
```
npm install --force
modify the node_modules exactly the same way for
bitcoinjs-lib
bip32/src/bip32.js
c32check/address.js
c32check/encoding/js
@stacks/transactions/dist/constants.js
@stacks/transactions/dist/esm/constants.js
```

in the leather source code not the node_modules

nano shared/crypto/bitcoin/bitcoin.network.ts
```

my network bitnet-io

const bitcoinMainnet: BtcSignerNetwork = {
  bech32: 'bit',
  pubKeyHash: 0x19,
  scriptHash: 0x16,
  wif: 0x9e,
};
```
stacks address generator depends on @stacks/transactions/dist/constants.js and dist/esm/constants.js
also c32check/address.js and c32check/encoding.js
also bitcoinjs-lib/src/network.js

these files in leather wallet control and connect to your api
NANO ALL OF THEM AND SET YOUR CONSTANTS
```
shared/constants.ts:export const BITCOIN_API_BASE_URL_MAINNET = 'https://bitexplorer.io/api';
app/features/add-network/add-network.tsx:        setBitcoinUrl('https://bitexplorer.io/api');
app/features/add-network/add-network.tsx:        setBitcoinUrl('https://bitexplorer.io/signet/api');
app/features/add-network/add-network.tsx:        setBitcoinUrl('https://bitexplorer.io/testnet/api');
app/query/bitcoin/bitcoin-client.ts:    const resp = await axios.get(`https://bitexplorer.io/api/address/${address}/txs`);
app/query/bitcoin/ordinals/brc20/brc20-tokens.query.ts:         // const res = await axios.get(`http://bitexplorer.io:1717/fsck`);
app/query/bitcoin/ordinals/brc20/brc20-tokens.query.ts:         //  const res = await axios.get(`http://bitexplorer.io:1717/bit1p6r4nsxdnh4slwr6w9j6m0h64jnelldyh548spqy97e0gv5x4lxyqpvr9a8`);

┌─[root@nwstrtrj01]─[/home/c4pt/opt/leather-orig-6.26.1-STX-BITNET-lastworking-03-05-2024/src]
└──╼ #grep -ri "bitnft.io"
shared/constants.ts:export const HIRO_API_BASE_URL_MAINNET = 'https://bitnft.io';
shared/constants.ts:export const HIRO_INSCRIPTIONS_API_URL = 'https://bitnft.io/ordinals/v1/inscriptions';
app/features/add-network/add-network.tsx:        setStacksUrl('https://bitnft.io');
app/features/stacks-transaction-request/principal-value.tsx:      onClick={() => openInNewTab(`https://explorer.bitnft.io/address/${address}?chain=${mode}`)}
app/query/bitcoin/bitcoin-client.ts:      `https://bitnft.io/api/address/${address}/utxo`
app/query/bitcoin/ordinals/inscription.hooks.ts:  return `https://bitnft.io/inscription/${id}`;
app/query/bitcoin/ordinals/brc20/brc20-tokens.query.ts: const res = await axios.get(`https://bitnft.io/ordinals/v1/bit-20/tokens/${ticker}`);
app/query/bitcoin/ordinals/brc20/brc20-tokens.query.ts:  const res = await axios.get(`https://bitnft.io/ordinals/v1/bit-20/balances/${address}`);
app/common/utils.ts:  return `https://explorer.bitnft.io/txid/${txid}?chain=${mode}${suffix}`;

ALSO

grep -ri "'BTC'" and change those values to your symbol

also these file fetch prices from price apis
┌─[root@nwstrtrj01]─[/home/c4pt/opt/leather-orig-6.26.1-STX-BITNET-lastworking-03-05-2024/src]
└──╼ #ls -l app/query/common/market-data/vendors/
total 12
-rw-rw-r-- 1 root root 739 Mar  5 15:34 binance-market-data.query.ts
-rw-rw-r-- 1 root root 819 Mar  5 15:34 coincap-market-data.query.ts
-rw-rw-r-- 1 root root 871 Mar  5 15:34 coingecko-market-data.query.ts

```







Post
Topic
Board Announcements (Altcoins)
Re: [Bitnet] -Hybrid and Multi-Chain Crypto that evolved into a full POW Blockchain
by
c4pt
on 23/01/2024, 15:35:39 UTC
we plan to stay on sha256 indefinitely

YEA RIGHT WHAT HAPPENED? NOW THIS AURUM CRAP...

we decided to switch to CPU mining back in December basically to have more support from more users basically
we dont want to be dependent on ASICs anymore

you have to realize there are only 1,000,000 ASICs in circulation but there are over 3 billion computers worldwide that mine for BIT using their home computers

by switching to CPU mining we open our doors to many more people so that everyone can get involved

I am sorry if I did not update bitcointalk forums but I decided to update Bitcointalk by letting everyone know

we switched into CPU mining as of 01-13-2024 when we reached block height 125,000 basically

some of our pools are

https://bnomp.io

and

https://anomp.cc
Post
Topic
Board Announcements (Altcoins)
Re: [ANN][BIT] Bitnet | Witness the Growth of a Bitcoin Fork, Setting World Records!
by
c4pt
on 17/12/2023, 01:57:46 UTC
bump.
Post
Topic
Board Announcements (Altcoins)
Re: [ANN][BIT] Bitnet | Witness the Growth of a Bitcoin Fork, Setting World Records!
by
c4pt
on 12/12/2023, 20:16:55 UTC
one Bitnet block for 10,000 BIT is worth $20~ and we have only be an active coin for 8 months from March 1st 2023 to now
back when Bitcoin launched one block of BTC 50 BTC was worth $4.50

we have had faster financial growth then the original Bitcoin network
Post
Topic
Board Announcements (Altcoins)
Re: [ANN][BIT] Bitnet | Witness the Growth of a Bitcoin Fork, Setting World Records!
by
c4pt
on 11/12/2023, 22:37:08 UTC
shit coin and shit team. retarded dev.  a real dick

thats not very nice...you will regret it when we hit higher prices

I guess we cant win over everyone
Post
Topic
Board Announcements (Altcoins)
Re: [ANN][BIT] Bitnet | Witness the Growth of a Bitcoin Fork, Setting World Records!
by
c4pt
on 11/12/2023, 16:54:19 UTC
on the website https://bitnet-io.org we are a sha256 coin like Bitcoin
Post
Topic
Board Announcements (Altcoins)
Topic OP
BITNET IO IS BOOMING 0.0025 USD per 1 BIT
by
c4pt
on 02/12/2023, 08:28:28 UTC
Post
Topic
Board Announcements (Altcoins)
Re: [Bitnet] -Hybrid and Multi-Chain Crypto that evolved into a full POW Blockchain
by
c4pt
on 02/12/2023, 08:26:36 UTC
we just reached 0.0025 USD per 1 BIT
10,000 BIT is worth $25
100 BIT is worth 0.25 cents currently
Post
Topic
Board Announcements (Altcoins)
Re: [Bitnet] -Hybrid and Multi-Chain Crypto that evolved into a full POW Blockchain
by
c4pt
on 28/11/2023, 18:53:36 UTC
Was this released in February as a Scrypt coin? I have mined this back then.

It even uses the same ports. ;-)

Why did it move to sha256? I mined over 2,000 blocks! will you swap?



we plan to stay on sha256 indefinitely

we are at an all time high now of 0.0004~ USD per BIT on xeggex

we figure that if the price goes up to 0.004 USD per BIT it will continue to support miners at 100 BIT per block
Post
Topic
Board Announcements (Altcoins)
Re: [Bitnet] -Hybrid and Multi-Chain Crypto that evolved into a full POW Blockchain
by
c4pt
on 28/11/2023, 18:45:04 UTC
"Was this released in February as a Scrypt coin? I have mined this back then.

It even uses the same ports. ;-)

Why did it move to sha256? I mined over 2,000 blocks! will you swap?"

in the beginning we were going to base this off of litecoin as a scrypt based fork but we decided to use the bitcoin wallet as a framework instead we are sha256 meaning that we are compatible with any pre-existing sha256 technology for Bitcoin. Our coin is a richer coin that Bitcoin because we have 2,000,000,000 total supply and we started with 10,000 BIT per block. at block height 150,000 we plan to reduce our block rewards down to 100 BIT per block which will preserve the network for the next 25-30 years. Bitcoin cash which is also similar to bitcoin has a halving every 210,000 blocks and is currently down from 50 BCH to 6.25 BCH. This is not the case with Bitnet which will always supply a 100 BIT for a block reward and it will not go through halving
Post
Topic
Board Mining (Altcoins)
Topic OP
MINE FOR BITNET BEFORE THE 10,000 BIT BLOCKS RUN OUT
by
c4pt
on 08/10/2023, 01:28:59 UTC
please check     https://github.com/bitnet-io/bitnet-core/releases

sha256 based coin with 10,000 BIT per block reward


    bitnet coin explorer is live https://bitexplorer.io/

    03-01-2023 some pools to connect to

    https://www.mining-dutch.nl/pools/bitnet.php?page=dashboard

    03-01-2023 check the releases tab for binary updates

    https://bitnet-io.org

    https://github.com/bitnet-io/bitnet-core/releases

bitnet-core

Bitnet-Core based off of Bitcoin with improvements

discord
https://discord.gg/dqTsMuQGFx

    2,000,000,000 total supply (down from 100 B)

    network re-targets difficulty every seven days (instead of 14 days bitcoin)

    blocks readjust every 10 minutes

exchange
   
     https://xeggex.com/market/BIT_USDT
Post
Topic
Board Lending
Re: Lending Service Started! (USDT/BTC/LTC/ETH/DOGE/ETC)!
by
c4pt
on 13/03/2023, 01:58:52 UTC
hi I am just reposting this to *your* format for your liking

loan Amount: $250 USDT
Loan Purpose: Personal + exchange listing
Loan Repay Amount: $280 USDT
Loan Repay Date: April 1st $140, May 1st $140 = $280
Type of Collateral: None

USDT ERC-20 address

0xd4C43C61232B7a5bb14787F68eed707A2Efd8a81



i am listed on bitcointalk as a newbie but I have been with bitcointalk since 2011 I am a long time user

need $250 to get listed on xeggex exchange ($200 for the exchange and $50 for my own personal use)

we are a new cryptocurrency called Bitnet I am the main developer

I am a long time bitcoin-otc trader from 2012 all with verified trades and loan repayment



this is my trading history from #bitcoin-otc

https://bitcoin-otc.com/viewratingdetail.php?nick=c4pt&sign=ANY&type=RECV



for details about Bitnet you can see our explorer , project page and please stop by and join our discord server
we are currently listed on AtomicDEX and bitxonex.com exchange our coin has already reached 431 million difficulty and 3 Petahash
in the last several weeks of launching and we have a large audience already of users

https://github.com/bitnet-io/bitnet-core

https://bitexplorer.io

https://discord.gg/EY4aGVX7He





Post
Topic
Board Lending
Re: Lending Service Started! (USDT/BTC/LTC/ETH/DOGE/ETC)!
by
c4pt
on 13/03/2023, 01:30:36 UTC
hi shasan

I sent you a private message I hope that you have received it

i am listed on bitcointalk as a newbie but I have been with bitcointalk since 2011 I am a long time user

need $250 to get listed on xeggex exchange ($200 for the exchange and $50 for my own personal use)

we are a new cryptocurrency called Bitnet I am the main developer

I am a long time bitcoin-otc trader from 2012 all with verified trades and loan repayment

I am looking to borrow $250 and I will repay $280 by May 1st

$140 on April 1st and $140 on May 1st

if this is possible can you please send $250 to this USDT ERC-20 address

0xd4C43C61232B7a5bb14787F68eed707A2Efd8a81


this is my trading history from #bitcoin-otc

https://bitcoin-otc.com/viewratingdetail.php?nick=c4pt&sign=ANY&type=RECV



for details about Bitnet you can see our explorer , project page and please stop by and join our discord server
we are currently listed on AtomicDEX and bitxonex.com exchange our coin has already reached 431 million difficulty and 3 Petahash
in the last several weeks of launching and we have a large audience already of users

https://github.com/bitnet-io/bitnet-core

https://bitexplorer.io

https://discord.gg/EY4aGVX7He
Post
Topic
Board Announcements (Altcoins)
Topic OP
Bitnet a new cryptocurrency a fork of Bitcoin 0.24
by
c4pt
on 13/03/2023, 01:14:48 UTC
please check     https://github.com/bitnet-io/bitnet-core/releases

sha256 based coin with 10,000 BIT per block reward


    bitnet coin explorer is live https://bitexplorer.io/

    02-08-2023 some pools to connect to

    https://mining4people.com/pool/bitnet-pplns

    https://zeusminingpool.com/

    02-05-2023 check the releases tab for binary updates

    https://github.com/bitnet-io/bitnet-core/releases

bitnet-core

Bitnet-Core based off of radiocoin with improvements

discord
https://discord.gg/EY4aGVX7He

    2,000,000,000 total supply (down from 100 B)

    network retargets difficulty every seven days (instead of 14 days bitcoin)

    blocks readjust every 10 minutes
Post
Topic
Board Altcoin Discussion
Topic OP
Bitnet a new cryptocurrency a fork of Bitcoin 0.24
by
c4pt
on 13/03/2023, 01:12:41 UTC
please check     https://github.com/bitnet-io/bitnet-core/releases

sha256 based coin with 10,000 BIT per block reward


    bitnet coin explorer is live https://bitexplorer.io/

    02-08-2023 some pools to connect to

    https://mining4people.com/pool/bitnet-pplns

    https://zeusminingpool.com/

    02-05-2023 check the releases tab for binary updates

    https://github.com/bitnet-io/bitnet-core/releases

bitnet-core

Bitnet-Core based off of radiocoin and bitcoin with improvements

    2,000,000,000 total supply (down from 100 B)

    network retargets difficulty every seven days (instead of 14 days bitcoin)

    blocks readjust every 10 minutes
Post
Topic
Board Altcoin Discussion
Re: Bitnet scrypt coin ***NEW COIN*** 02-08-2023
by
c4pt
on 09/02/2023, 16:53:32 UTC
the paper wallet looks good on paper if you print it up with some Bitnet coins as an offline paper wallet
it just looks blown out of proportion from the image being scaled up
it actually is the same size as a $100 US bill on paper printed on cotton crest paper it looks great
Post
Topic
Board Altcoin Discussion
Re: Bitnet scrypt coin ***NEW COIN*** 02-08-2023
by
c4pt
on 09/02/2023, 16:52:11 UTC
we have several thousand people in the last 24 hours interested in the coin and over a hundred people mining the coin actively

" Especially when you have mined ~1000 blocks by yourself"

Bitnet is the rebranding of Radiocoin, .... Radiocoin was running for about a year with no exchange and had over 10,000 users and 300,000 blocks
Post
Topic
Board Altcoin Discussion
Topic OP
Bitnet scrypt coin ***NEW COIN*** 02-08-2023
by
c4pt
on 09/02/2023, 15:25:37 UTC

please check     https://github.com/bitnet-io/bitnet-core/releases

SCRYPT based coin with 10,000 BIT per block reward


    bitnet coin explorer is live http://bitexplorer.io/

    02-08-2023 some pools to connect to

    https://mining4people.com/pool/bitnet-pplns

    https://zeusminingpool.com/

    02-05-2023 check the releases tab for binary updates

    https://github.com/bitnet-io/bitnet-core/releases

bitnet-core

Bitnet-Core based off of radiocoin with improvements

    2,000,000,000 total supply (down from 100 B)

    network retargets difficulty every seven days (instead of 14 days bitcoin)

    blocks readjust every 10 minutes

    paper wallet to backup funds check core image of paper wallet offline backup below

https://raw.githubusercontent.com/bitnet-io/bitnet-core/main/src/qt/res/icons/paper_wallet.png
Post
Topic
Board Marketplace (Altcoins)
Re: RadioX exchange (fork of Bisq)
by
c4pt
on 20/09/2021, 19:21:58 UTC