PDF Publication Title:
Text from PDF Page: 026
1.3.3 Deploying the Example Thanks to the power of Webtasks16, deploying and using this code is a piece of cake. First clone the repository: git clone git@github.com:auth0-blog/ethereum-series-bitcoin-perpetual-message-example.git Now make sure you have the Webtask command-line tools installed: npm install -g wt-cli If you haven’t done so, initialize your Webtask credentials (this is a one time process): wt init Now deploy the project: cd ethereum-series-bitcoin-perpetual-message-example wt create --name bitcoin-perpetual-message \ --meta 'wt-node-dependencies={"bcryptjs":"2.4.3","bitcore-lib":"0.13.19",\ "bitcore-explorers-bitcore-lib-0.13.19":"1.0.1-3"}' app.js Your project is now ready to test! Use CURL to try it out: curl -X POST \ https://wt-sebastian_peyrott-auth0_com-0.run.webtask.io/bitcoin-perpetual-message/new \ -d '{ "id":"test:test", "testnet":true }' -H "Content-Type: application/json" {"address":"mopYghMw5i7rYiq5pfdrqFt4GvBus8G3no"} # This is your Bitcoin address You now have to add some funds to your new Bitcoin address. If you are on Bitcoin’s testnet, you can simply use a faucet17. Faucets are Bitcoin websites that give free coins to addresses. These are easy to get for the testnet. For the “livenet” you need to buy Bitcoins using a Bitcoin exchange18. Now send a message! curl -X POST \ https://wt-sebastian_peyrott-auth0_com-0.run.webtask.io/bitcoin-perpetual-message/message \ -d '{ "id":"test:test", "fee":667, "message":"test" }' -H "Content-Type: application/json" {"status":"Message sent!",\ "transactionId":"3818b4f03fbbf091d5b52edd0a58ee1f1834967693f5029e5112d36f5fdbf2f3"} Now you can look at the transaction19 using a blockchain explorer and the transaction id. If you go down to the bottom of the page in the link before you will see our message with a prefix WTMSG: test. This will get stored in the blockchain forever. 16 https://webtask.io 17 https://testnet.manu.backend.hamburg/faucet 18 https://en.wikipedia.org/wiki/Digital_currency_exchange 19 https://www.blocktrail.com/tBTC/tx/3818b4f03fbbf091d5b52edd0a58ee1f1834967693f5029e5112d36f5fdbf2f3 24PDF Image | Intro to Ethereum and Smart Contracts
PDF Search Title:
Intro to Ethereum and Smart ContractsOriginal File Name Searched:
intro-to-ethereum.pdfDIY PDF Search: Google It | Yahoo | Bing
NFT (Non Fungible Token): Buy our tech, design, development or system NFT and become part of our tech NFT network... More Info
IT XR Project Redstone NFT Available for Sale: NFT for high tech turbine design with one part 3D printed counter-rotating energy turbine. Be part of the future with this NFT. Can be bought and sold but only one design NFT exists. Royalties go to the developer (Infinity) to keep enhancing design and applications... More Info
Infinity Turbine IT XR Project Redstone Design: NFT for sale... NFT for high tech turbine design with one part 3D printed counter-rotating energy turbine. Includes all rights to this turbine design, including license for Fluid Handling Block I and II for the turbine assembly and housing. The NFT includes the blueprints (cad/cam), revenue streams, and all future development of the IT XR Project Redstone... More Info
Infinity Turbine ROT Radial Outflow Turbine 24 Design and Worldwide Rights: NFT for sale... NFT for the ROT 24 energy turbine. Be part of the future with this NFT. This design can be bought and sold but only one design NFT exists. You may manufacture the unit, or get the revenues from its sale from Infinity Turbine. Royalties go to the developer (Infinity) to keep enhancing design and applications... More Info
Infinity Supercritical CO2 10 Liter Extractor Design and Worldwide Rights: The Infinity Supercritical 10L CO2 extractor is for botanical oil extraction, which is rich in terpenes and can produce shelf ready full spectrum oil. With over 5 years of development, this industry leader mature extractor machine has been sold since 2015 and is part of many profitable businesses. The process can also be used for electrowinning, e-waste recycling, and lithium battery recycling, gold mining electronic wastes, precious metals. CO2 can also be used in a reverse fuel cell with nafion to make a gas-to-liquids fuel, such as methanol, ethanol and butanol or ethylene. Supercritical CO2 has also been used for treating nafion to make it more effective catalyst. This NFT is for the purchase of worldwide rights which includes the design. More Info
NFT (Non Fungible Token): Buy our tech, design, development or system NFT and become part of our tech NFT network... More Info
Infinity Turbine Products: Special for this month, any plans are $10,000 for complete Cad/Cam blueprints. License is for one build. Try before you buy a production license. May pay by Bitcoin or other Crypto. Products Page... More Info
CONTACT TEL: 608-238-6001 Email: greg@infinityturbine.com | RSS | AMP |