This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0xbC9656aDaa38D3e376c9E162352a6FbE9fB45A1c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://gist.github.com/kingassune/28014719f24877b073a338930124f060 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0x56082dA1902c68625DD8b3EF8B37413815F6Fe63 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0xbC9656aDaa38D3e376c9E162352a6FbE9fB45A1c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0xAcA4078413d11286f9045a41b45b648217fa0Cc6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.6; | |
| // Written By Dontrail Cotlage | |
| // | |
| contract SafeMath{ | |
| function safeMul(uint a, uint b) internal returns (uint) { | |
| uint c = a * b; | |
| assert(a == 0 || c / a == b); | |
| return c; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [program:geth] | |
| command=/usr/bin/geth --fast --cache=512 --testnet --rpc --rpcvhosts=* --rpcaddr 0.0.0.0 | |
| autostart=true | |
| autorestart=true | |
| stderr_logfile=/var/log/supervisor/geth.err.log | |
| stdout_logfile=/var/log/supervisor/geth.out.log | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| port = 8800 | |
| using_proxy = false | |
| access_control_allow_origin_header = "*" | |
| [bitcoin] | |
| master_public_key = "tpubDB4vUNLtdgrbGFezLmu2xj3jpeGMXTZ1NRCVrZH38DbmiSqkj1WrSUPq9sa3uzu1PAurfZsVqgMh4s8gmqc2gUxFoHwJmikxCwjZEez2jkx" | |
| rpc_server = "172.31.91.46:18332" | |
| rpc_user = "ternio" | |
| rpc_pass = "iamgod" | |
| testnet = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ubuntu@ip-172-31-91-46:~/.bitcoin/testnet3$ cat bitcoin.conf | |
| testnet=1 | |
| server=1 | |
| rpcuser=ternio | |
| rpcpassword=iamgod | |
| rpcallowip=172.31.22.9 | |
| rpcallowip=127.0.0.1 | |
| rpcbind=127.0.0.1:18332 | |
| ubuntu@ip-172-31-91-46:~/.bitcoin/testnet3$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ubuntu@ip-172-31-91-46:~$ cat bifrost.sql | |
| CREATE TYPE chain AS ENUM ('bitcoin', 'ethereum'); | |
| CREATE TABLE address_association ( | |
| chain chain NOT NULL, | |
| address_index bigint NOT NULL, | |
| /* bitcoin 34 characters */ | |
| /* ethereum 42 characters */ | |
| address varchar(42) NOT NULL UNIQUE, | |
| stellar_public_key varchar(56) NOT NULL UNIQUE, |
OlderNewer