bitcoin-php
Bitcoin implementation in PHP
파일 탐색기
최종 버전 다운로드 (.zip)- Addresses.md
- Factory Classes.md
- Introduction.md
- Script.md
- Serialization.md
- Transaction.md
- Types.md
- release-notes-v1.0.0.md
- release-notes-v1.0.1.md
- rpc-tests.md
- 001_generate_private_key.php
- 002_private_key_from_hex.php
- 003_private_key_from_wif.php
- 004_public_key_from_hex.php
- 001_run_simple_custom_script.php
- 002_run_simple_hashlock_script.php
- 003_decoding_scripts.php
- 001_create_outpoint.php
- 002_create_txin.php
- 003_create_txout.php
- 004_create_tx.php
- 005_create_tx_from_hex.php
- 006_create_tx_txbuilder.php
- 007_sign_p2pkh_tx.php
- 008_sign_p2sh_1of2_multisig_tx.php
- 009_sign_p2wsh_2of2_multisig_tx.php
- 010_sign_p2sh_p2wsh_2of3_multisig_tx.php
- 011_verify_p2sh_p2wsh_2of3_multisig_tx.php
- addresstypes.php
- addresstypes.script.php
- bip32.php
- bip39.php
- decode.txout.proof.php
- decode_address.php
- multisig.old.php
- multisig.Zpub.php
- offlinetx.p2pkh.testnet.php
- offlinetx.p2sh.hex.php
- privatekey.php
- script.simple.php
- sighash.parse.php
- signedmessage.create.php
- signedmessage.verify.php
- size_debugger.php
- slip132.php
- transactionBuilder.php
- trezor.bip32.php
- trezor.ypub.php
- tx.fund.p2sh.multisig.php
- tx.fund.p2sh.p2wpkh.php
- tx.fund.p2sh.p2wsh.php
- tx.fund.p2wpkh.php
- tx.fund.p2wsh.php
- tx.sighash.single.bug.php
- tx.spend.p2sh.multisig.php
- tx.spend.p2sh.p2wpkh.php
- tx.spend.p2sh.p2wsh.php
- tx.spend.p2wpkh.php
- tx.spend.p2wsh.php
- zpub.create.php
- zpub.parse.php
- Address.php
- AddressCreator.php
- AddressInterface.php
- Base58Address.php
- Base58AddressInterface.php
- BaseAddressCreator.php
- Bech32AddressInterface.php
- PayToPubKeyHashAddress.php
- ScriptHashAddress.php
- SegwitAddress.php
- Block.php
- BlockFactory.php
- BlockHeader.php
- BlockHeaderFactory.php
- BlockHeaderInterface.php
- BlockInterface.php
- FilteredBlock.php
- MerkleRoot.php
- PartialMerkleTree.php
- BloomFilter.php
- BlockLocator.php
- Params.php
- ParamsInterface.php
- ProofOfWork.php
- CollectionInterface.php
- StaticBufferCollection.php
- StaticCollection.php
- EcAdapterInterface.php
- EcAdapter.php
- PrivateKey.php
- PublicKey.php
- PrivateKeySerializer.php
- PublicKeySerializer.php
- CompactSignatureSerializer.php
- DerSignatureSerializer.php
- CompactSignature.php
- CompactSignatureInterface.php
- Signature.php
- SignatureInterface.php
- EcAdapter.php
- PrivateKey.php
- PublicKey.php
- PrivateKeySerializer.php
- PublicKeySerializer.php
- CompactSignatureSerializer.php
- DerSignatureSerializer.php
- CompactSignature.php
- CompactSignatureInterface.php
- Signature.php
- SignatureInterface.php
- Key.php
- KeyInterface.php
- PrivateKeyInterface.php
- PublicKeyInterface.php
- PrivateKeySerializerInterface.php
- PublicKeySerializerInterface.php
- CompactSignatureSerializerInterface.php
- DerSignatureSerializerInterface.php
- CompactSignatureInterface.php
- SignatureInterface.php
- EcAdapterFactory.php
- EcSerializer.php
- Random.php
- RbgInterface.php
- Rfc6979.php
- Hash.php
- Base58ChecksumFailure.php
- Base58InvalidCharacter.php
- BlockPowError.php
- BlockPrevNotFound.php
- BuilderNoInputState.php
- DisallowedScriptDataFactoryException.php
- InvalidDerivationException.php
- InvalidHashLengthException.php
- InvalidNetworkParameter.php
- InvalidPrivateKey.php
- JsonRpcError.php
- MerkleTreeEmpty.php
- MissingBase58Prefix.php
- MissingBech32Prefix.php
- MissingBip32Prefix.php
- MissingNetworkParameter.php
- MissingScriptException.php
- NotImplementedException.php
- P2shScriptException.php
- RandomBytesFailure.php
- ScriptHashMismatch.php
- ScriptQualificationError.php
- ScriptRuntimeException.php
- ScriptStackException.php
- SignatureNotCanonical.php
- SignerException.php
- SquareRootException.php
- SuperfluousScriptData.php
- UnrecognizedAddressException.php
- UnsupportedScript.php
- WitnessScriptException.php
- GlobalPrefixConfig.php
- NetworkConfig.php
- ScriptPrefix.php
- PrefixRegistry.php
- Slip132.php
- ElectrumKey.php
- HierarchicalKey.php
- HierarchicalKeySequence.php
- MultisigHD.php
- ElectrumKeyFactory.php
- HierarchicalKeyFactory.php
- PrivateKeyFactory.php
- PublicKeyFactory.php
- P2shP2wshScriptDecorator.php
- P2shScriptDecorator.php
- P2wshScriptDecorator.php
- ScriptHashDecorator.php
- KeyToScriptDataFactory.php
- MultisigScriptDataFactory.php
- P2pkhScriptDataFactory.php
- P2pkScriptDataFactory.php
- P2wpkhScriptDataFactory.php
- KeyToScriptHelper.php
- ScriptAndSignData.php
- ScriptDataFactory.php
- Math.php
- MessageSigner.php
- SignedMessage.php
- EnglishWordList.php
- JapaneseWordList.php
- Bip39Mnemonic.php
- Bip39SeedGenerator.php
- Bip39WordListInterface.php
- EnglishWordList.php
- ElectrumMnemonic.php
- ElectrumWordListInterface.php
- MnemonicFactory.php
- MnemonicInterface.php
- WordList.php
- WordListInterface.php
- Bitcoin.php
- BitcoinRegtest.php
- BitcoinTestnet.php
- Dash.php
- DashTestnet.php
- Dogecoin.php
- DogecoinTestnet.php
- Litecoin.php
- LitecoinTestnet.php
- Viacoin.php
- ViacoinTestnet.php
- Zcash.php
- BitcoinRegistry.php
- BitcoinTestnetRegistry.php
- Network.php
- NetworkFactory.php
- NetworkInterface.php
- OutputClassifier.php
- OutputData.php
- BitcoinConsensusException.php
- BitcoinConsensus.php
- ConsensusInterface.php
- NativeConsensus.php
- OutputScriptFactory.php
- ScriptCreator.php
- Checker.php
- CheckerBase.php
- Interpreter.php
- InterpreterInterface.php
- Number.php
- Stack.php
- StackInterface.php
- Operation.php
- Parser.php
- BranchInterpreter.php
- LogicOpNode.php
- ParsedScript.php
- PathTracer.php
- ScriptBranch.php
- Multisig.php
- PayToPubkey.php
- PayToPubkeyHash.php
- FullyQualifiedScript.php
- functions.php
- Opcodes.php
- P2shScript.php
- Script.php
- ScriptFactory.php
- ScriptInterface.php
- ScriptType.php
- ScriptWitness.php
- ScriptWitnessInterface.php
- WitnessProgram.php
- WitnessScript.php
- BitcoindBlockSerializer.php
- BlockHeaderSerializer.php
- BlockSerializer.php
- BlockSerializerInterface.php
- FilteredBlockSerializer.php
- PartialMerkleTreeSerializer.php
- BloomFilterSerializer.php
- BlockLocatorSerializer.php
- Base58ExtendedKeySerializer.php
- ExtendedKeySerializer.php
- RawExtendedKeySerializer.php
- RawKeyParams.php
- WifPrivateKeySerializer.php
- SignedMessageSerializer.php
- ScriptWitnessSerializer.php
- TransactionSignatureSerializer.php
- OutPointSerializer.php
- OutPointSerializerInterface.php
- TransactionInputSerializer.php
- TransactionOutputSerializer.php
- TransactionSerializer.php
- TransactionSerializerInterface.php
- Types.php
- SignatureFactory.php
- SignatureSort.php
- SignatureSortInterface.php
- TransactionSignature.php
- TransactionSignatureFactory.php
- TransactionSignatureInterface.php
- Bip69.php
- CheckerCreator.php
- CheckerCreatorBase.php
- CheckLocktimeVerify.php
- CheckSequenceVerify.php
- Checksig.php
- Conditional.php
- InputSigner.php
- InputSignerInterface.php
- SignData.php
- Signer.php
- SigValues.php
- TimeLock.php
- TxBuilder.php
- AbstractCollectionMutator.php
- InputCollectionMutator.php
- InputMutator.php
- OutputCollectionMutator.php
- OutputMutator.php
- TxMutator.php
- WitnessCollectionMutator.php
- Hasher.php
- SigHash.php
- SigHashInterface.php
- TxSigHashSerializer.php
- V1Hasher.php
- OutPoint.php
- OutPointInterface.php
- Transaction.php
- TransactionFactory.php
- TransactionInput.php
- TransactionInputInterface.php
- TransactionInterface.php
- TransactionOutput.php
- TransactionOutputInterface.php
- IntRange.php
- Utxo.php
- UtxoInterface.php
- Amount.php
- Base58.php
- Bitcoin.php
- Locktime.php
- Serializable.php
- SerializableInterface.php
- Uri.php
- BitcoinConsensusStubs.php
- Secp256k1Stubs.php
- AddressTest.php
- BlockHeaderBip9Test.php
- BlockHeaderTest.php
- BlockTest.php
- FilteredBlockTest.php
- MerkleRootTest.php
- BloomFilterTest.php
- BlockLocatorTest.php
- DifficultyTest.php
- ParamsTest.php
- ProofOfWorkTest.php
- StaticCollectionImplTest.php
- CompactSignatureTest.php
- EcAdapterTest.php
- EcTest.php
- RandomTest.php
- HashTest.php
- server.crt
- server.csr
- server.key
- 10010bytes.hex
- 180blocks
- addresstests.json
- base58.encodedecode.json
- biginputtx.invalid.txt
- biginputtx.valid.txt
- bip32testvectors.json
- bip39.json
- bip69.bitcoinjs.json
- branch_test.json
- difficulty.json
- genesis.dat
- hash.pbkdf2.json
- hash.ripemd160.json
- hash.ripemd160d.json
- hash.sha1.json
- hash.sha256.json
- hash.sha256d.json
- hash.sha256ripe160.json
- haskoin.sigtests.json
- hmacdrbg.json
- outputclassifier.json
- pow
- privateKeys.json
- publickey.compressed.json
- publickey.pubkeyhash.json
- script.asm.json
- script.varint.json
- script_tests.json
- scriptinterpreter.simple.json
- sig_canonical.json
- sig_noncanonical.json
- signaturehash.hash.json
- signatures_blockchain.json
- signdata_fixtures.json
- signer_fixtures.json
- square_root_mod_p.json
- transaction_fixtures.json
- witness.json
- GlobalPrefixConfigTest.php
- NetworkConfigTest.php
- ScriptPrefixTest.php
- PrefixRegistryTest.php
- Slip132Test.php
- Bip44KeyAndAddressTest.php
- Bip49Test.php
- Bip84Test.php
- ElectrumKeyTest.php
- HierarchicalKeySequenceTest.php
- HierarchicalKeySignTest.php
- HierarchicalKeyTest.php
- MultisigHDTest.php
- NestedP2shP2wshScriptDecoratorTest.php
- P2shScriptDecoratorTest.php
- P2wshScriptDecoratorTest.php
- MultisigScriptDataFactoryTest.php
- P2pkhScriptDataFactoryTest.php
- P2pkScriptDataFactoryTest.php
- P2wpkhScriptDataFactoryTest.php
- ScriptAndSignDataTest.php
- PrivateKeyTest.php
- PublicKeyTest.php
- CompactIntegerTest.php
- EnglishWordListTest.php
- JapaneseWordListTest.php
- AbstractBip39Case.php
- Bip39MnemonicTest.php
- Bip39SeedGeneratorTest.php
- EnglishWordListTest.php
- ElectrumMnemonicTest.php
- MnemonicFactoryTest.php
- BitcoinRegtestTest.php
- BitcoinTest.php
- BitcoinTestnetTest.php
- DashTest.php
- DashTestnetTest.php
- DogecoinTest.php
- DogecoinTestnetTest.php
- LitecoinTest.php
- LitecoinTestnetTest.php
- ViacoinTest.php
- ViacoinTestnetTest.php
- BitcoinRegistryTest.php
- BitcoinTestnetRegistryTest.php
- Base58PrefixTest.php
- Bech32PrefixTest.php
- Bip32PrefixTest.php
- NetworkFactoryTest.php
- NetworkTest.php
- P2PMagicTest.php
- SignedMessageMagicTest.php
- BranchInterpreterTest.php
- LogicOpNodeTest.php
- ParsedScriptTest.php
- PathTracerTest.php
- OutputClassifierTest.php
- OutputScriptFactoryTest.php
- CheckerTest.php
- InterpreterTest.php
- NumberTest.php
- ScriptTest.php
- StackTest.php
- ParserTest.php
- MultisigTest.php
- PayToPubKeyHashTest.php
- PaytoPubkeyTest.php
- BitcoinConsensusTest.php
- ConsensusTest.php
- OpcodesTest.php
- P2shScriptTest.php
- ScriptCheckTestBase.php
- ScriptCountSigOpsTest.php
- ScriptFactoryTest.php
- ScriptTest.php
- ScriptTypeTest.php
- WitnessScriptTest.php
- BitcoindBlockSerializerTest.php
- BlockHeaderSerializerTest.php
- BlockSerializerTest.php
- PartialMerkleTreeSerializerTest.php
- ExtendedKeySerializerTest.php
- WifPrivateKeySerializerTest.php
- CompactSignatureSerializerTest.php
- DerSignatureSerializerTest.php
- OutpointSerializerTest.php
- TransactionInputSerializerTest.php
- TransactionSerializerTest.php
- SignatureTest.php
- TransactionSignatureTest.php
- SignedMessageTest.php
- Bip69Test.php
- CltvTest.php
- ComplexSignerTest.php
- CsvTest.php
- InputSignerTest.php
- SignDataTest.php
- SignerTest.php
- TxBuilderTest.php
- InputCollectionMutatorTest.php
- InputMutatorTest.php
- OutputCollectionMutatorTest.php
- OutputMutatorTest.php
- TxMutatorTest.php
- OutPointTest.php
- TransactionFactoryTest.php
- TransactionInputTest.php
- TransactionOutputTest.php
- TransactionTest.php
- UtxoTest.php
- AbstractTestCase.php
- AmountTest.php
- Base58Test.php
- BitcoinTest.php
- bootstrap.php
- LocktimeTest.php
- UriTest.php
- AbstractTestCase.php
- bootstrap.php
- CurlDriver.php
- RbfTransactionTest.php
- RegtestBitcoinFactory.php
- RpcCredential.php
- RpcServer.php
- ServerTest.php
- TransactionTest.php
- run_rpc_tests.sh
- run_secp256k1_tests.sh
- .gitattributes
- .gitignore
- .scrutinizer.yml
- .travis.yml
- BIPS.md
- composer.json
- CONTRIBUTING.md
- LICENCE
- Makefile
- phpstan.neon
- phpunit.rpc.xml
- phpunit.xml
- README.md
- validate_examples.sh
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/Bit-Wasp/bitcoin-php
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd bitcoin-php
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. PHP (Composer)
쉬움 추천사전 준비물
composer install
composer.json에 명시된 PHP 라이브러리를 설치합니다.
php -S localhost:8000 같은 내장 서버로 실행한 뒤 브라우저에서 http://localhost:8000 으로 접속해보세요.
3. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
