Skip to content

Instantly share code, notes, and snippets.

@wanderingstan
Created August 7, 2018 23:24
Show Gist options
  • Save wanderingstan/3c7ce9461e5ea4fda92bd3609eea8eb2 to your computer and use it in GitHub Desktop.
Save wanderingstan/3c7ce9461e5ea4fda92bd3609eea8eb2 to your computer and use it in GitHub Desktop.
~/Origin/origin-box$ docker exec -ti origin-js /bin/bash
root@b527ebfeb84c:/app#
root@b527ebfeb84c:/app# ls
CONTRIBUTING.md README.md artifacts dist package-lock.json scripts test webpack.config.js
LICENSE RELEASE.md contracts node_modules package.json src v0.1_migration
root@b527ebfeb84c:/app# cd contracts/
root@b527ebfeb84c:/app/contracts# ls
build contracts migrations releases test truffle.js
root@b527ebfeb84c:/app/contracts# export RINKEBY_MNEMONIC="<REDACTED>"
root@b527ebfeb84c:/app/contracts# npx truffle migrate --network rinkeby
Compiling ./contracts/FractionalListing.sol...
Compiling ./contracts/Listing.sol...
Compiling ./contracts/ListingsRegistry.sol...
Compiling ./contracts/ListingsRegistryStorage.sol...
Compiling ./contracts/Migrations.sol...
Compiling ./contracts/Purchase.sol...
Compiling ./contracts/PurchaseLibrary.sol...
Compiling ./contracts/UnitListing.sol...
Compiling ./contracts/UserRegistry.sol...
Compiling ./contracts/identity/ClaimHolder.sol...
Compiling ./contracts/identity/ClaimHolderLibrary.sol...
Compiling ./contracts/identity/ClaimHolderPresigned.sol...
Compiling ./contracts/identity/ClaimHolderRegistered.sol...
Compiling ./contracts/identity/ClaimVerifier.sol...
Compiling ./contracts/identity/ERC725.sol...
Compiling ./contracts/identity/ERC735.sol...
Compiling ./contracts/identity/KeyHolder.sol...
Compiling ./contracts/identity/KeyHolderLibrary.sol...
Compiling ./contracts/identity/OriginIdentity.sol...
Writing artifacts to ./build/contracts
Using network 'rinkeby'.
Running migration: 1_initial_migration.js
Deploying Migrations...
... 0x841691b061748fa88b8b1b6cc95313db80faed23240e40572c5fce80055111f4
Migrations: 0x50945af445717052aca9ce81b7762804e83a3f89
Saving successful migration to network...
... 0xfa9f9b95a3c57df45a79c4546156061f8f51cf4d2f39f630c2d088cdd19431c2
Saving artifacts...
Running migration: 2_deploy_contracts.js
Running step...
Deploying PurchaseLibrary...
... 0x8cbb29718ad606e7be7b8568f8f76deba274aab2fee9e6b6c18bf7bc08a64b0c
PurchaseLibrary: 0x67057a6ddbc10d1c75a8812f770854f8627fc7b6
Linking PurchaseLibrary to ListingsRegistry
Linking PurchaseLibrary to UnitListing
Linking PurchaseLibrary to FractionalListing
Deploying ListingsRegistryStorage...
... 0x52f367453de3b405c665922216b6105ca13351a1654a097a9ba12fc7e32e4b0f
ListingsRegistryStorage: 0xbd93e0e14a55cd97802588f548639d7a4a6cec44
Deploying ListingsRegistry...
... 0xb075ea7cbb2d3062128d62b1676e79789874261caf85a53f0abefa532b68f671
ListingsRegistry: 0x66dc9c44e49f3fb275a3c63d02d78a819c58f458
Deploying UserRegistry...
... 0xb8e9c30691a01682496aacbf83a11f13d4fb1372455d8429e90b55849850365d
... 0xeec1ff1953152db19f58d664a7becea8ae4d63dc4caa5753eb5c670180a6d5bc
UserRegistry: 0x8ed1562d9ad4bcf2a291721c31ab12a96f094b2b
Deploying KeyHolderLibrary...
... 0xcf283212c8ca61c5eac711962a7ae347e82412e41907a39275a80afa53affb53
KeyHolderLibrary: 0xe1bf90c1fcac71cf718a3f239f71023b0f64281d
Linking KeyHolderLibrary to KeyHolder
Linking KeyHolderLibrary to ClaimHolderLibrary
Deploying ClaimHolderLibrary...
... 0x498e0a5b43d1d5c283e4c1d7f8e53e4471ea5e538adbfd08f81c8a38d23a33d9
ClaimHolderLibrary: 0x778d95d0c6db77a96385727db767a1e0dbed26f8
Linking ClaimHolderLibrary to ClaimHolder
Linking KeyHolderLibrary to ClaimHolder
Linking ClaimHolderLibrary to ClaimHolderRegistered
Linking KeyHolderLibrary to ClaimHolderRegistered
Linking ClaimHolderLibrary to ClaimHolderPresigned
Linking KeyHolderLibrary to ClaimHolderPresigned
Linking ClaimHolderLibrary to OriginIdentity
Linking KeyHolderLibrary to OriginIdentity
Deploying OriginIdentity...
... 0xe7bf2e646193d9f719b396f8546c507a681cda14ad28c4c532272a80ecbb4542
OriginIdentity: 0x6ea2f3b6dd7a751806e95ea7e2959f5085e18932
Saving successful migration to network...
... 0x22da40f7191192f7472eb496a2ff8946f1dfac543f8d34c62c676894747586bc
Saving artifacts...
Running migration: 3_create_sample_listings.js
Running step...
default_account: 0xff2ba846ab52edbd724a5ef674abf5a763849b61
a_seller_account: 0x3003f9dcfdc17e63cfe7023130b804829b369882
a_buyer_account: 0xc1d1510b22f8119c3186637198821c03f1dbb2be
another_buyer_account: 0x743e2d6dfc80dcae9c05511cdf8595fd3a6ef725
... 0x715c2a1ab5cdfa6f118df8ab65f1f05590c171b9774a40ab6e18966e97215651
... 0x1b1fee57b81d151b7062941731f6a398b348a04b54c80e74deec6480fcf4dcd7
... 0x754280e9f2f2290a58b5b50bbc3941e8a8c38e187066e961751ebb58aa774dec
... 0x2203e0fe0627c54317e39784e82a1e386e028f651978ee40b16fda4803220866
... 0x775425a106f198e53e043fd461fecd0964bc66390032fd35402bb474cdb15bc0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment