Website 2.0 sitemap and content
More on this project here. New! Editorial Guidelines here.
Click here to ‘see’ the structure of this sitemap and content (i.e. without any styling).
Verifying that +jimscarver is my openname (Bitcoin username). https://onename.com/jimscarver |
### Keybase proof | |
I hereby claim: | |
* I am jimscarver on github. | |
* I am jimscarver (https://keybase.io/jimscarver) on keybase. | |
* I have a public key whose fingerprint is E837 62E5 0699 A10B F1D5 7563 0305 761F 4BC4 90ED | |
To claim this, I am signing this object: |
Website 2.0 sitemap and content
More on this project here. New! Editorial Guidelines here.
Click here to ‘see’ the structure of this sitemap and content (i.e. without any styling).
new makeKVStore, stdout(`rho:io:stdout`) in { | |
// User call to make a new key-value store | |
contract makeKVStore(return) = { | |
new storeCh, this in { | |
// Give back reference to the created KVstore | |
return!(*this) | |
new Node, ret1, ret2, ret3, ret4, ret5, stdout(`rho:io:stdout`) in { | |
// Rholang Abstract Graph Node Object having properties and links, a contract, super, and public key | |
// Nodes can be used for hierarchical directories with loops suitable for use with graphql | |
// node data is a map of maps | |
// TODO encryption, inheritance, typing | |
contract Node(@"new", // class method to create a new node | |
@super, // node to query for links not found in current nde | |
@propsMap, // property map of node attributes | |
@linkMap, // map of named links from node | |
@pubKey, // TODO encryption TBD |
/ Rholang Abstract Graph Node Object exposing properties and links, gaving an object wrapper, super, and public key | |
// Nodes can be used for hierarchical directories with loops suitable for use with graphql providing for user name spaces. | |
// simple Object capability wrapper proxy | |
// prevents direct access to object model channels | |
new Object, stdout(`rho:io:stdout`) in { | |
contract Object(class, @instance, ret) = { | |
new this in { | |
ret!(bundle+{*this}) | | |
//instance methods | |
contract this(@method, args) = { |
I hereby claim:
To claim this, I am signing this object:
<script> | |
const revBalance = addr => ` | |
new return, rl(\`rho:registry:lookup\`), RevVaultCh, vaultCh in { | |
rl!(\`rho:rchain:revVault\`, *RevVaultCh) | | |
for (@(_, RevVault) <- RevVaultCh) { | |
@RevVault!("findOrCreate", "${addr}", *vaultCh) | | |
for (@maybeVault <- vaultCh) { | |
match maybeVault { | |
(true, vault) => @vault!("balance", *return) | |
(false, err) => return!(err) |
new return(`rho:rchain:deployId`), lookup(`rho:registry:lookup`), ret, alicePurseCh, bobPurseCh, | |
initialAlicePurseBalanceCh, initialBobPurseBalanceCh,successCh, finalAlicePurseBalanceCh, | |
finalBobPurseBalanceCh, stdout(`rho:io:stdout`) in { | |
lookup!( `rho:id:rgd9xzheeo33tn765wjijox7kd7ciar4jr7qkq9g64n4qmdxxrd35m` , *ret) | | |
for (mint <- ret) { | |
stdout!("got mint") | | |
match (100000000, 1000) { | |
(aliceAmt, bobAmt) => { | |
stdout!("got init bals") | | |
// Alice's purse has maximum balance. |