Seeking beta testers for a BTC-backed financial playground/tradenet for Python scripts. Using an Agent, scripts can transact and communicate publicly. The ServiceAgent simplifies offering paid services, or paying for services, to 5 lines of code or less, given only a seed, callable, name, and fee.
ServiceAgent TL;DR: Using the ServiceAgent, any Python callable can be used as a service. The developer only has to specify a seed for the ServiceAgent, reference the function, and give the service a name and a fee. The fee can be much less than a single satoshi. The ServiceAgent must also have netvend credit, but for now I'll provide credit for all interested developers. Netvend authenticates calls and responses behind the scenes by checking cryptographic signatures, and keeps a transparent, independently auditable history of all activity. If you'd like to try it out, download the Python netvend toolkit and follow along with the code samples below. At the moment this only works with Python 2.x. This is a beta service. It's an open beta, but the "beta" part means that you should not depend on it operating smoothly all the time. We may need to take the server down, or even wipe all the data and start from scratch. You've been warned. How do I fund my agent? For the time being, I'll simply fund your agent for you. Once you have your agent's address, PM it to me and I'll send it some credit through netvend. Alternatively, I've set up a sort of faucet agent, in case you don't want to wait for me to respond. See below, "getting credit from the faucet agent", to see how to get some. How do I use the ServiceAgent to offer a service? The best way to describe this is to jump right into the code. Let's say we want to rent out the service of adding 2 to any number for 1 mbit. A silly service, but keep in mind we could use any Python function, as long as its arguments and return values are json-encodable.
First, we define a function. Any function would work, as long as the arguments and return values are json-encodable. Then we create a ServiceAgent with a seed, and print its address. This agent would normally need to be funded through a netvend deposit, but like I said, I'll fund your agent for you for now. Just PM me the address once you've printed it. Note that $0.01 of BTC pays for thousands of interactions at the least. Then we register our function as a simple service, under the name "add two", and for a cost of 0.01 mBTC (converted to base netvend units (uSats)). Finally, we tell our agent to work. Until now, our agent hasn't needed to connect to netvend. Using a series of cryptographically signed netvend requests and commands, it will search for any new requests, use the add_two function to serve any "add two" requests, and post the results publicly to netvend. (This series of requests and commands is what netvend charges microfees for, and is the reason your agent must be funded before being used. By charging microfees for low-level commands, netvend allows developers to use a sort of tradenet backbone however they'd like.) Another script can request this service from anywhere on the Internet, as long as the seeded agent has even a very tiny amount (starting at about 0.05 satoshis, or 0.0000000005 btc) of netvend credit. The calling script must know the address of the serving agent, as well as the name and fee of the service, and the expected arguments:
We specify the service address, the name of the service ("add two"), arguments (), and the fee we'd like to send (0.01 mbtc). This script's ServiceAgent then signs its own series of requests and commands (this is what the 0.05 satoshis are for), first requesting the service, then fetching the response that our first script posts in response. The speed of the last line returning the result, of course, depends on how often the add_two service script checks for requests. The withdraw command is down (this is why I'm funding developers directly, myself), as I'm still halfway through an upgrade. But normally, you'd be able to simply use:
if service_agent.fetch_balance() > netvendtk.convert_value(1, 'mbtc', 'base'): service_agent.withdraw(netvendtk.convert_value(1, 'mbtc', 'base'), your_bitcoin_address)
This would withdraw 1 mBTC of credit into Bitcoin if your agent has that much. Any credit your agent makes could be withdrawn on an automatic schedule like this, or can be spent buying services from other agents and scripts. Testing it out with others: Once you get any kind of service running, please respond below with your address, service name, and argument expectations! Keep in mind that if you set an appropriate fee, your agent can earn enough credit to pay the netvend fees. Alternatively, if you'd like to try calling other services, check out the comments below to find some. For now, I have an example service running that simply takes a string argument, then returns a string containing the argument it was passed previously. It's running on address 1GbceejVDAShYRRXaT2TDdWjxpqbazwphm, under a service name "get last string", and takes a fee of 0. This means you'd access it like this:
sa = netvendtk.ServiceAgent('your super secret seed') to_send = raw_input("string to send: ") print sa.call("1GbceejVDAShYRRXaT2TDdWjxpqbazwphm", "get last string", [to_send], 0)
(Note that since my service is taking a fee of 0, it will eventually run out of netvend credit and die.) As I personally test out and see the kinds of services you guys set up, I'll keep a running list of them at the bottom of the post. Getting credit from the faucet agent: Use the following code to get credit from the 'chbs' agent to your own agent that uses a more secure seed:
import netvendtk #the 'correct horse battery staple' agent has credit already, meant for public use. chbs = netvendtk.Agent('correct horse battery staple') #using an Agent (not a ServiceAgent) because we're only using the low-level pulse command. #A ServiceAgent is just an Agent with some more methods, #so the next line could use an Agent or ServiceAgent. #either one will generate the same address and use the same netvend account. #you'll want to change this seed, as this is meant to be your own secure agent. my_agent = netvendtk.Agent('a super secret and suitably random seed') #this will be the public address for the keypair held in my_agent, #and is needed to receive pulses of credit. my_agent_address = my_agent.get_address() #now, send a pulse of credit from the chbs agent to your agent's address. #specify 10 satoshi, converted to the 'base' netvend unit (uSats). #Please don't be greedy! 10 satoshis will last you way longer than you'd think. chbs.pulse(my_agent_address, netvendtk.convert_value(10, 'satoshi', 'base'))
How does it work? All activity is facilitated via netvend, which charges microfees to pay for the infrastructure of the tradenet (this microfee structure is essential to a server that is neutral, dependable, and accessible at such a low level). All activity is cryptographically signed automatically by the api before being sent to netvend. This authenticates the command, so there's no need to send passwords. Netvend then stores all commands and signatures transparently, which makes the entire database independently auditable, in the same way the Bitcoin blockchain is. Because netvend is entirely transparent, all data uploaded is public. A developer who desires more privacy can use encryption to hide data. Do not use this tool for passing sensitive information, without encrypting data. The ServiceAgent is really just a complex wrapper around the Agent class, which accesses netvend through the lower-level post, pulse, and query commands. Using only these commands (which are simple but initially may seem counter-intuitive), a script using netvend is capable of much more than simply offering and paying for services. For example, by using the query command, the reputation of any agent can be researched through any valid SQL SELECT query--a very powerful research tool. Or you could search through the pulse history to see which services are most popular, or even where a given agent turns around and spends its profit. Or you could find out which strings were most-often passed to my earlier mentioned "get last string" service. Unlike the ServiceAgent, a fair understanding of netvend is needed to unlock the more powerful potential of the Agent's basic commands. Netvend is completely open-source (github). Please review, comment, and fork! If you're interested in an administrator role with netvend, please contact me. The next few steps: I have a long list of to-dos, but these are the first/most important items on the list. I'll work on whatever you guys see as most important, moving forward, and I'd be ecstatic to have help with any of these:
Get deposits and withdrawals back up and working again. These were working before, but a recent server code update has outdated them, and they need to be updated as well.
Add methods to ServiceAgent to faciliate posting and getting objects: something like ServiceAgent.post_object(name, object) and ServiceAgent.get_object(name, author=None). This could be used for an agent to post public cloud data, whether intended for public consumption or just for personal storage. It would also enable a script to reference the same data without re-posting it, which could cut down quite a bit on running netvend costs.
Modify ServiceAgent to support encrypted activity.
We have already worked a little bit on a social network that uses payment history (or, "pulse trails"/"pulsenet") to find and prioritize new content ("posts") based on the voluntary tips of agents the user has already approved. More about the concept here.
An audio/video/other streaming tool could be built that allows anyone to stream data to netvend, publicly. Because of the way netvend works, it will only cost the streamer pennies to upload, the users would pay their own microfees for downloading the content, and all activity would be pseudonymous and secure.
With netvend's built-in communication and transaction framework, a casual kickstarter tool could be developed. It would specialize in queries that analyzed the reputation of different agents, so the user could quickly judge the trustworthiness of a project, and easily donate micropennies or more.
A tool could be written that simplifies game data and command interaction, where a host script can host a game and accept game move commands from other scripts. This would allow an open-source MMO game, and allow open-source competition between game interfaces. This would only be suitable for slow-paced games, but still has some interesting potential.
The larger scope of the project: I've been working on netvend for a little over a year, and I'm now certain it's capable of amazing things. The ServiceAgent tool is my first attempt at exposing netvend such that it can be used without having to understanding netvend's counter-intuitive nature. If you're interested in working on the project at a lower level than through the ServiceAgent tool, or if you just have questions, email me at [email protected]. Existing ServiceAgent services: Name: "get last string" Address: 1GbceejVDAShYRRXaT2TDdWjxpqbazwphm Arguments: [new_string] Fee: 0 Serves requests every: 3s Description: just returns the string passed to it during the last call.
I believe Tradenet will be what Internet will grow into after we rethink all of the software stack and business models on top of a blockchain. Here is the beginning of the article I wrote on this subject. Here is a question: what does it mean to operate a business on-chain? An emergent global Tradenet, based on bitcoin technology, where trade of the planet's digitized assets is programmed by you, and trade fairness and compliance can be assured with minimal governance. The Bitcoin effect will go far beyond the restructuring of capital markets. It will change the way we do business, and will give birth to a global Tradenet. Tradenet will use freely exchangeable digital tokens/appcoins to create new business models. Companies will switch to operate on crypto ledger (on-chain) to coordinate activities and establish data sharing with partners, to provide automatic transparency to investors and to better support customers. On-chain operations will simplify value assessment for funding and audit, while decreasing the need for compliance and regulation. If algorithmic trading on capital markets is any indication, most trade activity will become automated. This will include the trade of physical goods and their digitized representations. It will include and transform existing trade activities like agreements, orders of goods and services, logistics and warehousing, production and quality control, time control and project management, invoices and payments, etc. As new tools emerge, anyone will be able to program the trade in Tradenet. Our startup Tradle is working on this.
Perhaps the most straightforward example of a post-Bitcoin service currently using Satoshi’s blockchain is Proof Of Existence. Created by Manuel Araoz, a 23-year-old developer in Argentina, the Denis Skrjabikov Trader at TradeNet Inc #investing #crypto #blockchain #bitcoin #ico #airdrop #bitcointalk London, United Kingdom 500+ connections Tradenet Review | My experience with Tradenet March 10, 2019 admin Strategy For Bitcoin 23 Here is my full and honest Tradenet review as I give you my experience with the course and if I would recommend it to anyone else. Download Bitcoin Wallet. Get it on PC or Mobile to create, send and receive bitcoins. Add Funds & Start Investment. Add bitcoins you’ve created or exchanged via credit card. Withdraw Your Profit. Request for withdrawal and receive it within 1day. Start trading The bitcoin blockchain is a live running record of all bitcoin transactions. The simplest way to understand what blockchain is by separating the word “block” from “chain”. So, imagine records of individual transactions like payments sent to or from one person to another getting listed or indexed one after another.
How To Earn Btc Without Investment 2020 50$ Payment Withdraw Proof New Btc Mining Site 2020
I tried to explain for beginners on Bitcoin vs Blockchain Private vs public blockchain Hyperledger vs Ethereum. Skip navigation Sign in. ... Live Tradenet Day Trading Room - 07/20/2020 ... Live Tradenet Day Trading Room - 07/16/2020 - Weekly Jobless Claims Meir Barak - Tradenet Day Trading Academy 1,269 watching Live now How I Turned $10,500 into $210,000 at 19 (in 90 days ... Live Tradenet Day Trading Room - 07/20/2020 - Earnings Season Continues Meir Barak - Tradenet Day Trading Academy 1,239 watching Live now # 1 MS Project 2019 Basics in 20 Minutes Easy - Duration ... Live Tradenet Day Trading Room - 07/09/2020 - Weekly Jobless Claims Meir Barak - Tradenet Day Trading Academy 814 watching Live now Arnold Schwarzenegger This Speech Broke The Internet AND Most ... Live Tradenet Day Trading Room - 07/15/2020 - Moderna (MRNA) Vaccine Meir Barak - Tradenet Day Trading Academy 1,007 watching Live now I Tried Creating A $100,000 Shopify Dropshipping Business In ...