Bitcoin Forum
November 10, 2024, 01:04:46 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 »
1  Alternate cryptocurrencies / Altcoin Discussion / patching stacks 2.0 framework layer 2 coin developers notes requires chainparams on: March 06, 2024, 03:59:44 AM
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

```







2  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Bitnet] -Hybrid and Multi-Chain Crypto that evolved into a full POW Blockchain on: January 23, 2024, 03:35:39 PM
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
3  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BIT] Bitnet | Witness the Growth of a Bitcoin Fork, Setting World Records! on: December 17, 2023, 01:57:46 AM
bump.
4  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BIT] Bitnet | Witness the Growth of a Bitcoin Fork, Setting World Records! on: December 12, 2023, 08:16:55 PM
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
5  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BIT] Bitnet | Witness the Growth of a Bitcoin Fork, Setting World Records! on: December 11, 2023, 10:37:08 PM
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
6  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BIT] Bitnet | Witness the Growth of a Bitcoin Fork, Setting World Records! on: December 11, 2023, 04:54:19 PM
on the website https://bitnet-io.org we are a sha256 coin like Bitcoin
7  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Bitnet] -Hybrid and Multi-Chain Crypto that evolved into a full POW Blockchain on: December 02, 2023, 08:26:36 AM
we just reached 0.0025 USD per 1 BIT
10,000 BIT is worth $25
100 BIT is worth 0.25 cents currently
8  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Bitnet] -Hybrid and Multi-Chain Crypto that evolved into a full POW Blockchain on: November 28, 2023, 06:53:36 PM
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
9  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Bitnet] -Hybrid and Multi-Chain Crypto that evolved into a full POW Blockchain on: November 28, 2023, 06:45:04 PM
"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
10  Economy / Lending / Re: Lending Service Started! (USDT/BTC/LTC/ETH/DOGE/ETC)! on: March 13, 2023, 01:58:52 AM
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





11  Alternate cryptocurrencies / Announcements (Altcoins) / Bitnet a new cryptocurrency a fork of Bitcoin 0.24 on: March 13, 2023, 01:14:48 AM
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 retargets difficulty every seven days (instead of 14 days bitcoin)

    blocks readjust every 10 minutes

exchange
   
     https://xeggex.com/market/BIT_USDT
12  Alternate cryptocurrencies / Altcoin Discussion / Re: Bitnet scrypt coin ***NEW COIN*** 02-08-2023 on: February 09, 2023, 04:53:32 PM
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
13  Alternate cryptocurrencies / Altcoin Discussion / Re: Bitnet scrypt coin ***NEW COIN*** 02-08-2023 on: February 09, 2023, 04:52:11 PM
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
14  Alternate cryptocurrencies / Altcoin Discussion / Bitnet scrypt coin ***NEW COIN*** 02-08-2023 on: February 09, 2023, 03:25:37 PM
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 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 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

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


15  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: RadioX exchange (fork of Bisq) on: September 20, 2021, 07:21:58 PM
Release for Android


https://github.com/c4pt000/radiocoin/releases/tag/android
16  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: RadioX exchange (fork of Bisq) on: September 15, 2021, 05:10:52 PM
"There's a lot of tutorial on how to use Git and Github on Mac, I guess you have to go and read or watch it in youtube."

probably even bigSur also

https://github.com/c4pt000/Docker-bigSur

hackint0sh or real world mac as long as JAVA 11 is installed,.
17  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: RadioX exchange (fork of Bisq) on: September 15, 2021, 12:04:26 AM

For the explorer
http://radioblockchain.info/

For some pools

(My pool based off of p2pool)
http://radiopool.me:9555/static/?Day

Another pool for Radiocoin
https://solopools.net/


Radiocoin discord
https://discord.gg/VqgVBKj5

Solopools.net discord
https://discord.gg/V22AuSe7kY

18  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: RadioX exchange (fork of Bisq) on: September 14, 2021, 11:59:05 PM
https://github.com/c4pt000/radiocoin

Use included datadir snapshot to bootstrap coin wallet from a zero starting point
19  Alternate cryptocurrencies / Marketplace (Altcoins) / RadioX exchange (fork of Bisq) on: September 14, 2021, 11:57:34 PM
https://github.com/c4pt000/radiox-exchange

Radiocoin (RADC) enabled trading with the market book

and BTC and other ALTs same as before for cash, bank, zelle etc

Lower maker taker (buying/selling) fees


20  Alternate cryptocurrencies / Announcements (Altcoins) / Re: RADIOCOIN *NEWCOIN* scrypt on: June 23, 2021, 12:05:32 PM
Is there future on this project? The ANN is not yet improved. What is actually the goal of the OP here? With thousands of alts out there, what will be the contribution of this coin to the community? Because if he has not strong motive to develop this coin, I don't think he lets other people to waste their resources on this coin. Just be transparent on his ambitions for this project.


an attempt for money aimed towards music artists, possible soundcloud money or other open source platforms for money with music, noise regulation for car radios
Pages: [1] 2 3 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!