Skip to content

Commit 67bcc21

Browse files
authored
Merge pull request #44 from kilnfi/update-atom-rpc
update atom rpc
2 parents 34007a2 + 72cff52 commit 67bcc21

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

examples/atom.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const apiSecret = fs.readFileSync(__dirname + '/fireblocks_secret.key', 'utf8');
55

66
const f = async () => {
77
const k = new Kiln({
8-
testnet: true,
8+
testnet: false,
99
apiToken: 'kiln_dTkxUTFRdHBMZm9vNFFycFhDSTZCdlJsbjJZang5VnY6ZjF1SUw4d3R1ZDRxYUdreEwtV2sxcjdmbVFJYlhuMWFGUVduRjBkVFJscFdCaUc5bkV2WmpyTU9xb19pSjlsWg',
1010
integrations: [
1111
{
@@ -33,7 +33,7 @@ const f = async () => {
3333
// const signedTx = await k.atom.sign('vault1', tx);
3434
// const hash = await k.atom.broadcast(signedTx);
3535
// console.log(hash);
36-
const tx = await k.atom.getTxStatus('B0493A93397438DAD6D5641CBDE8CF43CC7424E6A322A2F5CD3C3B7DF02161E5');
36+
const tx = await k.atom.getTxStatus('D43C977E0A969B00CB79CFAC45F147C9C7DE5B6B735CFDA685EE3CFCE1DE5B33');
3737
console.log(tx);
3838
} catch (err){
3939
console.log(err);

src/services/atom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class AtomService extends Service {
3535

3636
constructor({ testnet, integrations, rpc }: InternalAtomConfig) {
3737
super({ testnet, integrations });
38-
const kilnRpc = this.testnet ? 'https://rpc.sentry-02.theta-testnet.polypore.xyz' : 'https://rpc.cosmos.network';
38+
const kilnRpc = this.testnet ? 'https://rpc.sentry-02.theta-testnet.polypore.xyz' : 'https://rpc.atomscan.com';
3939
this.rpc = rpc ?? kilnRpc;
4040
}
4141

src/types/rpcs.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export type Rpcs = {
2-
ethereum: string;
3-
solana: string;
4-
atom: string;
5-
near: string;
6-
dot: string;
2+
ethereum?: string;
3+
solana?: string;
4+
atom?: string;
5+
near?: string;
6+
dot?: string;
77
}

0 commit comments

Comments
 (0)